mirror of
https://github.com/ceph/ceph
synced 2025-01-19 01:21:49 +00:00
mon/MonCap: remove useless 'osd crush add' perm from profile bootstrap-osd
Bootstrap doesn't use or need this; the crush update happens when the osd starts up (see init-ceph or upstart/ceph-osd.conf). Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
This commit is contained in:
parent
0380475b95
commit
ed6233e58b
@ -148,7 +148,6 @@ void MonCapGrant::expand_profile(entity_name_t name) const
|
||||
profile_grants.push_back(MonCapGrant("osd", MON_CAP_R)); // read osdmap
|
||||
profile_grants.push_back(MonCapGrant("mon getmap"));
|
||||
profile_grants.push_back(MonCapGrant("osd create"));
|
||||
profile_grants.push_back(MonCapGrant("osd crush set")); // FIXME: constraint this further?
|
||||
profile_grants.push_back(MonCapGrant("auth add"));
|
||||
profile_grants.back().command_args["entity"] = StringConstraint("", "osd.");
|
||||
profile_grants.back().command_args["caps_mon"] = StringConstraint("allow profile osd", "");
|
||||
|
Loading…
Reference in New Issue
Block a user