]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: error on commands that need ceph.conf to operate 22746/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:20 +0000 (15:26 -0500)
commit7108052ff4ae87d8fa7acd581595d43ef960437a
treeec58d654851d2553c9d56ac29e48aac9b4e6372a
parentb1b07feee00e258969f84ca321c7963df3213881
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