]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: error on commands that need ceph.conf to operate 22747/head
authorAndrew Schoen <aschoen@redhat.com>
Tue, 26 Jun 2018 19:19:43 +0000 (14:19 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 27 Jun 2018 20:26:58 +0000 (15:26 -0500)
commit70e6a155ed920fb071528f657336995fdd28dc46
tree33fc73e60ab993854698b11420f5d1e271d92390
parentba494f5d22376e5d09a309c93aaa3e21d9cbfc56
ceph-volume: error on commands that need ceph.conf to operate

We had been ignoring the failure to load ceph.conf for all subcommands
but most of them require that a ceph.conf be present. This changes that
so only commands that do not need ceph.conf ignore the failure to find
it.

Fixes: http://tracker.ceph.com/issues/23941
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit de8b301ac20ae07f59a19bc1b3a083e9c010667d)
src/ceph-volume/ceph_volume/main.py