]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: Make ceph-iscsi api user and password mandatory
authorMatthew Oliver <moliver@suse.com>
Fri, 15 May 2020 00:56:14 +0000 (10:56 +1000)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 2 Jun 2020 12:58:27 +0000 (14:58 +0200)
commit4549cbcf53b71133d9740a9badc12def7f0f8dd8
treee5bcd0e5ae0bc03d55b83b4cf25382c6f6099541
parent64e05c773ecd0162d4a334c66c613fbcf0609278
cephadm: Make ceph-iscsi api user and password mandatory

The api user and password is required in order to use the API so let's
make these mandatory. The `ceph orch daemon add iscsi` now has them
mandatory:

  ceph orch daemon add iscsi <pool> <api_user> <api_password>

If your using apply with a yaml file, the validate_add in the spec now
checks for these too.

Signed-off-by: Matthew Oliver <moliver@suse.com>
(cherry picked from commit a36165b8dacaae3ab673a3e79f831a0de659341b)
src/pybind/mgr/cephadm/tests/test_cephadm.py
src/pybind/mgr/orchestrator/module.py
src/python-common/ceph/deployment/service_spec.py