Re: Ceph KVM Ganeti

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jon,
It might be that your qemu-kvm version/build doesn't support lib{rados,rbd}.
Which Ganeti version are you using?

Andi

On Mar 28, 2014 9:58 PM, "Jonathan Gowar" <jon@xxxxxxxxxxxxxxxx> wrote:
Hi,

  I have a 3 node Ceph cluster to test, it's fully operationaly now.

I am now moving toward a virtual platform, and am first looking toward
Ganeti with KVM.

I have the Ganeti node and KVM configured, and from the node I can query
the Ceph cluster; ceph osd tree, ceph health, etc.

When attempting to create a VM though, I get the No such file or
directory error.



root@hype-1:~# gnt-instance add -t rbd  -o debootstrap+default -s 50G
virt-2
Fri Mar 28 20:49:41 2014  - INFO: Resolved given name 'virt-2' to
'virt-2.example.com'
Fri Mar 28 20:49:45 2014  - INFO: Selected nodes for instance
virt-2.example.com via iallocator hail: hype-1.example.com
Fri Mar 28 20:49:45 2014 * disk 0, size 50.0G
Fri Mar 28 20:49:45 2014 * creating instance disks...
Fri Mar 28 20:49:46 2014 adding instance virt-2.example.com to cluster
config
Fri Mar 28 20:49:47 2014  - INFO: Waiting for instance
virt-2.example.com to sync disks
Fri Mar 28 20:49:47 2014  - INFO: Instance virt-2.example.com's disks
are in sync
Fri Mar 28 20:49:47 2014 * running the instance OS create scripts...
Fri Mar 28 20:50:24 2014 * starting instance...
Failure: command execution error:
Could not start instance: Hypervisor error: Failed to start instance
virt-2.example.com: exited with exit code 1 (kvm: -drive
file=rbd:rbd/2dde8ec6-f46c-40e9-b1b7-f5f8a653c42c.rbd.disk0,format=raw,if=none,cache=none,id=hotdisk-92954967-pci-4,bus=0,unit=4: could not open disk image rbd:rbd/2dde8ec6-f46c-40e9-b1b7-f5f8a653c42c.rbd.disk0: No such file or directory

I have noticed this file.

root@hype-1:~# cat /sys/devices/rbd/1/name
2dde8ec6-f46c-40e9-b1b7-f5f8a653c42c.rbd.disk0

Which seems to fit the UUID, so just need to piece these bits together..


Thanks,
Jon


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux