digimer

Untitled

Apr 29th, 2011
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.30 KB | None | 0 0
  1. 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
  2. Fri, 29 Apr 2011 10:22:13 DEBUG Requesting libvirt URI xen
  3. Fri, 29 Apr 2011 10:22:13 DEBUG Received libvirt URI 'xen:///'
  4. Fri, 29 Apr 2011 10:22:13 DEBUG Requesting virt method 'xen'
  5. Fri, 29 Apr 2011 10:22:13 DEBUG Received virt method 'xen'
  6. Fri, 29 Apr 2011 10:22:13 DEBUG Hypervisor name is 'xen'
  7. 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)
  8. Fri, 29 Apr 2011 10:22:13 DEBUG Setting size for existing storage to '223.52734375'
  9. Fri, 29 Apr 2011 10:22:13 DEBUG Detected storage as type 'block'
  10. Fri, 29 Apr 2011 10:22:13 DEBUG Setting size for existing storage to '223.52734375'
  11. Fri, 29 Apr 2011 10:22:13 DEBUG Detected storage as type 'block'
  12. Fri, 29 Apr 2011 10:22:14 DEBUG Setting size for existing storage to '223.52734375'
  13. Fri, 29 Apr 2011 10:22:14 DEBUG Detected storage as type 'block'
  14. Fri, 29 Apr 2011 10:22:14 DEBUG DistroInstaller location is a network source.
  15.  
  16.  
  17. Starting install...
  18. Fri, 29 Apr 2011 10:22:14 DEBUG Attempting to detect distro:
  19. Fri, 29 Apr 2011 10:22:14 DEBUG Fetching URI: http://10.255.0.1/f9/x86_64/img/.treeinfo
  20. Fri, 29 Apr 2011 10:22:14 DEBUG Saved file to /var/lib/xen/virtinst-.treeinfo.yPFf9X
  21. Retrieving file .treeinfo... | 390 B 00:00
  22. Fri, 29 Apr 2011 10:22:14 DEBUG Fetching URI: http://10.255.0.1/f9/x86_64/img/images/xen/vmlinuz
  23. Fri, 29 Apr 2011 10:22:14 DEBUG Saved file to /var/lib/xen/virtinst-vmlinuz.iOq8xG
  24. Retrieving file vmlinuz... | 1.8 MB 00:00
  25. Fri, 29 Apr 2011 10:22:14 DEBUG Fetching URI: http://10.255.0.1/f9/x86_64/img/images/xen/initrd.img
  26. 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
  27. Retrieving file initrd.img... | 16 MB 00:01
  28. Fri, 29 Apr 2011 10:22:15 DEBUG Creating guest from:
  29. <domain type='xen'>
  30. <name>vm0002_pppoe</name>
  31. <currentMemory>2097152</currentMemory>
  32. <memory>2097152</memory>
  33. <uuid>3ed976f1-1989-7414-61ec-e432a2f0435e</uuid>
  34. <os>
  35. <type arch='x86_64'>linux</type>
  36. <kernel>/var/lib/xen/virtinst-vmlinuz.iOq8xG</kernel>
  37. <initrd>/var/lib/xen/virtinst-initrd.img.3ZM022</initrd>
  38. <cmdline>method=http://10.255.0.1/f9/x86_64/img</cmdline>
  39. </os>
  40. <on_poweroff>destroy</on_poweroff>
  41. <on_reboot>destroy</on_reboot>
  42. <on_crash>destroy</on_crash>
  43. <vcpu cpuset='1-7'>1</vcpu>
  44. <devices>
  45. <disk type='block' device='disk'>
  46. <source dev='/dev/drbd_x4_vg0/vm0002_1'/>
  47. <target dev='xvda' bus='xen'/>
  48. </disk>
  49. <interface type='bridge'>
  50. <source bridge='xenbr0'/>
  51. <mac address='00:16:36:33:fa:a1'/>
  52. </interface>
  53. <interface type='bridge'>
  54. <source bridge='xenbr2'/>
  55. <mac address='00:16:36:19:30:5d'/>
  56. </interface>
  57. <input type='mouse' bus='xen'/>
  58. <graphics type='vnc' port='-1' keymap='en-us'/>
  59. </devices>
  60. </domain>
  61.  
  62. Fri, 29 Apr 2011 10:23:58 DEBUG Removing /var/lib/xen/virtinst-vmlinuz.iOq8xG
  63. Fri, 29 Apr 2011 10:23:58 DEBUG Removing /var/lib/xen/virtinst-initrd.img.3ZM022
  64. 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.')
  65. Domain installation may not have been
  66. successful. If it was, you can restart your domain
  67. by running 'virsh start vm0002_pppoe'; otherwise, please
  68. restart your installation.
  69. 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.')
  70. Traceback (most recent call last):
  71. File "/usr/sbin/virt-install", line 892, in ?
  72. main()
  73. File "/usr/sbin/virt-install", line 754, in main
  74. start_time, guest.start_install)
  75. File "/usr/sbin/virt-install", line 816, in do_install
  76. dom = install_func(conscb, progresscb, wait=(not wait))
  77. File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install
  78. return self._do_install(consolecb, meter, removeOld, wait)
  79. File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install
  80. self.domain = self.conn.createLinux(install_xml, 0)
  81. File "/usr/lib64/python2.4/site-packages/libvirt.py", line 1277, in createLinux
  82. if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
  83. 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