]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
test_build_key_path_bootstrap_osd: fix
authorSébastien Han <seb@redhat.com>
Fri, 16 Nov 2018 09:41:12 +0000 (10:41 +0100)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Tue, 27 Nov 2018 16:47:40 +0000 (16:47 +0000)
commitd9ac9d466cfbbfa53d6014dfe374e8ea98887c4e
tree9f49ed6422dbd2725fb975389d243cc843c53ecc
parent1afa4c5c95e5bc28db192de685ca01ce4be2f211
test_build_key_path_bootstrap_osd: fix

The entity name is client.bootstrap-osd (as returned by Ceph), and not
bootstrap-osd. The build_key_path function split 'client.bootstrap-osd'
on the '.' so using bootstrap-osd fails with index out of range.

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