Claris Castillo
2007-Jun-13 15:20 UTC
[Xen-users] Xen 3.1.0 on Fedora 7- libvir: Xen Daemon error :GET operation failed
Hi, I have been trying to get Xen 3.1 running on Fedora 7 since yesterday and no luck. At the beginning I thought it was a problem with teh installation of Fedora 7 so I reinstalled it. Still, I have the same problem. I have never had this problem with Xen (FC5,FC6). The xend.log (below) includes a line "VmError: Device 0 (vif) could not be connected. Hotplug scripts not working." More in detail: When I try to create a guest with virt-install, this is what I get when I am asked for the install location: Starting install... libvir: Xen Daemon error : GET operation failed: libvir: error : configuration file syntax error: expecting a name libvir: error : configuration file syntax error: expecting a name libvir: error : configuration file syntax error: expecting a name Retrieving Fedora... 286 kB 00:00 Retrieving vmlinuz... 100% |=========================| 2.1 MB 00:02 Retrieving initrd.img... 100% |=========================| 5.4 MB 00:05 libvir: Xen Daemon error : GET operation failed: libvir: error : configuration file syntax error: expecting a name Now part of my xend.log : [2007-06-13 11:07:23 2708] ERROR (SrvBase:88) Request wait_for_devices failed. Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/xen/web/SrvBase.py", line 85, in perform return op_method(op, req) File "/usr/lib/python2.5/site-packages/xen/xend/server/SrvDomain.py", line 85, in op_wait_for_devices return self.dom.waitForDevices() File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 544, in waitForDevices self.getDeviceController(devclass).waitForDevices() File "/usr/lib/python2.5/site-packages/xen/xend/server/DevController.py", line 149, in waitForDevices return map(self.waitForDevice, self.deviceIDs()) File "/usr/lib/python2.5/site-packages/xen/xend/server/DevController.py", line 164, in waitForDevice (devid, self.deviceClass)) VmError: Device 0 (vif) could not be connected. Hotplug scripts not working. [2007-06-13 11:07:23 2708] DEBUG (XendDomainInfo:873) Storing domain details: {''console/ring-ref'': ''538420'', ''image/entry'': ''3238002688'', ''control/platform-feature-multiprocessor-suspend'': ''1'', ''image/loader'': ''generic'', ''vm'': ''/vm/fa709b4b-85e1-7d49-52ab-81884b4021d5'', ''store/ring-ref'': ''538421'', ''image/hv-start-low'': ''4118806528'', ''image/guest-os'': ''linux'', ''image/features/writable-descriptor-tables'': ''1'', ''image/virt-base'': ''3221225472'', ''memory/target'': ''262144'', ''image/guest-version'': ''2.6'', ''image/features/supervisor-mode-kernel'': ''1'', ''image/pae-mode'': ''yes'', ''console/limit'': ''1048576'', ''image/paddr-offset'': ''3221225472'', ''image/hypercall-page'': ''3238006784'', ''cpu/0/availability'': ''online'', ''image/features/pae-pgdir-above-4gb'': ''1'', ''image/features/writable-page-tables'': ''1'', ''image/features/auto-translated-physmap'': ''1'', ''name'': ''ccmv2'', ''domid'': ''2'', ''image/xen-version'': ''xen-3.0'', ''store/port'': ''1''} [2007-06-13 11:07:23 2708] DEBUG (XendDomainInfo:1706) XendDomainInfo.destroy: domid=2 [2007-06-13 11:07:23 2708] DEBUG (XendDomainInfo:1723) XendDomainInfo.destroyDomain(2) What would be a good direction to take to fix this problem? Any advice is appreciated. cc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Claris Castillo
2007-Jun-13 17:57 UTC
[Xen-users] Xen 3.1.0 on Fedora 7- libvir: Xen Daemon error :GET operation failed
Hi, I have been trying to get Xen 3.1 running on Fedora 7 since yesterday and no luck. At the beginning I thought it was a problem with teh installation of Fedora 7 so I reinstalled it. Still, I have the same problem. I have never had this problem with Xen (FC5,FC6). The xend.log (below) includes a line "VmError: Device 0 (vif) could not be connected. Hotplug scripts not working." More in detail: When I try to create a guest with virt-install, this is what I get when I am asked for the install location: Starting install... libvir: Xen Daemon error : GET operation failed: libvir: error : configuration file syntax error: expecting a name libvir: error : configuration file syntax error: expecting a name libvir: error : configuration file syntax error: expecting a name Retrieving Fedora... 286 kB 00:00 Retrieving vmlinuz... 100% |=========================| 2.1 MB 00:02 Retrieving initrd.img... 100% |=========================| 5.4 MB 00:05 libvir: Xen Daemon error : GET operation failed: libvir: Xen Daemon error : POST operation failed: (xend.err ''Device 0 (vif) could not be connected. Hotplug scripts not working.'') Traceback (most recent call last): File "/usr/sbin/virt-install", line 629, in <module> main() File "/usr/sbin/virt-install", line 578, in main dom = guest.start_install(conscb,progresscb) File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 649, in start_install return self._do_install(consolecb, meter) File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 666, in _do_install self.domain = self.conn.createLinux(install_xml, 0). File "/usr/lib/python2.5/site-packages/libvirt.py", line 480, in createLinux if ret is None:raise libvirtError(''virDomainCreateLinux() failed'', conn=self) libvirt.libvirtError: virDomainCreateLinux() failed POST operation failed: (xend.err ''Device 0 (vif) could not be connected. Hotplug scripts not working.'') [root@csdp1vm03 ccastil]# Now part of my xend.log : [2007-06-13 10:19:35 2708] INFO (SrvDaemon:331) Xend Daemon started [2007-06-13 10:19:35 2708] INFO (SrvDaemon:335) Xend changeset: unavailable. [2007-06-13 10:19:35 2708] INFO (SrvDaemon:342) Xend version: Unknown. [2007-06-13 10:19:35 2708] DEBUG (XendDomainInfo:126) XendDomainInfo.recreate({''max_vcpu_id'': 1, ''cpu_time'': 27700655774L, ''ssidref'': 0, ''hvm'': 0, ''shutdown_reason'': 0, ''dying'': 0, ''online_vcpus'': 2, ''domid'': 0, ''paused'': 0, ''crashed'': 0, ''running'': 1, ''maxmem_kb'': 4294967292L, ''shutdown'': 0, ''mem_kb'': 2458540L, ''handle'': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ''blocked'': 0, ''name'': ''Domain-0''}) [2007-06-13 10:19:35 2708] INFO (XendDomainInfo:143) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0, [2007-06-13 10:19:35 2708] DEBUG (XendDomainInfo:2019) Storing VM details: {''on_xend_stop'': ''ignore'', ''shadow_memory'': ''0'', ''uuid'': ''00000000-0000-0000-0000-000000000000'', ''on_reboot'': ''restart'', ''image'': ''(linux (kernel ))'', ''on_poweroff'': ''destroy'', ''on_xend_start'': ''ignore'', ''on_crash'': ''restart'', ''xend/restart_count'': ''0'', ''vcpus'': ''2'', ''vcpu_avail'': ''3'', ''name'': ''Domain-0''} [2007-06-13 10:19:35 2708] DEBUG (XendDomainInfo:873) Storing domain details: {''name'': ''Domain-0'', ''console/limit'': ''1048576'', ''memory/target'': ''2458540'', ''vm'': ''/vm/00000000-0000-0000-0000-000000000000'', ''domid'': ''0'', ''cpu/0/availability'': ''online'', ''cpu/1/availability'': ''online'', ''control/platform-feature-multiprocessor-suspend'': ''1''} [2007-06-13 10:19:35 2708] DEBUG (XendDomain:443) Adding Domain: 0 [2007-06-13 10:19:35 2708] DEBUG (XendDomain:379) number of vcpus to use is 0 [2007-06-13 10:19:35 2708] INFO (SrvServer:180) unix path=/var/lib/xend/xend-socket [2007-06-13 10:19:35 2708] DEBUG (XendDomainInfo:873) Storing domain details: {''name'': ''Domain-0'', ''console/limit'': ''1048576'', ''memory/target'': ''2458540'', ''vm'': ''/vm/00000000-0000-0000-0000-000000000000'', ''domid'': ''0'', ''cpu/0/availability'': ''online'', ''cpu/1/availability'': ''online'', ''control/platform-feature-multiprocessor-suspend'': ''1''} [2007-06-13 10:19:35 2708] DEBUG (XendDomainInfo:954) XendDomainInfo.handleShutdownWatch [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VBD.set_device not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VBD.set_mode not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VBD.set_type not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VM.get_auto_power_on not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VM.set_auto_power_on not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VM.set_VCPUs_max not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VM.set_VCPUs_at_startup not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: debug.get_all not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: console.get_other_config not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: console.set_other_config not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VIF.get_network not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VIF.set_device not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VIF.set_MAC not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VIF.set_MTU not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: session.get_all_records not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: event.get_record not found [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: event.get_all not found @ "/var/log/xen/xend.log" 440L, 71028C What would be a good direction to take to fix this problem? I looked at previosu post in the list and found about eth0 and xenbr0. Mine settings are correct. cc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dylan Martin
2007-Jun-13 18:13 UTC
Re: [Xen-users] Xen 3.1.0 on Fedora 7- libvir: Xen Daemon error :GET operation failed
I recently upgraded also from FC6 to F7. The config file parser is a little more picky than it used to be, so try commenting out bunches of lines in your xm config file and see if that changes anything. I haven''t used virt-install. I ususally write my xm configs by hand, run them with xm and install the OS with the normal OS installer. I''ve been trying to keep notes of my work. You can see them here. They''re probably not very helpful, but you never know: http://www.seattlecentral.edu/cgi-bin/cgiwrap/dmartin/moin.cgi/Xen> Hi, I have been trying to get Xen 3.1 running on Fedora 7 since yesterday > and no luck. > At the beginning I thought it was a problem with teh installation of Fedora > 7 so I reinstalled it. > Still, I have the same problem. I have never had this problem with Xen > (FC5,FC6). The xend.log (below) > includes a line "VmError: Device 0 (vif) could not be connected. Hotplug > scripts not working." > > > More in detail: > When I try to create a guest with virt-install, this is what I get when I > am asked for the install location: > > Starting install... > libvir: Xen Daemon error : GET operation failed: > libvir: error : configuration file syntax error: expecting a name > libvir: error : configuration file syntax error: expecting a name > libvir: error : configuration file syntax error: expecting a name > Retrieving Fedora... 286 kB > 00:00 > Retrieving vmlinuz... 100% |=========================| 2.1 MB 00:02 > Retrieving initrd.img... 100% |=========================| 5.4 MB 00:05 > libvir: Xen Daemon error : GET operation failed: > libvir: Xen Daemon error : POST operation failed: (xend.err ''Device 0 (vif) > could not be connected. Hotplug scripts not working.'') > Traceback (most recent call last): > File "/usr/sbin/virt-install", line 629, in <module> > main() > File "/usr/sbin/virt-install", line 578, in main > dom = guest.start_install(conscb,progresscb) > File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 649, in > start_install > return self._do_install(consolecb, meter) > File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 666, in > _do_install > self.domain = self.conn.createLinux(install_xml, 0). > File "/usr/lib/python2.5/site-packages/libvirt.py", line 480, in > createLinux > if ret is None:raise libvirtError(''virDomainCreateLinux() failed'', > conn=self) > libvirt.libvirtError: virDomainCreateLinux() failed POST operation failed: > (xend.err ''Device 0 (vif) could not be connected. Hotplug scripts not > working.'') > [root@csdp1vm03 ccastil]# > > Now part of my xend.log : > [2007-06-13 10:19:35 2708] INFO (SrvDaemon:331) Xend Daemon started > [2007-06-13 10:19:35 2708] INFO (SrvDaemon:335) Xend changeset: > unavailable. > [2007-06-13 10:19:35 2708] INFO (SrvDaemon:342) Xend version: Unknown. > [2007-06-13 10:19:35 2708] DEBUG (XendDomainInfo:126) > XendDomainInfo.recreate({''max_vcpu_id'': 1, ''cpu_time'': 27700655774L, > ''ssidref'': 0, ''hvm'': 0, ''shutdown_reason'': 0, ''dying'': 0, ''online_vcpus'': > 2, ''domid'': 0, ''paused'': 0, ''crashed'': 0, ''running'': 1, ''maxmem_kb'': > 4294967292L, ''shutdown'': 0, ''mem_kb'': 2458540L, ''handle'': [0, 0, 0, 0, 0, > 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], ''blocked'': 0, ''name'': ''Domain-0''}) > [2007-06-13 10:19:35 2708] INFO (XendDomainInfo:143) Recreating domain 0, > UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0, > [2007-06-13 10:19:35 2708] DEBUG (XendDomainInfo:2019) Storing VM details: > {''on_xend_stop'': ''ignore'', ''shadow_memory'': ''0'', ''uuid'': > ''00000000-0000-0000-0000-000000000000'', ''on_reboot'': ''restart'', ''image'': > ''(linux (kernel ))'', ''on_poweroff'': ''destroy'', ''on_xend_start'': ''ignore'', > ''on_crash'': ''restart'', ''xend/restart_count'': ''0'', ''vcpus'': ''2'', > ''vcpu_avail'': ''3'', ''name'': ''Domain-0''} > [2007-06-13 10:19:35 2708] DEBUG (XendDomainInfo:873) Storing domain > details: {''name'': ''Domain-0'', ''console/limit'': ''1048576'', ''memory/target'': > ''2458540'', ''vm'': ''/vm/00000000-0000-0000-0000-000000000000'', ''domid'': ''0'', > ''cpu/0/availability'': ''online'', ''cpu/1/availability'': ''online'', > ''control/platform-feature-multiprocessor-suspend'': ''1''} > [2007-06-13 10:19:35 2708] DEBUG (XendDomain:443) Adding Domain: 0 > [2007-06-13 10:19:35 2708] DEBUG (XendDomain:379) number of vcpus to use is > 0 > [2007-06-13 10:19:35 2708] INFO (SrvServer:180) unix > path=/var/lib/xend/xend-socket > [2007-06-13 10:19:35 2708] DEBUG (XendDomainInfo:873) Storing domain > details: {''name'': ''Domain-0'', ''console/limit'': ''1048576'', ''memory/target'': > ''2458540'', ''vm'': ''/vm/00000000-0000-0000-0000-000000000000'', ''domid'': ''0'', > ''cpu/0/availability'': ''online'', ''cpu/1/availability'': ''online'', > ''control/platform-feature-multiprocessor-suspend'': ''1''} > [2007-06-13 10:19:35 2708] DEBUG (XendDomainInfo:954) > XendDomainInfo.handleShutdownWatch > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VBD.set_device > not found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VBD.set_mode not > found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VBD.set_type not > found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: > VM.get_auto_power_on not found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: > VM.set_auto_power_on not found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VM.set_VCPUs_max > not found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: > VM.set_VCPUs_at_startup not found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: debug.get_all > not found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: > console.get_other_config not found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: > console.set_other_config not found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VIF.get_network > not found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VIF.set_device > not found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VIF.set_MAC not > found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: VIF.set_MTU not > found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: > session.get_all_records not found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: event.get_record > not found > [2007-06-13 10:19:35 2708] WARNING (XendAPI:672) API call: event.get_all > not found > @ > "/var/log/xen/xend.log" 440L, 71028C > > What would be a good direction to take to fix this problem? I looked at > previosu post in the list and > found about eth0 and xenbr0. Mine settings are correct. > cc > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users