diff options
Diffstat (limited to 'src/pybind/mgr/cephadm/services')
-rw-r--r-- | src/pybind/mgr/cephadm/services/iscsi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pybind/mgr/cephadm/services/iscsi.py b/src/pybind/mgr/cephadm/services/iscsi.py index 5e63c4788bf..5a7d765fe1b 100644 --- a/src/pybind/mgr/cephadm/services/iscsi.py +++ b/src/pybind/mgr/cephadm/services/iscsi.py @@ -23,7 +23,7 @@ class IscsiService(CephadmService): def create(self, igw_id, host, spec) -> str: ret, keyring, err = self.mgr.check_mon_command({ 'prefix': 'auth get-or-create', - 'entity': utils.name_to_auth_entity('iscsi') + '.' + igw_id, + 'entity': utils.name_to_auth_entity('iscsi', igw_id), 'caps': ['mon', 'profile rbd, ' 'allow command "osd blacklist", ' 'allow command "config-key get" with "key" prefix "iscsi/"', |