]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
igw: Add check for mismatch ceph-iscsi and iscsigws.yml settings
authorMike Christie <mchristi@redhat.com>
Mon, 13 May 2019 17:59:27 +0000 (12:59 -0500)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 4 Jul 2019 00:04:04 +0000 (00:04 +0000)
commitdd4d12662b6441aa7c1ffd03fd1fc9ee2332cfbe
tree07eb83ca58dca9a3815ccc59e334beb793155aaa
parentdb65b82a42a64ffc031dddf0a03ae25177b4c5c9
igw: Add check for mismatch ceph-iscsi and iscsigws.yml settings

If the user has manually installed ceph-iscsi but is trying to setup a
iscsi object in iscsigws.yml you will just a python crash. This patch
adds a check and more user friendly error message for the case.

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit 2e1a4328a85f4cee5d4e7144b8fd9e96324b5f53)
library/igw_gateway.py