Missing quotes in tripleo_common/inventories.py prevent host vars to be populated properly

Bug #1889635 reported by Cédric Jeanneret
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Cédric Jeanneret

Bug Description

A term isn't quoted in the code, preventing the additional host vars to be present in the inventory.

This should be corrected at least down to train.

Revision history for this message
Cédric Jeanneret (cjeanner) wrote :
tags: added: ussuri-backport-potential
removed: ussu
Changed in tripleo:
importance: Undecided → Critical
assignee: nobody → Cédric Jeanneret (cjeanner)
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.opendev.org/743990
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=e2613f0317721cf8231fe6a5a27f29f555b50a69
Submitter: Zuul
Branch: master

commit e2613f0317721cf8231fe6a5a27f29f555b50a69
Author: Cédric Jeanneret <email address hidden>
Date: Thu Jul 30 16:36:53 2020 +0200

    Correct the inventory generation

    The missing quotes didn't trigger anything since "vars" is representing
    the vars() method...
    Adding the missing quotes allows to actually get the injected host
    variables in the inventory, among them the well needed "container_cli"
    for the validations.

    This patch also makes a huge update in the different inline dict, in
    order to make them more human readable. This should help for further
    editions.

    Closes-Bug: #1889635
    Change-Id: I7418ea45d89dd0da7ac39193200f47563acab4cb

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

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/745730

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

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

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

Reviewed: https://review.opendev.org/745732
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=a51595922721eec1e155b88310068d1f7b1aa5a8
Submitter: Zuul
Branch: stable/train

commit a51595922721eec1e155b88310068d1f7b1aa5a8
Author: Cédric Jeanneret <email address hidden>
Date: Thu Jul 30 16:36:53 2020 +0200

    Correct the inventory generation

    The missing quotes didn't trigger anything since "vars" is representing
    the vars() method...
    Adding the missing quotes allows to actually get the injected host
    variables in the inventory, among them the well needed "container_cli"
    for the validations.

    This patch also makes a huge update in the different inline dict, in
    order to make them more human readable. This should help for further
    editions.

    Closes-Bug: #1889635
    Change-Id: I7418ea45d89dd0da7ac39193200f47563acab4cb
    (cherry picked from commit e2613f0317721cf8231fe6a5a27f29f555b50a69)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/ussuri)

Reviewed: https://review.opendev.org/745730
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=8c46cbb0eff1fba2c80387508028a801f7191afe
Submitter: Zuul
Branch: stable/ussuri

commit 8c46cbb0eff1fba2c80387508028a801f7191afe
Author: Cédric Jeanneret <email address hidden>
Date: Thu Jul 30 16:36:53 2020 +0200

    Correct the inventory generation

    The missing quotes didn't trigger anything since "vars" is representing
    the vars() method...
    Adding the missing quotes allows to actually get the injected host
    variables in the inventory, among them the well needed "container_cli"
    for the validations.

    This patch also makes a huge update in the different inline dict, in
    order to make them more human readable. This should help for further
    editions.

    Closes-Bug: #1889635
    Change-Id: I7418ea45d89dd0da7ac39193200f47563acab4cb
    (cherry picked from commit e2613f0317721cf8231fe6a5a27f29f555b50a69)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 11.5.0

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