-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ceph: create new keyring for osd #8155
Conversation
going with option 1. Discussed here |
getting this in activate init container...looking to this |
Please paste the content of |
looks like it has key only and it has to be in
in this format. right? |
Yes you need this format:
|
getting Error EACCES: access denied
|
4520f41
to
4edbdfa
Compare
Alright, I was convinced that this key would have enough permissions to create an OSD key but it looks like I was wrong and it can only generate an OSD UUID. It looks like we will have to use the admin key. So please use it instead. Thanks! |
osds pod are not coming, but in the operator, logs seeing this error
|
cee085b
to
8ebb8f3
Compare
looking to above comment from here |
@travisn while testing steps I did and result
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok since the OSD was purged, it must not be able to create the keyring again. LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last nits.
when osd pods removed, they are not able to add back due to missing `ceph auth` or different `ceph auth`. this commit mounts the secret `rook-ceph-admin-keyring` inside the osd activate initcontainer which has admin keyring. Signed-off-by: subhamkrai <srai@redhat.com>
ceph: create new keyring for osd (backport #8155)
when osd pods removed, they are not able
to add back due to missing
ceph auth
or different
ceph auth
.Signed-off-by: subhamkrai srai@redhat.com
Description of your changes:
this commit mounts the secret
rook-ceph-admin-keyring
inside the osd activate initcontainer which has
admin keyring.
Which issue is resolved by this Pull Request:
Resolves #4238
Checklist:
make codegen
) has been run to update object specifications, if necessary.