]> 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)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 3 Jul 2019 20:13:19 +0000 (22:13 +0200)
commit2e1a4328a85f4cee5d4e7144b8fd9e96324b5f53
tree4fe9da6939a3c2b753ab38a3eb84a90334db416c
parent1e64efc2f07af9f99f33a28af31e3186899139b9
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>
library/igw_gateway.py