Hi there, I've been happily installing VMs in CentOS 5.2's Xen implementation using virt-manager. However, my latest attempt to use the install wizard in virt-manager failed when I got to the networking screen. The 'forward' button was unresponsive, and I was unable to proceed. I checked the virt-manager logs, and saw this appearing immediately after I tried to proceed:
/root/.virt-manager/virt-manager.log:
[Tue, 05 Aug 2008 16:16:53 virt-manager 20637] ERROR (virt-manager:132) Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/create.py", line 294, in forward if(self.validate(notebook.get_current_page()) != True): File "/usr/share/virt-manager/virtManager/create.py", line 974, in validate vm = self.connection.vmm.lookupByName(name) File "/usr/lib64/python2.4/site-packages/libvirt.py", line 646, in lookupByName if ret is None:raise libvirtError('virDomainLookupByName() failed', conn=self) libvirtError: virDomainLookupByName() failed got unknown HTTP error code 400 None
There was also a lot of this in the main system log (1-2 messages per second): [Tue, 05 Aug 2008 16:16:53 virt-manager 20637] DEBUG (connection:580) Couldn't fetch domain id 3; it probably went away
So I tried to use virt-install on the shell instead, but got much the same error:
[root@optimus swadmin]# virt-install --hvm --name=zurich.gcal.ac.uk --ram=2048 --file=/var/lib/xen/images/zurich.gcal.ac.uk.img --vnc --vcpus=2 --cdrom=/home/swadmin/software/OpenSolaris/sol-nv-b93-x86-dvd.iso --network=bridge:xenbr0
Starting install... virDomainLookupByName() failed got unknown HTTP error code 400 Domain installation may not have been successful. If it was, you can restart your domain by running 'virsh start zurich.gcal.ac.uk'; otherwise, please restart your installation. Tue, 05 Aug 2008 17:30:18 ERROR virDomainLookupByName() failed got unknown HTTP error code 400 Traceback (most recent call last): File "/usr/bin/virt-install", line 502, in ? main() File "/usr/bin/virt-install", line 462, in main dom = guest.start_install(conscb,progresscb) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 813, in start_install return self._do_install(consolecb, meter) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 829, in _do_install self._create_devices(meter) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 727, in _create_devices nic.setup(self.conn) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 287, in setup vm = conn.lookupByName(name) File "/usr/lib64/python2.4/site-packages/libvirt.py", line 646, in lookupByName if ret is None:raise libvirtError('virDomainLookupByName() failed', conn=self) libvirtError: virDomainLookupByName() failed got unknown HTTP error code 400
It suggests I try to start the domain anyway, but it hasn't been created: [root@optimus swadmin]# virsh start zurich.gcal.ac.uk libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName error: failed to get domain 'zurich.gcal.ac.uk'
Any ideas would be much appreciated.
Thanks,
Graeme West
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Sorry to bump my own thread, but does anyone have any ideas about this?
I've now tried virtually every combination of options in virt-manager and virt-install, and nothing seems to avoid this error (or let me get beyond the networking screen in virt-manager).
Has anyone encountered anything like this before?
Thanks,
Graeme
On 6 Aug 2008, at 09:41, Graeme West wrote:
Hi there, I've been happily installing VMs in CentOS 5.2's Xen implementation using virt-manager. However, my latest attempt to use the install wizard in virt-manager failed when I got to the networking screen. The 'forward' button was unresponsive, and I was unable to proceed. I checked the virt-manager logs, and saw this appearing immediately after I tried to proceed:
/root/.virt-manager/virt-manager.log:
[Tue, 05 Aug 2008 16:16:53 virt-manager 20637] ERROR (virt-manager:132) Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/create.py", line 294, in forward if(self.validate(notebook.get_current_page()) != True): File "/usr/share/virt-manager/virtManager/create.py", line 974, in validate vm = self.connection.vmm.lookupByName(name) File "/usr/lib64/python2.4/site-packages/libvirt.py", line 646, in lookupByName if ret is None:raise libvirtError('virDomainLookupByName() failed', conn=self) libvirtError: virDomainLookupByName() failed got unknown HTTP error code 400 None
There was also a lot of this in the main system log (1-2 messages per second): [Tue, 05 Aug 2008 16:16:53 virt-manager 20637] DEBUG (connection:580) Couldn't fetch domain id 3; it probably went away
So I tried to use virt-install on the shell instead, but got much the same error:
[root@optimus swadmin]# virt-install --hvm --name=zurich.gcal.ac.uk --ram=2048 --file=/var/lib/xen/images/zurich.gcal.ac.uk.img --vnc --vcpus=2 --cdrom=/home/swadmin/software/OpenSolaris/sol-nv-b93-x86-dvd.iso --network=bridge:xenbr0
Starting install... virDomainLookupByName() failed got unknown HTTP error code 400 Domain installation may not have been successful. If it was, you can restart your domain by running 'virsh start zurich.gcal.ac.uk'; otherwise, please restart your installation. Tue, 05 Aug 2008 17:30:18 ERROR virDomainLookupByName() failed got unknown HTTP error code 400 Traceback (most recent call last): File "/usr/bin/virt-install", line 502, in ? main() File "/usr/bin/virt-install", line 462, in main dom = guest.start_install(conscb,progresscb) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 813, in start_install return self._do_install(consolecb, meter) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 829, in _do_install self._create_devices(meter) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 727, in _create_devices nic.setup(self.conn) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 287, in setup vm = conn.lookupByName(name) File "/usr/lib64/python2.4/site-packages/libvirt.py", line 646, in lookupByName if ret is None:raise libvirtError('virDomainLookupByName() failed', conn=self) libvirtError: virDomainLookupByName() failed got unknown HTTP error code 400
It suggests I try to start the domain anyway, but it hasn't been created: [root@optimus swadmin]# virsh start zurich.gcal.ac.uk libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName error: failed to get domain 'zurich.gcal.ac.uk'
Any ideas would be much appreciated.
Thanks,
Graeme West
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Email has been scanned for viruses by Altman Technologies' email management servicehttp://www.altman.co.uk/emailsystems
<ATT00001.txt>
Glasgow Caledonian University is a registered Scottish charity, number SC021474
I found what it was: there were some incomplete virtual machine configuration files in /etc/xen which I'd generated for testing previously. Because they weren't complete and their IDs weren't attached to any actual VM, they were screwing up any calls to virDomainLookupByName() . Removing them did the trick.
Hope this helps somebody.
Graeme
On 26 Aug 2008, at 09:42, Graeme West wrote:
Sorry to bump my own thread, but does anyone have any ideas about this?
I've now tried virtually every combination of options in virt-manager and virt-install, and nothing seems to avoid this error (or let me get beyond the networking screen in virt-manager).
Has anyone encountered anything like this before?
Thanks,
Graeme
On 6 Aug 2008, at 09:41, Graeme West wrote:
Hi there, I've been happily installing VMs in CentOS 5.2's Xen implementation using virt-manager. However, my latest attempt to use the install wizard in virt-manager failed when I got to the networking screen. The 'forward' button was unresponsive, and I was unable to proceed. I checked the virt-manager logs, and saw this appearing immediately after I tried to proceed:
/root/.virt-manager/virt-manager.log:
[Tue, 05 Aug 2008 16:16:53 virt-manager 20637] ERROR (virt-manager:132) Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/create.py", line 294, in forward if(self.validate(notebook.get_current_page()) != True): File "/usr/share/virt-manager/virtManager/create.py", line 974, in validate vm = self.connection.vmm.lookupByName(name) File "/usr/lib64/python2.4/site-packages/libvirt.py", line 646, in lookupByName if ret is None:raise libvirtError('virDomainLookupByName() failed', conn=self) libvirtError: virDomainLookupByName() failed got unknown HTTP error code 400 None
There was also a lot of this in the main system log (1-2 messages per second): [Tue, 05 Aug 2008 16:16:53 virt-manager 20637] DEBUG (connection:580) Couldn't fetch domain id 3; it probably went away
So I tried to use virt-install on the shell instead, but got much the same error:
[root@optimus swadmin]# virt-install --hvm --name=zurich.gcal.ac.uk --ram=2048 --file=/var/lib/xen/images/zurich.gcal.ac.uk.img --vnc --vcpus=2 --cdrom=/home/swadmin/software/OpenSolaris/sol-nv-b93-x86-dvd.iso --network=bridge:xenbr0
Starting install... virDomainLookupByName() failed got unknown HTTP error code 400 Domain installation may not have been successful. If it was, you can restart your domain by running 'virsh start zurich.gcal.ac.uk'; otherwise, please restart your installation. Tue, 05 Aug 2008 17:30:18 ERROR virDomainLookupByName() failed got unknown HTTP error code 400 Traceback (most recent call last): File "/usr/bin/virt-install", line 502, in ? main() File "/usr/bin/virt-install", line 462, in main dom = guest.start_install(conscb,progresscb) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 813, in start_install return self._do_install(consolecb, meter) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 829, in _do_install self._create_devices(meter) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 727, in _create_devices nic.setup(self.conn) File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 287, in setup vm = conn.lookupByName(name) File "/usr/lib64/python2.4/site-packages/libvirt.py", line 646, in lookupByName if ret is None:raise libvirtError('virDomainLookupByName() failed', conn=self) libvirtError: virDomainLookupByName() failed got unknown HTTP error code 400
It suggests I try to start the domain anyway, but it hasn't been created: [root@optimus swadmin]# virsh start zurich.gcal.ac.uk libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName error: failed to get domain 'zurich.gcal.ac.uk'
Any ideas would be much appreciated.
Thanks,
Graeme West
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Email has been scanned for viruses by Altman Technologies' email management servicehttp://www.altman.co.uk/emailsystems
<ATT00001.txt>
Glasgow Caledonian University is a registered Scottish charity, number SC021474
Email has been scanned for viruses by Altman Technologies' email management servicehttp://www.altman.co.uk/emailsystems
<ATT00001.txt>
Glasgow Caledonian University is a registered Scottish charity, number SC021474