keystone bootstrap may produce invalid json

Bug #1866017 reported by Radosław Piliszek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Radosław Piliszek
Rocky
New
Undecided
Unassigned
Stein
Fix Committed
Undecided
Mark Goddard
Train
Fix Committed
Undecided
Mark Goddard
Ussuri
Fix Released
Medium
Radosław Piliszek

Bug Description

We need to escape backslashes and double quotation marks to avoid the issue.
See: https://bugs.launchpad.net/kolla-ansible/+bug/1866008

Changed in kolla:
assignee: nobody → Radosław Piliszek (yoctozepto)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.opendev.org/711186

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

Reviewed: https://review.opendev.org/711186
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=33d184a731458bb45d1206bdae4fb172629a76e7
Submitter: Zuul
Branch: master

commit 33d184a731458bb45d1206bdae4fb172629a76e7
Author: Radosław Piliszek <email address hidden>
Date: Wed Mar 4 10:22:19 2020 +0100

    Ensure proper JSON in keystone bootstrap

    This fixes the issue when keystone-manage output included
    backslashes and/or double quotation marks which broke JSON string.

    Change-Id: Ifae18c407210c12745d29fc4c95dca69aeafe6a8
    Closes-bug: #1866017

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/719942

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/719943

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/stein)

Reviewed: https://review.opendev.org/719943
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=ab8bcf5a4f4b1a6a8ae698eda80f2a93d00aa84e
Submitter: Zuul
Branch: stable/stein

commit ab8bcf5a4f4b1a6a8ae698eda80f2a93d00aa84e
Author: Radosław Piliszek <email address hidden>
Date: Wed Mar 4 10:22:19 2020 +0100

    Ensure proper JSON in keystone bootstrap

    This fixes the issue when keystone-manage output included
    backslashes and/or double quotation marks which broke JSON string.

    Change-Id: Ifae18c407210c12745d29fc4c95dca69aeafe6a8
    Closes-bug: #1866017
    (cherry picked from commit 33d184a731458bb45d1206bdae4fb172629a76e7)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/train)

Reviewed: https://review.opendev.org/719942
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=44ef591464d03960d0bc8c322cacbb97a44968fe
Submitter: Zuul
Branch: stable/train

commit 44ef591464d03960d0bc8c322cacbb97a44968fe
Author: Radosław Piliszek <email address hidden>
Date: Wed Mar 4 10:22:19 2020 +0100

    Ensure proper JSON in keystone bootstrap

    This fixes the issue when keystone-manage output included
    backslashes and/or double quotation marks which broke JSON string.

    Change-Id: Ifae18c407210c12745d29fc4c95dca69aeafe6a8
    Closes-bug: #1866017
    (cherry picked from commit 33d184a731458bb45d1206bdae4fb172629a76e7)

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

Other bug subscribers

Remote bug watches

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