Proxmox4 and ceph

Melanxolik

Well-Known Member
Dec 18, 2013
86
0
46
I installed new cluster with proxmox4 and ceph, created new pool and created new VM, connected rdb pool in gui interface proxmox, created new vm.
When I started vm, i got error message:

root@cluster-2-1:~# qm start 1002
Running as unit 1002.scope.
libust[20838/20838]: Error: Error cancelling global ust listener thread: No such process (in lttng_ust_exit() at lttng-ust-comm.c:1592)
libust[20838/20838]: Error: Error cancelling local ust listener thread: No such process (in lttng_ust_exit() at lttng-ust-comm.c:1601)
kvm: -drive file=rbd:ST01/vm-1002-disk-1:mon_host=192.168.16.1,192.168.16.2,192.168.16.3:id=admin:auth_supported=cephx:keyring=/etc/pve/priv/ceph/ST01.keyring,if=none,id=drive-virtio0,format=raw,cache=none,aio=native,detect-zeroes=on: Block format 'raw' used by device 'drive-virtio0' doesn't support the option '192.168.16.3:id'
libust[20839/20839]: Error: Error cancelling global ust listener thread: No such process (in lttng_ust_exit() at lttng-ust-comm.c:1592)
start failed: command '/usr/bin/systemd-run --scope --slice qemu --unit 1002 -p 'CPUShares=1000' /usr/bin/kvm -id 1002 -chardev 'socket,id=qmp,path=/var/run/qemu-server/1002.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -vnc unix:/var/run/qemu-server/1002.vnc,x509,password -pidfile /var/run/qemu-server/1002.pid -daemonize -smbios 'type=1,uuid=923dfa53-bf91-4f46-bc10-b1731ccad532' -name WinT -smp '1,sockets=1,cores=1,maxcpus=1' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000' -vga std -no-hpet -cpu 'kvm64,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_relaxed,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,-kvm_steal_time,enforce' -m 512 -k en-us -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' -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:4dfda0936f97' -drive 'file=/var/lib/vz/template/iso/ru_windows_7_ultimate_with_sp1_x64_dvd_u_677391.iso,if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive 'file=rbd:ST01/vm-1002-disk-1:mon_host=192.168.16.1,192.168.16.2,192.168.16.3:id=admin:auth_supported=cephx:keyring=/etc/pve/priv/ceph/ST01.keyring,if=none,id=drive-virtio0,format=raw,cache=none,aio=native,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=tap1002i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=72:12:21:32:1E:94,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -rtc 'driftfix=slew,base=localtime' -global 'kvm-pit.lost_tick_policy=discard'' failed: exit code 1

it's new install proxmox cluster from iso image at this week, why does this not work?
root@cluster-2-1:~# cat /etc/pve/nodes/cluster-2-1/qemu-server/1002.conf
bootdisk: virtio0
cores: 1
ide2: local:iso/ru_windows.iso,media=cdrom
memory: 512
name: WinT
net0: virtio=72:12:21:32:1E:94,bridge=vmbr159
numa: 0
ostype: win7
smbios1: uuid=923dfa53-bf91-4f46-bc10-b1731ccad532
sockets: 1
virtio0: ST01:vm-1002-disk-1,size=60G
root@cluster-2-1:~#
 
I installed new cluster with proxmox4 and ceph, created new pool and created new VM, connected rdb pool in gui interface proxmox, created new vm.
When I started vm, i got error message:



it's new install proxmox cluster from iso image at this week, why does this not work?
Hi,
looks that your ceph-entry in /etc/pve/storage.cfg isn't correct.
Should look like this
Code:
rbd: ST01
        monhost 192.168.16.1 192.168.16.2 192.168.16.3
        content images
        username admin
        pool ST01
or is something wrong with the pool ST01? or permisions?

Udo
 
I append checkbox krbd and after that vm started

rbd: ST01
monhost 192.168.126.1,192.168.126.2,192.168.126.3
username admin
krbd
pool ST01
content images,rootdir

but, i got error message:
/dev/rbd0
libust[9277/9277]: Warning: HOME environment variable not set. Disabling LTTng-UST per-user tracing. (in setup_local_apps() at lttng-ust-comm.c:375)
Running as unit 1002.scope.
libust[9296/9296]: Warning: HOME environment variable not set. Disabling LTTng-UST per-user tracing. (in setup_local_apps() at lttng-ust-comm.c:375)
libust[9299/9299]: Error: Error cancelling global ust listener thread: No such process (in lttng_ust_exit() at lttng-ust-comm.c:1592)
TASK OK

All this message very strange, and I wont' to fix this, but I dont' know how? a can do it this
 
about lltng warning message,

this is a bug in hammer packages with kernel apparmor.
I'll be fixed soon in coming ceph packages.

But it's really a warning, and don't break nothing


for storage.cfg, you should use:

Code:
[COLOR=#333333][I]monhost 192.168.126.1;192.168.126.2;192.168.126.3
[/I][/COLOR]
 

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!