]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph_key: add a get_key function
authorSébastien Han <seb@redhat.com>
Wed, 21 Nov 2018 15:17:04 +0000 (16:17 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 26 Nov 2018 17:22:20 +0000 (18:22 +0100)
commit691f373543d96d26b1af61c4ff7731fd888a9ce9
tree32f63d2d280d11de38a4cf1dc287652a3a26773c
parentc14f9b78ff7b88419148ac2dd01611b7ec830598
ceph_key: add a get_key function

When checking if a key exists we also have to ensure that the key exists
on the filesystem, the key can change on Ceph but still have an outdated
version on the filesystem. This solves this issue.

Signed-off-by: Sébastien Han <seb@redhat.com>
library/ceph_key.py
library/test_ceph_key.py