]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: identify iscsi service by the pool
authorSage Weil <sage@newdream.net>
Fri, 19 Mar 2021 15:59:46 +0000 (10:59 -0500)
committerSage Weil <sage@newdream.net>
Mon, 22 Mar 2021 17:48:24 +0000 (12:48 -0500)
Since we deploy one of these per pool, name the service by the pool.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit d8fff6e522d91a56f93c613710e45c232f4450fd)

src/pybind/mgr/orchestrator/module.py

index cd843ff17003018fc4cadab248d1339b25468b8b..c96a9995bb5501937d40e7ee9d8d4034b3d742ca 100644 (file)
@@ -1131,7 +1131,7 @@ Usage:
             raise OrchestratorValidationError('unrecognized command -i; -h or --help for usage')
 
         spec = IscsiServiceSpec(
-            service_id='iscsi',
+            service_id=pool,
             pool=pool,
             api_user=api_user,
             api_password=api_password,