Re: [fedora-virt] Routing to guests
by Robert Thiem
> From: Philip Rhoades
> I can ssh from/to the host/guest OK but how do I set up a route (or
> whatever is necessary) so that another machine:
> eth0: 192.168.0.12
> can ssh to the guest? - "ssh 192.168.122.68" gives "no route to host" -
> http://docs.fedoraproject.org/virtualization-guide/f12/en-US/html/ but
> the problem does not seem to be covered there.
Alexander is correct in saying that bridging would allow you to do that.
There are two networking discussed in the guide.
The first is a NAT (network address translation), in which the guests are
given "private" ip addresses and any outbound traffic appears to be coming
from the host machine's IP address. This is the same as the setup on your
ADSL router where the internal network machines get addresses of
192.168.x.x but the internet sees your requests as coming from the IP
address of your router.
There should be lots of documentation in linux firewalling guides under
sections on NAT (or possibly called IP Masquerading in some). Have a look
at these for information on port forwarding to reveal services
inside the virtual (such as ssh).
The other option is bridging. This shares the physical network interface
of the host with the guest. In this case the VM acts as though it's a
machine plugged into the same subnet as the host, its services are
accessible like those of the host and it's as vulnerable to attack as the
host.
Robert
12 years, 4 months
virt-preview for Fedora 15 users back in sync
by Justin Forbes
For those of you using the virt-preview repository for Fedora 15,
binutils was updated, which allowed me to build seabios and put the rest
of the stack in sync. You should notice updates on most packages today,
and things will stay in sync with F16 moving forward.
For those of you not using virt-preview, who might want to run the
latest/greatest virt stack from Fedora 16 on a Fedora 15 host,
instructions are located at:
https://fedoraproject.org/wiki/Virtualization_Preview_Repository
Thanks,
Justin
12 years, 8 months
CentOS 6 install via virt-install - "No usable disks have been found."
by Bill McGonigle
Hi, all,
I'm not seeing disks under CentOS 6 when trying to install. I'm using:
xen-4.0.2-1.fc14.x86_64
2.6.32.39-175.xendom0.fc13.x86_64
installing using:
virt-install --debug -n sully --mac=02:00:0A:01:01:10 -f
/var/lib/xen/images/sully -s 12 -r 2048 --vcpus=2 --nographics -p
--os-type=linux --os-variant=rhel6 --location
http://librescu.bfccomputing.com/cobbler/ks_mirror/centos6-x86_64/
It sounded like:
https://bugzilla.redhat.com/show_bug.cgi?id=678374
so I tried dropping the --nonsparse option, but I'm using a newer
version of python-virtinstall:
python-virtinst-0.500.6-1.fc14.noarch
than should be required, and I'm seeing this with and with the option
anyway.
I do see the disk image is created, and attached to the DomU. e.g.:
[2011-07-26 01:01:47 18534] DEBUG (DevController:97) DevController:
writing {'domain': 'sully', 'frontend':
'/local/domain/18/device/vbd/51712', 'uuid':
'3380cea8-a322-292d-cc5d-8bb084306976', 'bootable': '1', 'dev': 'xvda',
'state': '1', 'params': 'aio:/var/lib/xen/images/sully', 'mode': 'w',
'online': '1', 'frontend-id': '18', 'type': 'tap'} to
/local/domain/0/backend/tap/18/51712.
and I can see the disk image if I dump configuration from virsh.
I do see this in the DomU kernel messages:
XENBUS: Device with no driver: device/vbd/51712
XENBUS: Device with no driver: device/vif/0
XENBUS: Device with no driver: device/console/0
but I see reports online that say not to worry about those, initrd will
load the modules.
The initrd does have:
./kernel/drivers/xen
./kernel/drivers/xen/xenfs
./kernel/drivers/net/xen-netfront.ko.gz
./kernel/drivers/block/xen-blkfront.ko.gz
on it.
I tried adding:
xen_emul_unplug=never
to the kernel parameters per a previous thread here, but that didn't
seem to change anything.
It seems like others are having success with CentOS 6 in general:
http://grantmcwilliams.com/tech/virtualization/xen-howtos/538-centos-6-vi...
so I suspect it's got something to do with Xen 4.0.2, but I'm not sure
where to look right now.
Any suggestions?
-Bill
--
Bill McGonigle, Owner
BFC Computing, LLC
http://bfccomputing.com/
Telephone: +1.855.SW.LIBRE
Email, IM, VOIP: bill(a)bfccomputing.com
VCard: http://bfccomputing.com/vcard/bill.vcf
Social networks: bill_mcgonigle/bill.mcgonigle
12 years, 9 months
ANNOUNCE: virt-manager 0.9.0 and virtinst 0.600.0 released
by Cole Robinson
I'm happy to announce two new releases:
virt-manager 0.9.0: virt-manager is a desktop application for managing
KVM and Xen virtual machines via libvirt.
virtinst 0.600.0: virtinst is a collection of command line tools for
provisioning libvirt virtual machines, including virt-install and
virt-clone.
The releases can be downloaded from:
http://virt-manager.org/download.html
The direct download links are:
http://virt-manager.org/download/sources/virt-manager/virt-manager-0.9.0....
http://virt-manager.org/download/sources/virtinst/virtinst-0.600.0.tar.gz
The virt-manager release includes:
- Use a hiding toolbar for fullscreen mode
- Use libguestfs to show guest packagelist and more (Richard W.M. Jones)
- Basic 'New VM' wizard support for LXC guests
- Remote serial console access (with latest libvirt)
- Remote URL guest installs (with latest libvirt)
- Add Hardware: Support <filesystem> devices
- Add Hardware: Support <smartcard> devices (Marc-André Lureau)
- Enable direct interface selection for qemu/kvm (Gerhard Stenzel)
- Allow viewing and changing disk serial number
The virtinst release includes:
- virt-install: Various improvements to enable LXC/container guests:
- New --filesystem option for <filesystem> devices
- New --init option for container <init> path
- New --container option (similar to --paravirt or --hvm)
- virt-install: Make --location remotely (with latest libvirt)
- virt-install: New --smartcard option for <smartcard> devices
(Marc-André Lureau)
- virt-install: New --numatune option for building guest <numatune> XML
- virt-install: option to set --disk error_policy=
- virt-install: option to set --disk serial=
Thanks to everyone who has contributed to this release through testing,
bug reporting, submitting patches, and otherwise sending in feedback!
Thanks,
Cole
12 years, 9 months
Re: [fedora-virt] virt-preview for Fedora 15 users back in sync
by Gianluca Cecchi
Hello,
testing today, starting from an updated f15 with working virt-manager
and fellows and running
yum update
I got these without any error:
Jul 29 10:04:47 Updated: netcf-libs-0.1.8-1.fc15.x86_64
Jul 29 10:04:51 Updated: libvirt-client-0.9.3-2.fc15.x86_64
Jul 29 10:04:52 Updated: libvirt-python-0.9.3-2.fc15.x86_64
Jul 29 10:04:53 Updated: python-virtinst-0.600.0-1.fc15.noarch
Jul 29 10:04:54 Installed: virt-manager-common-0.9.0-3.fc15.noarch
Jul 29 10:04:54 Updated: seabios-bin-0.6.2-2.fc15.noarch
Jul 29 10:04:55 Installed: 1:python-libguestfs-1.10.5-1.fc15.x86_64
Jul 29 10:04:55 Updated: 2:qemu-img-0.15.0-0.2.20110718525e3df.fc15.x86_64
Jul 29 10:04:57 Updated: 2:qemu-common-0.15.0-0.2.20110718525e3df.fc15.x86_64
Jul 29 10:04:58 Updated: spice-server-0.9.0-1.fc15.x86_64
Jul 29 10:05:01 Updated:
2:qemu-system-x86-0.15.0-0.2.20110718525e3df.fc15.x86_64
Jul 29 10:05:01 Updated: 2:qemu-kvm-0.15.0-0.2.20110718525e3df.fc15.x86_64
Jul 29 10:05:03 Updated: libvirt-0.9.3-2.fc15.x86_64
Jul 29 10:05:06 Updated: virt-manager-0.9.0-3.fc15.noarch
Jul 29 10:05:06 Updated: spice-client-0.9.0-1.fc15.x86_64
Jul 29 10:05:07 Updated: 2:qemu-kvm-tools-0.15.0-0.2.20110718525e3df.fc15.x86_64
Jul 29 10:05:55 Installed: python-newt_syrup-0.1.1-2.fc15.noarch
Jul 29 10:05:56 Installed: virt-manager-tui-0.9.0-3.fc15.noarch
Then after reboot i noticed these problems:
- virt-manager icon not correct. It resembles the typical icon of
windows .exe files
- running virt-manager I got the window but only with the line
localhost (QEMU)
and unable to click in any part of it (menu, localhost line, ecc..)
- in .virt-manager/virt-manager.log
[Fri, 29 Jul 2011 10:17:27 virt-manager 2906] DEBUG (error:80) dialog
message: Error polling connection 'qemu:///system': internal error
Cannot find suitable emulator for x86_64 : Error polling connection
'qemu:///system': internal error Cannot find suitable emulator for
x86_64
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 440, in _tick
conn.tick()
File "/usr/share/virt-manager/virtManager/connection.py", line 1414, in tick
newNets, self.nets) = self._update_nets()
File "/usr/share/virt-manager/virtManager/connection.py", line 1277,
in _update_nets
lookup_func, build_class)
File "/usr/share/virt-manager/virtManager/connection.py", line 1209,
in _poll_helper
if not check_support():
File "/usr/share/virt-manager/virtManager/connection.py", line 501,
in is_network_capable
virtinst.support.SUPPORT_CONN_NETWORK)
File "/usr/lib/python2.7/site-packages/virtinst/support.py", line
574, in check_conn_support
return _check_support(conn, feature, conn)
File "/usr/lib/python2.7/site-packages/virtinst/support.py", line
443, in _check_support
actual_drv_ver = _hv_ver(conn, uri)
File "/usr/lib/python2.7/site-packages/virtinst/support.py", line
376, in _hv_ver
ret = cmd(*args)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2520, in getVersion
if ret == -1: raise libvirtError ('virConnectGetVersion() failed',
conn=self)
libvirtError: internal error Cannot find suitable emulator for x86_64
- # service libvirtd status
libvirtd.service - LSB: daemon for libvirt virtualization API
Loaded: loaded (/etc/rc.d/init.d/libvirtd)
Active: active (running) since Fri, 29 Jul 2011 10:06:55 +0200; 17min ago
Process: 1308 ExecStart=/etc/rc.d/init.d/libvirtd start
(code=exited, status=0/SUCCESS)
Main PID: 1340 (libvirtd)
CGroup: name=systemd:/system/libvirtd.service
├ 1340 libvirtd --daemon
├ 1403 /usr/sbin/dnsmasq --strict-order --bind-interfaces
--pid-file=/var/run/libvirt/network/default.pid...
└ 1424 /usr/sbin/dnsmasq --strict-order --bind-interfaces
--pid-file=/var/run/libvirt/network/noway.pid -...
- virsh list (and --all) show no guest at all, while I have 5 of them
defined on f15 before enabling virt-preview repo.
let me know how to help debugging and have this working on f15
Thanks,
Gianluca
12 years, 9 months
ANNOUNCE: Guest filesystem browser (guestfs-browser) 0.2.1 released
by Richard W.M. Jones
The guest filesystem browser lets you browse guest filesystems, the
Windows Registry, and other bits from guests.
You can see some screenshots here:
https://rwmj.wordpress.com/2011/07/29/some-screenshots-from-the-new-guest...
The 0.2.1 release includes lots of new functionality, including:
- looking at inspection data, applications, drive mappings and more
- looking at detailed file information, extended attrs
- ability to view arbitrary disk images
The home page is here:
http://people.redhat.com/~rjones/guestfs-browser/
I have pushed relatively recent builds into Fedora 15, Fedora 16 and
Rawhide. For F15 and F16 you'll need to get the latest from
updates-testing:
https://admin.fedoraproject.org/updates/search/guestfs-browser
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
12 years, 9 months
Re: [fedora-virt] virt-preview for Fedora 15 users back in sync
by Bill McGonigle
On 07/30/2011 07:34 AM, Darryl L. Pierce wrote:
> Which version of Newt Syrup are you running? 0.1.2-1 should contain the
> utils file:
Oh, that's it. Somehow I've got 0.1.1-2. I just got it as a dependency - must've hit a stale mirror.
[flowerpt@zpm ~]$ rpm -q python-newt_syrup
python-newt_syrup-0.1.1-2.fc15.noarch
What threw me off is that menuscreen.py still tries to import it:
[flowerpt@zpm ~]$ rpm -V python-newt_syrup
[flowerpt@zpm ~]$ grep utils /usr/lib/python2.7/site-packages/newt_syrup/menuscreen.py
import utils
But obviously getting a working mirror is the right answer. Thanks, Darryl!
Thanks,
-Bill
--
Bill McGonigle, Owner
BFC Computing, LLC
http://bfccomputing.com/
Telephone: +1.855.SW.LIBRE
Email, IM, VOIP: bill(a)bfccomputing.com
VCard: http://bfccomputing.com/vcard/bill.vcf
Social networks: bill_mcgonigle/bill.mcgonigle
12 years, 9 months
Fedora Virt Status
by Justin Forbes
Fedora 15
- We have 65 open bugs 11 of which have fixes in awaiting updates.
- 12 bugs have been closed in the last week
Fedora 16
Fedora 16 Feature Freeze is just 1 week away. It is time to make sure
things are in shape for alpha. Important dates for the Fedora 16 Schedule:
2011-07-26 Feature Freeze--Planning & Development Ends
2011-07-26 Branch Fedora 16 from Rawhide-- Branch Freeze
2011-08-02 Software String Freeze
2011-08-02 Alpha Change Deadline
2011-08-16 Alpha Release
2011-08-30 Software Translation Deadline
2011-09-06 Beta Change Deadline Features 100% Complete
2011-09-20 Beta Release
2011-10-10 Final Change Deadline
2011-10-11 Compose 'Final' RC
2011-10-25 Fedora 16 Final Release
== Updates Needing review ==
The following packages are in updates-testing and need review and karma as
appropriate:
F14:
- libvirt-0.8.3-10.fc14
CVE-2011-2511, integer overflow in VirDomainGetVcpus
- libguestfs-1.8.9-1.fc14
Stable branch update to version 1.8.9
F15:
- libguestfs-1.10.5-1.fc15
Update to stable branch version 1.10.5.
- spice-protocol-0.8.1-1.fc15
this package doesn't close any bugs but it is required to build an updated spice-server that will close bugs.
== Virt Preview Repository ==
The virt-preview repository is now active for F15 users wishing to run the
latest F16 virt packages on their stable F15 systems. F14 virt-preview users
will still get the latest F15 packages. For details on how to run enable
virt-preview, please see:
https://fedoraproject.org/wiki/Virtualization_Preview_Repository
At the moment, virt preview is out of sync with F16 due to a bug in binutils
which will not allow the new seabios to build. Because libvirt requires the
newer seabios, updates have been put on hold until the binutils fix is pushed
to Fedora 15.
== Bugs of importance: ==
- 700560 F15 virt-manager gui locks/freezes in the default storage pool
There is a bug which states that sym-linked storage pools will lock
virt-manager, and now reports that the default storage pool does as well.
- 720995 F15 kvm gets stuck while booting 32 bit guest on 64 bit host with smp
This seems to be the kvmclock regression bug, and the patch will make the next
update
12 years, 10 months
Xen dom0 / Fedora 16 Schedule Reminders - Feature Submission and Feature Freeze
by Pasi Kärkkäinen
Hello,
Is someone currently working on Xen dom0 support for Fedora 16 ?
Upstream Linux kernel supports Xen dom0 now, so we should definitely
get dom0 support back to Fedora for F16.
http://fedoraproject.org/wiki/Features/XenPvopsDom0
https://bugzilla.redhat.com/show_bug.cgi?id=658387
https://bugzilla.redhat.com/show_bug.cgi?id=668063
Feature submission deadline for F16 is today..
-- Pasi
In-Reply-To: <4E1B5992.5030403(a)redhat.com>
On Mon, Jul 11, 2011 at 01:14:10PM -0700, Robyn Bergeron wrote:
> A few friendly reminders:
>
> * The Feature Submission deadline for Fedora 16 is *tomorrow*, July 12.
> The current process for submitting a feature for Fedora 16 can be seen
> here: http://fedoraproject.org/wiki/Features/Policy
>
> * Feature Freeze comes quickly after the Feature Submission deadline, on
> July 26. Please note that at this point, Features should be
> *substantially complete and in a testable state.* For more information
> on the Feature Freeze policy, please read:
> http://fedoraproject.org/wiki/ReleaseEngineering/FeatureFreezePolicy
>
> And finally.... for those of you interested in seeing how the Feature
> List is shaping up for Fedora 16, it is up to date with the latest and
> greatest approvals from today's FESCo meeting.
>
> http://fedoraproject.org/wiki/FeatureList
>
> This is where I'm going to put on my Gentle Reminder Hat, and give
> everyone a chance to go into their individual feature pages and update
> their percentage complete, and update their "Last Updated" date, which I
> will apply to the main FeatureList page. Your efforts here are
> appreciated, and help a number of groups understand how close you are to
> completion, or conversely, if you are at risk of not making deadlines.
>
> If percentages don't start getting updated, and "last-updated" dates
> aren't getting touched, I'll be reaching out to folks individually, but
> I would prefer to see that people take the initiative and keep those
> things up. Otherwise I have to get out the not-so-Gentle-Reminder-Hat,
> and frankly, I don't look very good in that one.
>
> Communication is the key here. If you believe you are *at risk* of not
> making the Feature Freeze, please update your feature page accordingly.
>
> The rest of the schedule, as always, can be seen here:
> https://fedoraproject.org/wiki/Releases/16/Schedule
>
> Thanks!
>
> -Robyn
> _______________________________________________
> devel-announce mailing list
> devel-announce(a)lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel-announce
> --
> devel mailing list
> devel(a)lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
12 years, 10 months