Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2016
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. xml file:
  2. [root@xen-host02 VM]# more haproxy00.xml
  3. <domain type='kvm'>
  4. <name>haproxy00.soleks.net</name>
  5. <uuid>bc5a1e86-cb2c-47d9-8a45-275865b55de0</uuid>
  6. <memory unit='KiB'>2097152</memory>
  7. <currentMemory unit='KiB'>2097152</currentMemory>
  8. <vcpu placement='static'>2</vcpu>
  9. <os>
  10. <type arch='x86_64'>hvm</type>
  11. <kernel>/boot/VM/vmlinuz-2.6.32-642.1.1.el6.x86_64</kernel>
  12. <initrd>/boot/VM/initramfs-2.6.32-642.1.1.el6.x86_64.img</initrd>
  13. <cmdline>root=/dev/mapper/vg_haproxy00-vol_root rdshell console=hvc0</cmdline>
  14. </os>
  15. <clock offset='utc' adjustment='reset'/>
  16. <on_poweroff>destroy</on_poweroff>
  17. <on_reboot>restart</on_reboot>
  18. <on_crash>destroy</on_crash>
  19. <devices>
  20. <disk type='network' device='disk'>
  21. <source protocol='rbd' name='vm_images/vol-haproxy00.soleks.net'>
  22. <host name='xen-host00' port='6789'/>
  23. <host name='xen-host02' port='6789'/>
  24. <config file='/etc/ceph/ceph.conf'/>
  25. </source>
  26. <auth username='xen'>
  27. <secret type='ceph' uuid='d04f63ae-df4c-42ba-9da7-2482634e858c'/>
  28. </auth>
  29. <target dev='xvda' bus='virtio'/>
  30. </disk>
  31. <interface type='bridge'>
  32. <mac address='00:16:3e:0a:00:00'/>
  33. <source bridge='br-core41'/>
  34. </interface>
  35. <interface type='bridge'>
  36. <mac address='00:16:3e:0a:00:01'/>
  37. <source bridge='br-dmz36'/>
  38. </interface>
  39. <interface type='bridge'>
  40. <mac address='00:16:3e:0a:00:02'/>
  41. <source bridge='br-core402'/>
  42. </interface>
  43. <interface type='bridge'>
  44. <mac address='00:16:3e:0a:00:03'/>
  45. <source bridge='br-core412'/>
  46. </interface>
  47. <console type='pty'>
  48. <target port='0'/>
  49. </console>
  50. <input type='mouse' bus='usb'/>
  51. <input type='keyboard' bus='usb'/>
  52. </devices>
  53. </domain>
  54.  
  55. [root@xen-host02 VM]# virsh create haproxy00.xml --console
  56. error: Failed to create domain from haproxy00.xml
  57. error: internal error: process exited while connecting to monitor: 2016-07-02T18:38:36.211194Z qemu-system-x86_64: -drive file=rbd:vm_images/vol-haproxy00.soleks.net:id=xen:auth_supported=cephx\;none:mon_host=xen-host00\:6789\;xen-host02\:6789:conf=/etc/ceph/ceph.conf,password-secret=virtio-disk0-secret0,format=raw,if=none,id=drive-virtio-disk0: Block format 'raw' does not support the option 'password-secret'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement