handle lowercase uuid change for dmidecode >= 3.1 for ceph-ansible per-node customizations

Bug #1814070 reported by Giulio Fidente
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Giulio Fidente

Bug Description

dmidecode >= 3.1 now displays uuid in lowercase.

https://github.com/mirror/dmidecode/blob/master/NEWS

Systems deployed with per node ceph-ansible customization prior this version may break during patching (if node data was provided using case-sensitive UUIDs) and cause deployment failures.

tags: added: queens-backport-potential rocky-backport-potential
Changed in tripleo:
assignee: nobody → Francesco Pantano (fmount)
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/634220

Changed in tripleo:
assignee: Francesco Pantano (fmount) → Giulio Fidente (gfidente)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

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

commit fe2fda491b1ed97dcc77b3bf3f2df1df7b94493b
Author: John Fulton <email address hidden>
Date: Fri Aug 3 14:43:10 2018 -0400

    Change NodeDataLookup type from string to json

    The NodeDataLookup parameter should be valid JSON and we should
    help the user by adding type checking for this early in the
    deployment so that the user doesn't experience the related bug.

    Change-Id: Id9d2208f1cbaba9234d7657420cd7efcad3507a0
    Related-Bug: #1784967
    Related-Bug: #1814070

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

Related fix proposed to branch: stable/rocky
Review: https://review.openstack.org/634978

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

Reviewed: https://review.openstack.org/634978
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=65111909cc2370b77a31fe163d82c2315108b4b4
Submitter: Zuul
Branch: stable/rocky

commit 65111909cc2370b77a31fe163d82c2315108b4b4
Author: John Fulton <email address hidden>
Date: Fri Aug 3 14:43:10 2018 -0400

    Change NodeDataLookup type from string to json

    The NodeDataLookup parameter should be valid JSON and we should
    help the user by adding type checking for this early in the
    deployment so that the user doesn't experience the related bug.

    Change-Id: Id9d2208f1cbaba9234d7657420cd7efcad3507a0
    Related-Bug: #1784967
    Related-Bug: #1814070
    (cherry picked from commit fe2fda491b1ed97dcc77b3bf3f2df1df7b94493b)

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

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

commit c01d9d8475d7b256fed944227a06f028e8d487f8
Author: Giulio Fidente <email address hidden>
Date: Thu Jan 31 13:31:07 2019 +0100

    Handle case change for dmidecode >= 3.1 in Ceph templates

    Forces lowercase matching of user provided node data with dmidecode
    output.

    Change-Id: I844a2f7660dff5feda8397706671ac0efd37949f
    Co-Authored-By: Francesco Pantano <email address hidden>
    Closes-Bug: 1814070

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/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/635107

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

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

commit e9c6cf1004424b71371989b9eb75c9bf1ae5e048
Author: Giulio Fidente <email address hidden>
Date: Thu Jan 31 13:31:07 2019 +0100

    Handle case change for dmidecode >= 3.1 in Ceph templates

    Forces lowercase matching of user provided node data with dmidecode
    output.

    Change-Id: I844a2f7660dff5feda8397706671ac0efd37949f
    Co-Authored-By: Francesco Pantano <email address hidden>
    Closes-Bug: 1814070
    (cherry picked from commit c01d9d8475d7b256fed944227a06f028e8d487f8)

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

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

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

Reviewed: https://review.openstack.org/635193
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=aa92a7f71755c6652e45a343f046d01ea1cbbe8b
Submitter: Zuul
Branch: stable/queens

commit aa92a7f71755c6652e45a343f046d01ea1cbbe8b
Author: Francesco Pantano (fmount) <email address hidden>
Date: Wed Feb 6 16:35:32 2019 +0100

    Handle case change for dmidecode >= 3.1 in ceph-ansible workbook

    Forced lowercase on the dmidecode output matching the UUID
    format returned if SMBIOS is updated and added a task inside
    the workflow to manipulate the node_data_lookup parameter
    (lowercase enforcing).

    Change-Id: Ic7ad351a7d564819bc8967045e6a227f158a9ae1
    Co-Authored-By: Giulio Fidente <email address hidden>
    Closes-Bug: 1814070

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

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

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 8.6.8

This issue was fixed in the openstack/tripleo-common 8.6.8 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.