Bug 1655182
Summary: | ceph.keyring file not found when upgrading jewel containerized to luminous | ||||||
---|---|---|---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Coady LaCroix <clacroix> | ||||
Component: | Ceph-Ansible | Assignee: | Sébastien Han <shan> | ||||
Status: | CLOSED ERRATA | QA Contact: | Coady LaCroix <clacroix> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 3.2 | CC: | aschoen, ceph-eng-bugs, gmeno, hnallurv, nthomas, sankarshan, seb, tserlin, vakulkar | ||||
Target Milestone: | rc | Keywords: | Automation | ||||
Target Release: | 3.2 | Flags: | vakulkar:
automate_bug+
|
||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHEL: ceph-ansible-3.2.0-0.1.rc7.el7cp Ubuntu: ceph-ansible_3.2.0~rc7-2redhat1 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-01-03 19:02:28 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
I am still seeing the same error when upgrading using the fix version of ceph-ansible. [cephuser@ceph-clacroix-1543856898046-node8-installer ~]$ rpm -qa | grep ansible ceph-ansible-3.2.0-0.1.rc6.el7cp.noarch ansible-2.6.8-1.el7ae.noarch failed: [ceph-clacroix-1543856898046-node1-mon] (item=[u'/var/lib/ceph/bootstrap-rbd/ceph.keyring', {'_ansible_parsed': True, u'stat': {u'exists': False}, '_ansible_it em_result': True, '_ansible_no_log': False, '_ansible_delegated_vars': {'ansible_delegated_host': u'localhost', 'ansible_host': u'localhost'}, u'changed': False, 'failed': False, 'item': u'/var/lib/ceph/bootstrap -rbd/ceph.keyring', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/home/cephuser/fetch//c9e61a0f-a975-48d7-a2ec-d1d0b1b55243//var/lib/ceph/bo otstrap-rbd/ceph.keyring', u'get_md5': None, u'get_mime': True, u'get_attributes': True}}, 'failed_when_result': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/var/lib/ceph/bootstrap-rbd/ceph.ke yring'}]) => {"changed": false, "item": ["/var/lib/ceph/bootstrap-rbd/ceph.keyring", {"_ansible_delegated_vars": {"ansible_delegated_host": "localhost", "ansible_host": "localhost"}, "_ansible_ignore_errors": nul l, "_ansible_item_label": "/var/lib/ceph/bootstrap-rbd/ceph.keyring", "_ansible_item_result": true, "_ansible_no_log": false, "_ansible_parsed": true, "changed": false, "failed ": false, "failed_when_result": false, "invocation": {"module_args": {"checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": null, "get_mime": true, "path": "/home /cephuser/fetch//c9e61a0f-a975-48d7-a2ec-d1d0b1b55243//var/lib/ceph/bootstrap-rbd/ceph.keyring"}}, "item": "/var/lib/ceph/bootstrap-rbd/ceph.keyring", "stat": {"exists": false}}], "msg": "file not found: /var/lib /ceph/bootstrap-rbd/ceph.keyring"} Sorry Coady, the fix is actually in https://github.com/ceph/ceph-ansible/releases/tag/v3.2.0rc7 Verified using ceph-ansible-3.2.0-0.1.rc8.el7cp.noarch. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0020 |
Created attachment 1510274 [details] container upgrade failure logs Description of problem: During execution of the rolling update playbook to upgrade a containerized jewel installation to luminous(3.2), the playbook is failing with the following message: failed: [ceph-clacroix-1543605572132-node1-mon] (item=[u'/var/lib/ceph/bootstrap-rbd/ceph.keyring', {'_ansible_parsed': True, u'stat': {u'exists': False}, '_ansible_it em_result': True, '_ansible_no_log': False, '_ansible_delegated_vars': {'ansible_delegated_host': u'localhost', 'ansible_host': u'localhost'}, u'changed': False, 'failed': False, 'item': u'/var/lib/ceph/bootstrap -rbd/ceph.keyring', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/home/cephuser/fetch//efed8992-780b-4d69-8acb-b2619a7868f7//var/lib/ceph/bo otstrap-rbd/ceph.keyring', u'get_md5': None, u'get_mime': True, u'get_attributes': True}}, 'failed_when_result': False, '_ansible_ignore_errors': None, '_ansible_item_label': u'/var/lib/ceph/bootstrap-rbd/ceph.ke yring'}]) => {"changed": false, "item": ["/var/lib/ceph/bootstrap-rbd/ceph.keyring", {"_ansible_delegated_vars": {"ansible_delegated_host": "localhost", "ansible_host": "localhost"}, "_ansible_ignore_errors": nul l, "_ansible_item_label": "/var/lib/ceph/bootstrap-rbd/ceph.keyring", "_ansible_item_result": true, "_ansible_no_log": false, "_ansible_parsed": true, "changed": false, "failed ": false, "failed_when_result": false, "invocation": {"module_args": {"checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": null, "get_mime": true, "path": "/home /cephuser/fetch//efed8992-780b-4d69-8acb-b2619a7868f7//var/lib/ceph/bootstrap-rbd/ceph.keyring"}}, "item": "/var/lib/ceph/bootstrap-rbd/ceph.keyring", "stat": {"exists": false}}], "msg": "file not found: /var/lib /ceph/bootstrap-rbd/ceph.keyring"} Version-Release number of selected component (if applicable): ceph-ansible-3.2.0-0.1.rc5.el7cp.noarch ansible-2.6.8-1.el7ae.noarch How reproducible: Every attempt to upgrade a containerized jewel installation to luminous 3.2. Steps to Reproduce: 1. Install jewel containerized 2. Prepare cluster for upgrade (collocate mons and mgr, update ansible/ceph-ansible, configure insecure registry, etc.) 3. Run rolling update playbook Actual results: Failure (see above) during execution. Full logs attached. Expected results: Successful playbook execution and upgraded cluster. Additional info: