Bug 1787639
| Summary: | ceph-ansible keys module is not creating all keys in the keys list | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | John Fulton <johfulto> | ||||||||||||
| Component: | Ceph-Ansible | Assignee: | Guillaume Abrioux <gabrioux> | ||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Vasishta <vashastr> | ||||||||||||
| Severity: | high | Docs Contact: | |||||||||||||
| Priority: | high | ||||||||||||||
| Version: | 4.0 | CC: | aschoen, ceph-eng-bugs, gmeno, nthomas, ykaul | ||||||||||||
| Target Milestone: | rc | ||||||||||||||
| Target Release: | 5.* | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||
| Clone Of: | Environment: | ||||||||||||||
| Last Closed: | 2020-01-03 21:26:27 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: | |||||||||||||||
| Bug Depends On: | |||||||||||||||
| Bug Blocks: | 1760354, 1760941 | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
John Fulton
2020-01-03 19:14:28 UTC
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity. Created attachment 1649490 [details]
last 500 lines of ceph-ansible log
Created attachment 1649491 [details]
tarball of full ceph-ansible env
Created attachment 1649492 [details]
tarball of full ceph-ansible env
Created attachment 1649493 [details]
full ceph-ansible log
It seems to be user error on my part.
I updated my input's key to the following and it worked [1].
key = AQBRgQ9eAAAAABAAv84zEilJYZPNuJ0Iwn9Ndg==
The original key I passed it couldn't be decoded:
stderr: can't decode key 'QAYAg9eAAAAABAABL4f6ig8N8cUKCP3Z0PkCQP=='
[1]
File created:
[root@control-plane-controller-0 ~]# cat /etc/ceph/central.client.glance.keyring
[client.glance]
key = AQBRgQ9eAAAAABAAv84zEilJYZPNuJ0Iwn9Ndg==
caps mgr = "allow *"
caps mon = "profile rbd"
caps osd = "profile rbd pool=images"
[root@control-plane-controller-0 ~]#
Entry found in ceph auth list
[root@control-plane-controller-0 ~]# podman exec ceph-mon-$HOSTNAME ceph --cluster central auth list
osd.0
key: AQAeig9esUbTGhAABm9sBD55OBt+QR2OdUaGWA==
caps: [mgr] allow profile osd
caps: [mon] allow profile osd
caps: [osd] allow *
client.admin
key: AQBRgQ9eAAAAABAA1qEjGnX4RJXm6GDz1U4idA==
caps: [mds] allow *
caps: [mgr] allow *
caps: [mon] allow *
caps: [osd] allow *
client.bootstrap-mds
key: AQDIiQ9eX4oqKhAAujX4c9laTmiNxxb9vAtHgQ==
caps: [mon] allow profile bootstrap-mds
client.bootstrap-mgr
key: AQDIiQ9e6qAqKhAAbOvgF4+WJ0aMMorjaArghw==
caps: [mon] allow profile bootstrap-mgr
client.bootstrap-osd
key: AQDIiQ9e/bYqKhAAsAwvoh2CSMTtPoqREtgGMQ==
caps: [mon] allow profile bootstrap-osd
client.bootstrap-rbd
key: AQDIiQ9eD80qKhAA5Z3JXZ6EVQQx/ToSCbwILA==
caps: [mon] allow profile bootstrap-rbd
client.bootstrap-rbd-mirror
key: AQDIiQ9eleIqKhAAyLwS+xyki3YsJu49AD+LXQ==
caps: [mon] allow profile bootstrap-rbd-mirror
client.bootstrap-rgw
key: AQDIiQ9ehvcqKhAADscyd02vCW84lWGXzrALIg==
caps: [mon] allow profile bootstrap-rgw
client.glance
key: AQBRgQ9eAAAAABAAv84zEilJYZPNuJ0Iwn9Ndg==
caps: [mgr] allow *
caps: [mon] profile rbd
caps: [osd] profile rbd pool=images
client.manila
key: AQBRgQ9eAAAAABAAv84zEilJYZPNuJ0Iwn9Ndg==
caps: [mds] allow *
caps: [mgr] allow *
caps: [mon] allow r, allow command 'auth del', allow command 'auth caps', allow command 'auth get', allow command 'auth get-or-create'
caps: [osd] allow rw
|