Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xml file:
- [root@xen-host02 VM]# more haproxy00.xml
- <domain type='kvm'>
- <name>haproxy00.soleks.net</name>
- <uuid>bc5a1e86-cb2c-47d9-8a45-275865b55de0</uuid>
- <memory unit='KiB'>2097152</memory>
- <currentMemory unit='KiB'>2097152</currentMemory>
- <vcpu placement='static'>2</vcpu>
- <os>
- <type arch='x86_64'>hvm</type>
- <kernel>/boot/VM/vmlinuz-2.6.32-642.1.1.el6.x86_64</kernel>
- <initrd>/boot/VM/initramfs-2.6.32-642.1.1.el6.x86_64.img</initrd>
- <cmdline>root=/dev/mapper/vg_haproxy00-vol_root rdshell console=hvc0</cmdline>
- </os>
- <clock offset='utc' adjustment='reset'/>
- <on_poweroff>destroy</on_poweroff>
- <on_reboot>restart</on_reboot>
- <on_crash>destroy</on_crash>
- <devices>
- <disk type='network' device='disk'>
- <source protocol='rbd' name='vm_images/vol-haproxy00.soleks.net'>
- <host name='xen-host00' port='6789'/>
- <host name='xen-host02' port='6789'/>
- <config file='/etc/ceph/ceph.conf'/>
- </source>
- <auth username='xen'>
- <secret type='ceph' uuid='d04f63ae-df4c-42ba-9da7-2482634e858c'/>
- </auth>
- <target dev='xvda' bus='virtio'/>
- </disk>
- <interface type='bridge'>
- <mac address='00:16:3e:0a:00:00'/>
- <source bridge='br-core41'/>
- </interface>
- <interface type='bridge'>
- <mac address='00:16:3e:0a:00:01'/>
- <source bridge='br-dmz36'/>
- </interface>
- <interface type='bridge'>
- <mac address='00:16:3e:0a:00:02'/>
- <source bridge='br-core402'/>
- </interface>
- <interface type='bridge'>
- <mac address='00:16:3e:0a:00:03'/>
- <source bridge='br-core412'/>
- </interface>
- <console type='pty'>
- <target port='0'/>
- </console>
- <input type='mouse' bus='usb'/>
- <input type='keyboard' bus='usb'/>
- </devices>
- </domain>
- [root@xen-host02 VM]# virsh create haproxy00.xml --console
- error: Failed to create domain from haproxy00.xml
- 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