ceph.client.manila.keyring contains uncessary backslashes in caps mon

Bug #1777249 reported by John Fulton
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Low
John Fulton

Bug Description

After deployment w/ master-tripleo-ci the controller node's /etc/ceph/ceph.client.manila.keyring looks like the following:

[root@overcloud-controller-0 ~]# cat /etc/ceph/ceph.client.manila.keyring
[client.manila]
        key = AQDN+SJbAAAAABAARif/DaKWixyMOEGhlJ/Vig==
        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"
[root@overcloud-controller-0 ~]#

The backslashes above could be avoided and the following could be produced instead:

[root@overcloud-controller-0 ~]# cat /etc/ceph/ceph.client.manila.keyring
[client.manila]
 key = AQDN+SJbAAAAABAARif/DaKWixyMOEGhlJ/Vig==
 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"
[root@overcloud-controller-0 ~]#

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/575915

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/575915
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=0c7e7454ea1d83ba0f091f05cfeb1ba28dd880f0
Submitter: Zuul
Branch: master

commit 0c7e7454ea1d83ba0f091f05cfeb1ba28dd880f0
Author: John Fulton <email address hidden>
Date: Sat Jun 16 14:51:47 2018 +0000

    Remove unecessary back-slashes in CephManilaClientKey caps mon

    Within the double-quoted capability string replace back-slashed
    double quotes with single quotes.

    Change-Id: Iff6e8f52c28a2de826e1582775727df85384b696
    Closes-Bug: #1777249

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.0.0.0b4

This issue was fixed in the openstack/tripleo-heat-templates 9.0.0.0b4 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/589186

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/queens)

Reviewed: https://review.openstack.org/589186
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=3e5fb26119fa31192c0e6c2e5260273ae34e6837
Submitter: Zuul
Branch: stable/queens

commit 3e5fb26119fa31192c0e6c2e5260273ae34e6837
Author: John Fulton <email address hidden>
Date: Sat Jun 16 14:51:47 2018 +0000

    Remove unecessary back-slashes in CephManilaClientKey caps mon

    Within the double-quoted capability string replace back-slashed
    double quotes with single quotes.

    Change-Id: Iff6e8f52c28a2de826e1582775727df85384b696
    Closes-Bug: #1777249
    (cherry picked from commit 0c7e7454ea1d83ba0f091f05cfeb1ba28dd880f0)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.0.6

This issue was fixed in the openstack/tripleo-heat-templates 8.0.6 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.