Using a wrongly formatted CephX secret causes the deployment to fail

Bug #1864185 reported by Giulio Fidente
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Giulio Fidente

Bug Description

Using a wrongly formatted CephX secret causes the deployment to fail when we could check for its format in THT.

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.opendev.org/709094

Changed in tripleo:
assignee: nobody → Giulio Fidente (gfidente)
status: New → In Progress
tags: added: queens-backport-potential
Changed in tripleo:
importance: Undecided → Medium
milestone: none → ussuri-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/709094
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=0940dfd95ef64cb4d1d87edfe74374b08db9c9f2
Submitter: Zuul
Branch: master

commit 0940dfd95ef64cb4d1d87edfe74374b08db9c9f2
Author: Giulio Fidente <email address hidden>
Date: Fri Feb 21 11:33:17 2020 +0100

    Check Ceph*Key value format and halt on error

    The CephX keys secret is expected to have a specific format, this
    adds a constraint in the templates to ensure it has the correct
    format.

    Change-Id: Ic12c3c287a921d696de1395bc887691c48146359
    Closes-Bug: 1864185

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

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

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

Reviewed: https://review.opendev.org/710799
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=33ce60d6acafc8e06b42366a7ef873871597a736
Submitter: Zuul
Branch: stable/train

commit 33ce60d6acafc8e06b42366a7ef873871597a736
Author: Giulio Fidente <email address hidden>
Date: Fri Feb 21 11:33:17 2020 +0100

    Check Ceph*Key value format and halt on error

    The CephX keys secret is expected to have a specific format, this
    adds a constraint in the templates to ensure it has the correct
    format.

    Change-Id: Ic12c3c287a921d696de1395bc887691c48146359
    Closes-Bug: 1864185
    (cherry picked from commit 0940dfd95ef64cb4d1d87edfe74374b08db9c9f2)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/stein)

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

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

Reviewed: https://review.opendev.org/712070
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=98652da2ab272c8919a31348a4e7f6f33b8321c9
Submitter: Zuul
Branch: stable/stein

commit 98652da2ab272c8919a31348a4e7f6f33b8321c9
Author: Giulio Fidente <email address hidden>
Date: Fri Feb 21 11:33:17 2020 +0100

    Check Ceph*Key value format and halt on error

    The CephX keys secret is expected to have a specific format, this
    adds a constraint in the templates to ensure it has the correct
    format.

    Change-Id: Ic12c3c287a921d696de1395bc887691c48146359
    Closes-Bug: 1864185
    (cherry picked from commit 0940dfd95ef64cb4d1d87edfe74374b08db9c9f2)
    (cherry picked from commit 33ce60d6acafc8e06b42366a7ef873871597a736)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/712305

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

Reviewed: https://review.opendev.org/712305
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=909d57ccc140964ce3347d9353e2efc8c785a882
Submitter: Zuul
Branch: stable/rocky

commit 909d57ccc140964ce3347d9353e2efc8c785a882
Author: Giulio Fidente <email address hidden>
Date: Fri Feb 21 11:33:17 2020 +0100

    Check Ceph*Key value format and halt on error

    The CephX keys secret is expected to have a specific format, this
    adds a constraint in the templates to ensure it has the correct
    format.

    Change-Id: Ic12c3c287a921d696de1395bc887691c48146359
    Closes-Bug: 1864185
    (cherry picked from commit 0940dfd95ef64cb4d1d87edfe74374b08db9c9f2)
    (cherry picked from commit 33ce60d6acafc8e06b42366a7ef873871597a736)
    (cherry picked from commit 98652da2ab272c8919a31348a4e7f6f33b8321c9)

tags: added: in-stable-rocky
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.opendev.org/712721

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

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

commit 3d8fa5a841ccfeffb7746ef405e7dc64b041ce3f
Author: Giulio Fidente <email address hidden>
Date: Fri Feb 21 11:33:17 2020 +0100

    Check Ceph*Key value format and halt on error

    The CephX keys secret is expected to have a specific format, this
    adds a constraint in the templates to ensure it has the correct
    format.

    Change-Id: Ic12c3c287a921d696de1395bc887691c48146359
    Closes-Bug: 1864185
    (cherry picked from commit 0940dfd95ef64cb4d1d87edfe74374b08db9c9f2)
    (cherry picked from commit 33ce60d6acafc8e06b42366a7ef873871597a736)
    (cherry picked from commit 98652da2ab272c8919a31348a4e7f6f33b8321c9)
    (cherry picked from commit 909d57ccc140964ce3347d9353e2efc8c785a882)

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 11.4.0

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates rocky-eol

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

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates stein-eol

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

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.