Skip to content

Commit

Permalink
cephadm: fix rgw osd cap tag
Browse files Browse the repository at this point in the history
The syntax is "allow rwx tag rgw *=*'.

Sorry, I thought this would have gotten caught in testing :(

Fixes: 373cc84
Signed-off-by: Patrick Donnelly <[email protected]>
  • Loading branch information
batrick committed Jan 14, 2021
1 parent b4935c0 commit de1efbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pybind/mgr/cephadm/services/cephadmservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ def get_keyring(self, rgw_id: str) -> str:
'entity': self.get_auth_entity(rgw_id),
'caps': ['mon', 'allow *',
'mgr', 'allow rw',
'osd', 'allow rwx tag rgw'],
'osd', 'allow rwx tag rgw *=*'],
})
return keyring

Expand Down

0 comments on commit de1efbd

Please sign in to comment.