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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|