config-download generates invalid yaml if swap enabled

Bug #1733586 reported by Juan Antonio Osorio Robles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
James Slagle

Bug Description

When using config-download with the enable-swap.yaml environment. It generates an invalid yaml file for some nodes.

Running the ansbile playbook gives out the following error:

http://paste.openstack.org/show/626943/

Upon inspection of the file it seems that the name of the variable is empty:

http://paste.openstack.org/show/626944/

Changed in tripleo:
status: New → Triaged
importance: Undecided → High
milestone: none → queens-2
Changed in tripleo:
status: Triaged → In Progress
assignee: nobody → James Slagle (james-slagle)
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/521992

Changed in tripleo:
assignee: James Slagle (james-slagle) → Emilien Macchi (emilienm)
Changed in tripleo:
assignee: Emilien Macchi (emilienm) → James Slagle (james-slagle)
Changed in tripleo:
milestone: queens-2 → queens-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

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

commit 7a3fc675596fff77efdd15e76fed50793f1007a1
Author: James Slagle <email address hidden>
Date: Tue Nov 21 14:48:27 2017 -0500

    Add name property where missing

    All SoftwareDeployment resources should use the name property when using
    config-download.

    This also adds a validation to check that the name property is set in
    yaml-validate.py

    Change-Id: I621e282a2e2c041a0701da0296881c615f0bfda4
    Closes-Bug: #1733586

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 8.0.0.0b3

This issue was fixed in the openstack/tripleo-heat-templates 8.0.0.0b3 development milestone.

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.