Daniel P. Berrange
2006-Jun-28 20:08 UTC
[Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager"
I''m pleased to make available the code for an early *development snapshot* of a graphical application for managing virtual machines. This application is using libvirt as its backend API for managing virtual machines, while the user interface is built in Python and GTK/Glade. The application allows monitoring of guest VM resource utilization / allocation. There are basic controls for controlling the run state of guest. There is also a VNC client widget (written in pure Python!) for displaying the virtual guest framebuffer on fully-virt machines: http://people.redhat.com/berrange/virt-manager/index.html This is a very early snapshot - lots of functionality isn''t hooked up yet, the error handling is mostly not there, and there are certainly plenty of bugs. It should none-the-less give a reasonable feel for the kind of direction the application will evolve in. Furthermore the website includes the UI mockups done by our user interaction designers to show some of the ideas considered in ongoing development of the application. The RPMs linked to from the website should install on both Fedora Core 5[1] and Fedora Core 6 test1 [2]. The FAQ contains a list of explicit dependancies which should facilitate people trying to get it running on non Fedora Linux distros. BTW, for those at the Red Hat Summit in Nashville a few weeks back, this is the graphical app I talked about in my presentation on management tools for virtualized system[3] & showed some demos of. At the time I was calling it ''GNOME Virt Manager'', but is now renamed ''Virtual Machine Manager'' or ''virt-manager'' for the binary command / package name. Regards, Dan. [1] You''ll need libvirt-0.1.1 from updates-testing [2] The plan is to get the RPMs into Fedora Extras in time for FC6 [3] http://people.redhat.com/berrange/summit-2006/ -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
Andy Burns
2006-Jun-30 07:57 UTC
Re: [Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager"
Daniel P. Berrange wrote:> I''m pleased to make available the code for an early *development snapshot* > of a graphical application for managing virtual machines.It installed ok from your repo, also upgraded to libvirt ok, booted 2.6.17-1.2307_FC6xen, xend running, started your GUI from a tty # virt-manager dbus_bindings.DBusException Unable to determine the address of the message bus ( try ''man dbus-launch'' and ''man dbus-daemon'' for help) Could not connection to session bus, disabling DBus service Naturally I have got dbus running, at this point I got the open connection dialog, and tried to connect to local xen host (with and without read only, but as root) after a delay the dialog closed, but this message is displayed if invoked from a tty libvir: Xen Daemon error : could not connect to Xen Daemon Unable to open connection to hypervisor URI ''xen'' libvirt.libvirtError virDomainLookupByID() failed However I did look at the mockup design and the screenshots on your pages, and I *like* the look of what it intends to do :-)
Daniel Veillard
2006-Jun-30 08:19 UTC
Re: [Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager"
On Fri, Jun 30, 2006 at 08:57:42AM +0100, Andy Burns wrote:> Daniel P. Berrange wrote: > > >I''m pleased to make available the code for an early *development snapshot* > >of a graphical application for managing virtual machines. > > It installed ok from your repo, also upgraded to libvirt ok, booted > 2.6.17-1.2307_FC6xen, xend running, started your GUI from a tty > > # virt-manager > dbus_bindings.DBusException Unable to determine the address of the > message bus ( try ''man dbus-launch'' and ''man dbus-daemon'' for help) > Could not connection to session bus, disabling DBus service > > Naturally I have got dbus running, at this point I got the open > connection dialog, and tried to connect to local xen host (with and > without read only, but as root) after a delay the dialog closed, but > this message is displayed if invoked from a tty > > libvir: Xen Daemon error : could not connect to Xen Daemon > Unable to open connection to hypervisor URI ''xen'' > libvirt.libvirtError virDomainLookupByID() failedHum, which versions of xen, kernel and libvirt are you using ? It seems the xend daemon can''t be reached locally, which makes a number of operations (like mapping between domain names and id) impossible. Daniel -- Daniel Veillard | Red Hat http://redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
Andy Burns
2006-Jun-30 08:49 UTC
Re: [Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager"
Daniel Veillard wrote:> which versions of xen, kernel and libvirt are you using ?xen Arch : i386 Version: 3.0.2 Release: 4 libvirt Arch : i386 Version: 0.1.0 Release: 1 kernel-xen Arch : i686 Version: 2.6.17 Release: 1.2307_FC6 I was going to say the only selinux messages I''ve been noticing on FC6T1 so far have been related to ntpd and nfs, but on checking I notice the following audit(1151652889.670:87): avc: denied { recv } for saddr=127.0.0.1 src=40682 daddr=127.0.0.1 dest=8000 netif=lo scontext=system_u:system_r:xend_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=packet so I''ll reboot with enforcing=0 and try again ... Thanks
Daniel Veillard
2006-Jun-30 11:24 UTC
Re: [Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager"
On Fri, Jun 30, 2006 at 09:49:31AM +0100, Andy Burns wrote:> Daniel Veillard wrote: > > >which versions of xen, kernel and libvirt are you using ? > > xen > Arch : i386 > Version: 3.0.2 > Release: 4 > > libvirt > Arch : i386 > Version: 0.1.0 > Release: 1 > > kernel-xen > Arch : i686 > Version: 2.6.17 > Release: 1.2307_FC6Very latest Xen hypervisor, you must use libvirt-0.1.1 and preferably a very recent xen too > 3.0.2-6> so I''ll reboot with enforcing=0 and try again ...I don''t think it''s selinux related, but an ABI breakage at the Xen hypervisor level. Update xen and libvirt. Daniel -- Daniel Veillard | Red Hat http://redhat.com/ veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
Andy Burns
2006-Jun-30 11:33 UTC
Re: [Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager"
Daniel Veillard wrote:> It seems the xend daemon can''t be reached locallyTurns out it was selinux, booting in permissive mode allowed VMM to start up I''m still not up to speed on selinux policies, it it possible to set one that allows anything (or certain contexts) to make a TCP connection to xend, or would a specific one need to be added for VMM? What are the rules for modifying selinux policy for an Extra''s package?
Andy Burns
2006-Jun-30 11:41 UTC
Re: [Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager"
Daniel Veillard wrote:> Very latest Xen hypervisor, you must use libvirt-0.1.1hmm, I''ll swear I had seen the update to libvirt 0.1.1 get installed when I installed from the berrange repo, I didn''t read the 0.1.0 when I pasted it above :-(> and preferably a very recent xen too > 3.0.2-6I''m on the latest that rawhide offers me> I don''t think it''s selinux related, but an ABI breakage at the Xen > hypervisor level. Update xen and libvirt.strange, a reboot with enforcing=0 did allow it to run, and I was seeing the avc errors from xend receiving packets. my yum isn''t happy at the moment, caught between mirror updates I think, checksums don''t match, let me try a cleanall/makecache and see if anything newer show up for me, I''ve noticed xen kernels haven''t been pushed for the last couple of kernel builds ...
Jeremy Katz
2006-Jun-30 13:23 UTC
Re: [Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager"
On Fri, 2006-06-30 at 12:41 +0100, Andy Burns wrote:> my yum isn''t happy at the moment, caught between mirror updates I think, > checksums don''t match, let me try a cleanall/makecache and see if > anything newer show up for me, I''ve noticed xen kernels haven''t been > pushed for the last couple of kernel builds ...Yes, the build has broken with the high amount of change going into the kernel right now Jeremy
<thomas.vonsteiger@bluewin.ch>
2006-Jun-30 15:45 UTC
AW: [Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager"
Hello Daniel, If have running success virt-manager on my FC5 xenbox with all available features. FC5 has the stat of latest yum update''s from original repo update.>From development.repo "yum install libvirt-python"Disable development repo. Add berrange-fedora.repo and "yum install virt-manager" If I use the binary virt-manager rpm from your repo, I can start virt-manager and a can define local xen host to connect. After this I get the virt-manager gui. Becose the gui has then no content. If I get the virt-manager src.rpm from your repo and rebuild the binary.rpm on my xen host, install them, virt-manager is running success. And I say to virt-manager: "Welcome in the virtual future"..:-) Many thanks, Thomas
Daniel P. Berrange
2006-Jun-30 17:37 UTC
Re: [Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager"
On Fri, Jun 30, 2006 at 05:45:27PM +0200, thomas.vonsteiger@bluewin.ch wrote:> Hello Daniel, > > If have running success virt-manager on my FC5 xenbox with all available > features. > > FC5 has the stat of latest yum update''s from original repo update. > From development.repo "yum install libvirt-python" > Disable development repo. > Add berrange-fedora.repo and "yum install virt-manager"I think the problem is that you took libvirt from the ''development'' repository which is basically FC6test1. For FC5 you should use the ''updates-testing'' repository as per the instructions on the download page: yum --enablerepo=updates-testing install virt-manager Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
Patricio Bruna V.
2006-Jul-01 03:32 UTC
Re: [Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager"
i must miss the mail, where i can download this? -- Patricio Bruna V. Red Hat Certified Engineer IT Linux Ltda. http://www.it-linux.cl Fono/Fax: (+56-2) 697 11 66 Cel: (+56-8) 288 51 95
<thomas.vonsteiger@bluewin.ch>
2006-Jul-01 04:20 UTC
AW: [Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager"
http://people.redhat.com/berrange/virt-manager/index.html -----Ursprüngliche Nachricht----- Von: fedora-xen-bounces@redhat.com [mailto:fedora-xen-bounces@redhat.com] Im Auftrag von Patricio Bruna V. Gesendet: Samstag, 1. Juli 2006 05:32 An: fedora-xen@redhat.com Betreff: Re: [Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager" i must miss the mail, where i can download this? -- Patricio Bruna V. Red Hat Certified Engineer IT Linux Ltda. http://www.it-linux.cl Fono/Fax: (+56-2) 697 11 66 Cel: (+56-8) 288 51 95 -- Fedora-xen mailing list Fedora-xen@redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.7/379 - Release Date: 29.06.2006
<thomas.vonsteiger@bluewin.ch>
2006-Jul-01 04:40 UTC
AW: [Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager"
You are right. virt-manager running well with libvirt-python from updates-testing. Thomas -----Ursprüngliche Nachricht----- Von: Daniel P. Berrange [mailto:berrange@redhat.com] Gesendet: Freitag, 30. Juni 2006 19:38 An: thomas.vonsteiger@bluewin.ch Cc: fedora-xen@redhat.com Betreff: Re: [Fedora-xen] Xen/libVirt GUI app: "Virtual Machine Manager" On Fri, Jun 30, 2006 at 05:45:27PM +0200, thomas.vonsteiger@bluewin.ch wrote:> Hello Daniel, > > If have running success virt-manager on my FC5 xenbox with all available > features. > > FC5 has the stat of latest yum update''s from original repo update. > From development.repo "yum install libvirt-python" > Disable development repo. > Add berrange-fedora.repo and "yum install virt-manager"I think the problem is that you took libvirt from the ''development'' repository which is basically FC6test1. For FC5 you should use the ''updates-testing'' repository as per the instructions on the download page: yum --enablerepo=updates-testing install virt-manager Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.7/379 - Release Date: 29.06.2006