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

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

2014-02-11 Thread Scott Sullivan
As the subject suggests, I am wondering if its possible to verify if the currently defined libvirt secret provides valid authentication via Cephx to a Ceph cluster? I ask because ideally I would like to verify that the given cephx credentials in my libvirt secret are valid before I even attempt

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

2014-02-11 Thread Scott Sullivan
I know I would still have to provide the Mon addresses and Cephx user to go with the secret UUID, that's fine. The primary goal is so I can just see if I can open a RADOS connection to the cluster before I try a virsh attach-device. On Tue, Feb 11, 2014 at 9:37 AM, Scott Sullivan