mkcephfs doesn't set up same keys as ceph-deploy
Notably, "mon." doesn't get any permissions associated with it, which can also lead to the problems in #4752. Until we officially deprecate mkcephfs it needs to support all the stuff we package.
#4 Updated by Sage Weil almost 7 years ago
- Status changed from New to 12
- Assignee set to John Wilkins
The transition doc should be something like 'transitioning an existing cluster from mkcephfs to ceph-deploy', and the key step is to add the line
caps mon = "allow *"
so that it looks something like
[mon.] key = AQBJIHhRuHCwDRAAZjBTSJcIBIoGpdOR9ToiyQ== caps mon = "allow *"
also the mon and osd data directories need to be /var/lib/ceph/osd/ceph-$id and /var/lib/ceph/mon/ceph-$id with keyrings in the 'keyring' file in those dirs.
#6 Updated by John Wilkins almost 7 years ago
- Status changed from In Progress to Resolved