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
mon: don't blow away bootstrap-mgr on upgrades #18399
Conversation
@vasukulkarni please could you try the upgrade suite on this? |
src/mon/AuthMonitor.cc
Outdated
// ceph-create-keys) | ||
EntityName bootstrap_mgr_name; | ||
bootstrap_mgr_name.from_str("client.bootstrap-mgr"); | ||
if (!mon->key_server.contains(bootstrap_mgr_name)) { | ||
KeyServerData::Incremental auth_inc; | ||
bool r = auth_inc.name.from_str("client.bootstrap-mgr"); |
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.
can't we reuse bootstrap_mgr_name
here for auth_inc.name
?
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.
Sure! done.
@jcsp sure, I will remove the workaround I have added here (https://github.com/ceph/ceph/blob/master/qa/tasks/ceph_deploy.py#L767-L779 ) and retest with that branch and update the results here. |
@jcsp will need the shaman build , can you please push this to cephci please |
Fixes: http://tracker.ceph.com/issues/20950 Signed-off-by: John Spray <john.spray@redhat.com>
fixed by #18399 Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Haven't seen this before, after upgrade, it tries to restart service but it failed, after the service is restarted the mgr node is installed, I can try to shuffle the restart but it looks new since it worked before.
|
tried one more run with some minor modifications but can't get it to working , maybe this is a 13.x issue, previously the upgrade was tested from jewel -> 12.x , I dont see any crash in monitors in any logs. |
@vasukulkarni can you try testing this cherry-picked onto luminous please? |
I will pick this up on luminous and test and update here. |
Tested this after cherry-picking the commit on top of luminous and without the mgr workaround and it is working fine, full logs here: http://pulpito.ceph.com/vasu-2017-11-02_00:30:23-upgrade:jewel-x:ceph-deploy:-wip-qa-mgr-testing-distro-basic-vps/1800269/ |
Fixes: http://tracker.ceph.com/issues/20950
Signed-off-by: John Spray john.spray@redhat.com