]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: improve iscsi dashboard config
authorAdam King <adking@redhat.com>
Thu, 19 Nov 2020 23:49:25 +0000 (18:49 -0500)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 7 Jan 2021 12:02:43 +0000 (13:02 +0100)
commit013884acea2253d2001cbcbc635d52ca5f889e77
tree6c334c9a59151666e014f5c5ec22d8f33db30e3f
parent7572346ba1c13b664d336dc2e1a53a581116f7b7
mgr/cephadm: improve iscsi dashboard config

updating iscsi config dashboard to match what was done with ceph ansible.
This includes:
  - set iscsi api ssl verification to false when api_secure is set
  - using https rather than http in gateway url when spi_secure is set
  - default api_user and api_password to "admin"
  - convert hostname to ip address when creating gateway url

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit ba6d22b492400588de22b93189eee8818f647807)
src/pybind/mgr/cephadm/services/cephadmservice.py
src/pybind/mgr/cephadm/services/iscsi.py
src/pybind/mgr/cephadm/utils.py
src/python-common/ceph/deployment/service_spec.py