Ceph - Unable to deploy OSD and RGW nodes with error librados: client.bootstrap-osd and client.bootstrap-rgw authentication error
Issue
- Ceph - Unable to deploy OSD and RGW nodes with error
librados: client.bootstrap-osdandclient.bootstrap-rgwauthentication error - Ansible reports the following error while trying to create keyring for Ceph RADOS Gateway
TASK [ceph-rgw : create rados gateway keyring] *********************************
fatal: [cephrgw-2]: FAILED! => {"changed": false, "cmd": ["ceph", "--cluster", "ceph", "--name", "client.bootstrap-rgw", "--keyring", "/var/lib/ceph/bootstrap-rgw/ceph.keyring", "auth", "get-or-create", "client.rgw.cephrgw-2", "osd", "allow rwx", "mon", "allow rw", "-o", "/var/lib/ceph/radosgw/ceph-rgw.cephrgw-2/keyring"], "delta": "0:00:00.106841", "end": "2017-03-19 00:44:46.313234", "failed": true, "rc": 1, "start": "2017-03-19 00:44:46.206393", "stderr": "2017-03-19 00:44:46.297101 7f1603094700 0 librados: client.bootstrap-rgw authentication error (1) Operation not permitted\nError connecting to cluster: PermissionError", "stdout": "", "stdout_lines": [], "warnings": []}
fatal: [cephrgw-1]: FAILED! => {"changed": false, "cmd": ["ceph", "--cluster", "ceph", "--name", "client.bootstrap-rgw", "--keyring", "/var/lib/ceph/bootstrap-rgw/ceph.keyring", "auth", "get-or-create", "client.rgw.cephrgw-1", "osd", "allow rwx", "mon", "allow rw", "-o", "/var/lib/ceph/radosgw/ceph-rgw.cephrgw-1/keyring"], "delta": "0:00:00.108429", "end": "2017-03-19 00:44:46.318475", "failed": true, "rc": 1, "start": "2017-03-19 00:44:46.210046", "stderr": "2017-03-19 00:44:46.301089 7fec90a98700 0 librados: client.bootstrap-rgw authentication error (1) Operation not permitted\nError connecting to cluster: PermissionError", "stdout": "", "stdout_lines": [], "warnings": []}
to retry, use: --limit @/usr/share/ceph-ansible/site.retry
Environment
- Red Hat Ceph Storage 2.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
