Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- virt-install --connect xen --name vm0002_pppoe --ram 2048 --arch x86_64 --vcpus 1 --cpuset 1-7 --location http://10.255.0.1/f9/x86_64/img --os-type linux --os-variant rhel5.4 --disk path=/dev/drbd_x4_vg0/vm0002_1 --network bridge=xenbr0 --network bridge=xenbr2 --vnc --paravirt --debug
- Fri, 29 Apr 2011 10:22:13 DEBUG Requesting libvirt URI xen
- Fri, 29 Apr 2011 10:22:13 DEBUG Received libvirt URI 'xen:///'
- Fri, 29 Apr 2011 10:22:13 DEBUG Requesting virt method 'xen'
- Fri, 29 Apr 2011 10:22:13 DEBUG Received virt method 'xen'
- Fri, 29 Apr 2011 10:22:13 DEBUG Hypervisor name is 'xen'
- Fri, 29 Apr 2011 10:22:13 DEBUG parse_disk: returning ('/dev/drbd_x4_vg0/vm0002_1', None, None, 'disk', None, False, False, None, True, None)
- Fri, 29 Apr 2011 10:22:13 DEBUG Setting size for existing storage to '223.52734375'
- Fri, 29 Apr 2011 10:22:13 DEBUG Detected storage as type 'block'
- Fri, 29 Apr 2011 10:22:13 DEBUG Setting size for existing storage to '223.52734375'
- Fri, 29 Apr 2011 10:22:13 DEBUG Detected storage as type 'block'
- Fri, 29 Apr 2011 10:22:14 DEBUG Setting size for existing storage to '223.52734375'
- Fri, 29 Apr 2011 10:22:14 DEBUG Detected storage as type 'block'
- Fri, 29 Apr 2011 10:22:14 DEBUG DistroInstaller location is a network source.
- Starting install...
- Fri, 29 Apr 2011 10:22:14 DEBUG Attempting to detect distro:
- Fri, 29 Apr 2011 10:22:14 DEBUG Fetching URI: http://10.255.0.1/f9/x86_64/img/.treeinfo
- Fri, 29 Apr 2011 10:22:14 DEBUG Saved file to /var/lib/xen/virtinst-.treeinfo.yPFf9X
- Retrieving file .treeinfo... | 390 B 00:00
- Fri, 29 Apr 2011 10:22:14 DEBUG Fetching URI: http://10.255.0.1/f9/x86_64/img/images/xen/vmlinuz
- Fri, 29 Apr 2011 10:22:14 DEBUG Saved file to /var/lib/xen/virtinst-vmlinuz.iOq8xG
- Retrieving file vmlinuz... | 1.8 MB 00:00
- Fri, 29 Apr 2011 10:22:14 DEBUG Fetching URI: http://10.255.0.1/f9/x86_64/img/images/xen/initrd.img
- Fri, 29 Apr 2011 10:22:15 DEBUG Saved file to /var/lib/xen/virtinst-initrd.img.3ZM0220% [=============================================================- ] 5.9 MB/s | 13 MB 00:00 ETA
- Retrieving file initrd.img... | 16 MB 00:01
- Fri, 29 Apr 2011 10:22:15 DEBUG Creating guest from:
- <domain type='xen'>
- <name>vm0002_pppoe</name>
- <currentMemory>2097152</currentMemory>
- <memory>2097152</memory>
- <uuid>3ed976f1-1989-7414-61ec-e432a2f0435e</uuid>
- <os>
- <type arch='x86_64'>linux</type>
- <kernel>/var/lib/xen/virtinst-vmlinuz.iOq8xG</kernel>
- <initrd>/var/lib/xen/virtinst-initrd.img.3ZM022</initrd>
- <cmdline>method=http://10.255.0.1/f9/x86_64/img</cmdline>
- </os>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>destroy</on_reboot>
- <on_crash>destroy</on_crash>
- <vcpu cpuset='1-7'>1</vcpu>
- <devices>
- <disk type='block' device='disk'>
- <source dev='/dev/drbd_x4_vg0/vm0002_1'/>
- <target dev='xvda' bus='xen'/>
- </disk>
- <interface type='bridge'>
- <source bridge='xenbr0'/>
- <mac address='00:16:36:33:fa:a1'/>
- </interface>
- <interface type='bridge'>
- <source bridge='xenbr2'/>
- <mac address='00:16:36:19:30:5d'/>
- </interface>
- <input type='mouse' bus='xen'/>
- <graphics type='vnc' port='-1' keymap='en-us'/>
- </devices>
- </domain>
- Fri, 29 Apr 2011 10:23:58 DEBUG Removing /var/lib/xen/virtinst-vmlinuz.iOq8xG
- Fri, 29 Apr 2011 10:23:58 DEBUG Removing /var/lib/xen/virtinst-initrd.img.3ZM022
- Fri, 29 Apr 2011 10:23:58 ERROR POST operation failed: xend_post: error from xen daemon: (xend.err 'Device 1 (vif) could not be connected. Hotplug scripts not working.')
- Domain installation may not have been
- successful. If it was, you can restart your domain
- by running 'virsh start vm0002_pppoe'; otherwise, please
- restart your installation.
- Fri, 29 Apr 2011 10:23:58 ERROR POST operation failed: xend_post: error from xen daemon: (xend.err 'Device 1 (vif) could not be connected. Hotplug scripts not working.')
- Traceback (most recent call last):
- File "/usr/sbin/virt-install", line 892, in ?
- main()
- File "/usr/sbin/virt-install", line 754, in main
- start_time, guest.start_install)
- File "/usr/sbin/virt-install", line 816, in do_install
- dom = install_func(conscb, progresscb, wait=(not wait))
- File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install
- return self._do_install(consolecb, meter, removeOld, wait)
- File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install
- self.domain = self.conn.createLinux(install_xml, 0)
- File "/usr/lib64/python2.4/site-packages/libvirt.py", line 1277, in createLinux
- if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
- libvirtError: POST operation failed: xend_post: error from xen daemon: (xend.err 'Device 1 (vif) could not be connected. Hotplug scripts not working.')
Advertisement
Add Comment
Please, Sign In to add comment