Kai Schaetzl
2008-Apr-22 12:42 UTC
[Xen-users] error when creating hvm guest with virt-manager
I suppose I need to apply some patch but can''t find the right one. Xen 3.2 (the packages from xen.org) on CentOS 5.1 I wanted to install my first hvm guest and wanted to use an old Suse 9.0 (of course, there are reasons why I wanted to use that ;-). First problem I encountered is that virt-manager blanked out the option to install from cdrom. I copied the first CD with dd to an iso image and used that as an install source. This gives me the following error: The error is "Unable to complete install ''libvirt.libvirtError virDomainCreateLinux() failed POST operation failed. (xend.err ''Error creating domain: long() argument must be a string or a number'')" Google finds only this single article, but I don''t think I hit exactly the same problem: http://article.gmane.org/gmane.comp.emulators.xen.user/33078 The traceback I get does not touch XendDomainInfo.py, it starts in create.py. Anyway, I changed the code in XendDomainInfo.py and tried again with the same result. (I don''t have the complete traceback on hand, otherwise I would add it. If necessary I can get it again.) Someone suggested using qemu to startup the installation. This worked, indeed, (with some twists) and I can now startup a xen hvm with the installed system on that disk image. So, it really looks like just some bug in the creation code of virt-manager. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ross S. W. Walker
2008-Apr-22 14:07 UTC
RE: [Xen-users] error when creating hvm guest with virt-manager
Kai Schaetzl wrote:> > I suppose I need to apply some patch but can''t find the right one. > > Xen 3.2 (the packages from xen.org) on CentOS 5.1 > > I wanted to install my first hvm guest and wanted to use an old Suse 9.0 > (of course, there are reasons why I wanted to use that ;-). > > First problem I encountered is that virt-manager blanked out the option to > install from cdrom. I copied the first CD with dd to an iso image and used > that as an install source. This gives me the following error: > > The error is "Unable to complete install ''libvirt.libvirtError > virDomainCreateLinux() failed POST operation failed. (xend.err ''Error creating > domain: long() argument must be a string or a number'')" > > Google finds only this single article, but I don''t think I hit exactly the > same problem: http://article.gmane.org/gmane.comp.emulators.xen.user/33078 > > The traceback I get does not touch XendDomainInfo.py, it starts in > create.py. Anyway, I changed the code in XendDomainInfo.py and tried again > with the same result. (I don''t have the complete traceback on hand, > otherwise I would add it. If necessary I can get it again.) > > Someone suggested using qemu to startup the installation. This worked, > indeed, (with some twists) and I can now startup a xen hvm with the > installed system on that disk image. So, it really looks like just some > bug in the creation code of virt-manager.The fix for this is in changeset 16764 I posted the patches and xen.spec file on centos-virt for this and the HVM localtime problem. You should find them there. -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Kai Schaetzl
2008-Apr-22 15:43 UTC
Re: [Xen-users] error when creating hvm guest with virt-manager
Ross S. W. Walker wrote on Tue, 22 Apr 2008 10:07:09 -0400:> I posted the patches and xen.spec file on centos-virt for this > and the HVM localtime problem. You should find them there.I remember, but I couldn''t find them with a search. When you posted them I didn''t grab them, because they were for hvm only and I didn''t intend to install an hvm guest in the near future ;-) Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users