]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: Make ceph-iscsi api user and password mandatory 35097/head
authorMatthew Oliver <moliver@suse.com>
Fri, 15 May 2020 00:56:14 +0000 (10:56 +1000)
committerMatthew Oliver <moliver@suse.com>
Tue, 19 May 2020 00:17:40 +0000 (00:17 +0000)
commita36165b8dacaae3ab673a3e79f831a0de659341b
tree0e18a6e5acd2b79ff5c981f5eb2e7cd10dda7563
parentacefe44a499324185088c767287ccfe628743877
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>
src/pybind/mgr/cephadm/tests/test_cephadm.py
src/pybind/mgr/orchestrator/module.py
src/python-common/ceph/deployment/service_spec.py