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
Rolling Update : create ceph mgr keyring => "Error EINVAL: bad entity name" #2343
Comments
Hello, Anyone available to give a look on this issue ? Thanks Best regards, Yoann |
Weird, this shouldn't fail since we have https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-mon/tasks/ceph_keys.yml#L75 |
Since we point to the last item of the list, the previous mon should have been updated already. Thus the request should just work on any mon. |
does " - inventory_hostname == groups[mon_group_name]|last" means mons daemon have been restarted ? |
in this extract from my ansible-playbook log, after line 11, the playbook update ceph package to luminous, at line 358 |
You can find here the full log with -vvv with the bug : |
this should avoid bugs on ceph mgr keyring creation ceph#2343
something like that seems to fixe my issue : but I guess it may have side effect later, I don't know how to say to run the flush_handlers only in the case of rolling update |
Hello, I have migrated my cluster with --step option , I have restarted MONs after package upgrade and the playbook has ended without any issue. Best regards, Yoann |
Hello,
I'm doing rolling update tests from jewel to luminous and the playbook fails on "create ceph mgr keyring"
Ceph mgr keyring are created early during the update and, at this time, MONs are still running jewel version (even packages may have been upgraded, services have not been restarted yet) thus I guess, MONs don't know anything about MGR and the command failed
As soon as I restart the MONs in luminous, ceph mgr keyring are created without any issue.
ceph-ansible log :
rolling_update-mgr-error.log
ceph-ansible config for jewel deployement (ceph-ansible stable-2.2)
cluster-migration-jewel.zip
ceph-ansible config for luminous deployement (ceph-ansible stable-3.0)
cluster-migration-luminous.zip
Yoann
The text was updated successfully, but these errors were encountered: