Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1687838 - [DOC] ‘shrink.yml’ fails if the admin key isn’t present on the OSD node
Summary: [DOC] ‘shrink.yml’ fails if the admin key isn’t present on the OSD node
Keywords:
Status: NEW
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Documentation
Version: 3.2
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: 4.0
Assignee: ceph-docs@redhat.com
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-12 13:25 UTC by Ashish Singh
Modified: 2019-04-11 07:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Ashish Singh 2019-03-12 13:25:40 UTC
* Description of problem:

The ‘shrink.yml’ fails if the admin key isn’t present on the OSD node with message :
-------------
TASK [fail when admin key is not present] ****************************************************
Saturday 09 February 2019  04:32:55 -0500 (0:00:00.999)       0:00:09.228 *****
failed: [localhost] (item={'_ansible_parsed': True, u'stat': {u'exists': False}, '_ansible_item_result': True, '_ansible_no_log': False, '_ansible_delegated_vars': {'ansible_delegated_host': u'ceph-4', 'ansible_host': u'ceph-4'}, u'changed': False, 'failed': False, 'item': u'ceph-4', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/etc/ceph/ceph.client.admin.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'ceph-4'}) => {"changed": false, "item": {"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": "/etc/ceph/ceph.client.admin.keyring"}}, "item": "ceph-4", "stat": {"exists": false}}, "msg": "The Ceph admin key is not present on the OSD node, please add it and remove it after the playbook is done."}
failed: [localhost] (item={'_ansible_parsed': True, u'stat': {u'exists': False}, '_ansible_item_result': True, '_ansible_no_log': False, '_ansible_delegated_vars': {'ansible_delegated_host': u'ceph-4', 'ansible_host': u'ceph-4'}, u'changed': False, 'failed': False, 'item': u'ceph-4', u'invocation': {u'module_args': {u'checksum_algorithm': u'sha1', u'get_checksum': True, u'follow': False, u'path': u'/etc/ceph/ceph.client.admin.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'ceph-4'}) => {"changed": false, "item": {"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": "/etc/ceph/ceph.client.admin.keyring"}}, "item": "ceph-4", "stat": {"exists": false}}, "msg": "The Ceph admin key is not present on the OSD node, please add it and remove it after the playbook is done."}
-------------

Before calling ‘shrink.yml’, mention to copy the admin keyring on the respective OSD node.


* Version-Release number of selected component (if applicable):
RHCS 3.2

* How reproducible:
Always

* Steps to Reproduce:
NA

*Actual results:
NA

* Expected results:
NA

* Additional info:
NA


Note You need to log in before you can comment on or make changes to this bug.