]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: improve iscsi dashboard config 38439/head
authorAdam King <adking@redhat.com>
Thu, 19 Nov 2020 23:49:25 +0000 (18:49 -0500)
committerAdam King <adking@redhat.com>
Wed, 9 Dec 2020 13:54:41 +0000 (08:54 -0500)
commitba6d22b492400588de22b93189eee8818f647807
tree18ac8f2b204b0bb89df8627a153aeaa5c9e29d2a
parent9ce1f20eb7ddd0cc7dbe5083caf9e9a899dba686
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>
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