Re: [libvirt-users] couple of ceph/rbd questions

2015-03-31 Thread Josh Durgin
On 03/31/2015 11:47 AM, Brian Kroth wrote: Hi, I've recently been working on setting up a set of libvirt compute nodes that will be using a ceph rbd pool for storing vm disk image files. I've got a couple of issues I've run into. First, per the standard ceph documentation examples [1], the way

Re: [libvirt-users] Can you verify currently defined libvirt secret provides valid Cephx auth?

2014-02-12 Thread Josh Durgin
libvirt itself doesn't connect to the cluster unless you're using a libvirt storage pool, so I don't think there's a way to do this without getting the secret from libvirt and running a ceph command line tool with it, e.g. KEY=$(virsh secret-get-value ...) ceph health --key $KEY Josh On 02/11/20

Re: [libvirt-users] Create RBD Format 2 disk images with qemu-image

2013-10-21 Thread Josh Durgin
On 10/17/2013 05:28 AM, Jon wrote: Hello, I would like to use RBD Format 2 images so I can take advantage of layering. However, when I use "qemu-img create -f rbd rbd:data/foo 10G", I get format 1 RBD images. (Actually, when I use the "-f rbd" flag, qemu-img core dumps, but it looks like that f

Re: [libvirt-users] VM with ceph backend snapshot-revert error

2013-09-24 Thread Josh Durgin
On 09/24/2013 01:02 AM, 王根意 wrote: Hey guys: I have a running vm with ceph backend: root@apc20-005:~# virsh list Id Name State -- 56 one-240 running And *snapshot-create-as* works well: root@apc20-005:~# vir

Re: [libvirt-users] [ceph-users] Setting RBD cache parameters for libvirt+qemu

2013-06-07 Thread Josh Durgin
On 06/07/2013 04:18 PM, John Nielsen wrote: On Jun 7, 2013, at 5:01 PM, Josh Durgin wrote: On 06/07/2013 02:41 PM, John Nielsen wrote: I am running some qemu-kvm virtual machines via libvirt using Ceph RBD as the back-end storage. Today I was testing an update to libvirt-1.0.6 on one of my

Re: [libvirt-users] [ceph-users] Setting RBD cache parameters for libvirt+qemu

2013-06-07 Thread Josh Durgin
On 06/07/2013 02:41 PM, John Nielsen wrote: I am running some qemu-kvm virtual machines via libvirt using Ceph RBD as the back-end storage. Today I was testing an update to libvirt-1.0.6 on one of my hosts and discovered that it includes this change: [libvirt] [PATCH] Forbid use of ':'

Re: [libvirt-users] libvirt 0.10 and cephx

2012-09-19 Thread Josh Durgin
On 09/18/2012 06:51 AM, Andrey Korolyov wrote: Hello, Current version adding 'auth_supported=none' at the end of disk path and failing to do an authentication with specified cephx key: If you use the libvirt secret explicitly instead of passing it

Re: [libvirt-users] using RBD with libvirt 0.9.13

2012-08-06 Thread Josh Durgin
On 08/06/2012 01:45 PM, Jeff Strunk wrote: Thank you it works now. The issue was the lack of the auth element. qemu has access to /etc/ceph/ceph.conf. Specifying the host elements in the source element caused a crash: error: Failed to start domain test0 error: internal error process exited wh

Re: [libvirt-users] using RBD with libvirt 0.9.13

2012-08-06 Thread Josh Durgin
On 08/06/2012 12:12 PM, Jeff Strunk wrote: I'm having some trouble creating KVM domains with RBD block devices using virsh. I've managed to get virsh to define the domain, but it gives an error when trying to start the domain: error: Failed to start domain test0 error: internal error process exit