proxmox ve 3.4 use ceph vm can't start

babodx

New Member
May 15, 2015
1
0
1
i use ceph for vm disk. vm can't start
if i remove vm's disk, it can startup
root@pve1:~# qm start 100
kvm: -drive file=rbd:rbd/vm-100-disk-1:mon_host=pve1,pve2:id=admin:auth_supported=cephx:keyring=/etc/pve/priv/ceph/mystorage.keyring,if=none,id=drive-virtio0,aio=native,cache=none,detect-zeroes=on: could not open disk image rbd:rbd/vm-100-disk-1:mon_host=pve1: Block format 'raw' used by device 'drive-virtio0' doesn't support the option 'pve2:id'
start failed: command '/usr/bin/kvm -id 100 -chardev 'socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -vnc unix:/var/run/qemu-server/100.vnc,x509,password -pidfile /var/run/qemu-server/100.pid -daemonize -smbios 'type=1,uuid=5912954b-e5cb-48b5-8b23-5b9b12382466' -name test1 -smp '2,sockets=1,cores=2,maxcpus=2' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000' -vga cirrus -cpu kvm64,+lahf_lm,+x2apic,+sep -m 2048 -k en-us -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:de183c34a2' -drive 'if=none,id=drive-ide2,media=cdrom,aio=native' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive 'file=rbd:rbd/vm-100-disk-1:mon_host=pve1,pve2:id=admin:auth_supported=cephx:keyring=/etc/pve/priv/ceph/mystorage.keyring,if=none,id=drive-virtio0,aio=native,cache=none,detect-zeroes=on' -device 'virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown' -device 'e1000,mac=3E:AD:F7:A3:3F:CE,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'' failed: exit code 1
root@pve1:~# /usr/bin/kvm --version
QEMU emulator version 2.1.3, Copyright (c) 2003-2008 Fabrice Bellard
 
...
root@pve1:~# /usr/bin/kvm --version
QEMU emulator version 2.1.3, Copyright (c) 2003-2008 Fabrice Bellard

1. you run an old version, update to latest

2. post the VM config (with disks added)

> qm config 100
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!