FFU: updating stack outputs fails on environments with management network enabled: Could not fetch contents for file:///tmp/tripleoclient-kjhsMm/tripleo-heat-templates/network/ports/management.yaml

Bug #1765547 reported by Marius Cornea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Marius Cornea

Bug Description

Description of problem:

FFU: updating stack outputs fails on environments with management network enabled: Could not fetch contents for file:///tmp/tripleoclient-kjhsMm/tripleo-heat-templates/network/ports/management.yaml

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-8.0.2-0.20180327213843.f25e2d8.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Deploy Newton with management network enabled:

openstack overcloud deploy --templates /usr/share/openstack-tripleo-heat-templates \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-management.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml \
-e ~/openstack_deployment/environments/enable-cpu-pinning.yaml \
-e ~/openstack_deployment/environments/nodes.yaml \
-e ~/openstack_deployment/environments/network-environment.yaml \
-e ~/openstack_deployment/environments/disk-layout.yaml \
-e ~/openstack_deployment/environments/scheduler_hints_env.yaml \
-e ~/openstack_deployment/environments/ips-from-pool-all.yaml \
-e ~/openstack_deployment/environments/neutron-settings.yaml \
-e ~/openstack_deployment/environments/custom_hiera.yaml \

2. Upgrade undercloud to Ocata/Pike/Queens

3. Run the FFU step to update stack output:

openstack overcloud deploy --templates /usr/share/openstack-tripleo-heat-templates \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-management.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml \
-e ~/openstack_deployment/environments/enable-cpu-pinning.yaml \
-e ~/openstack_deployment/environments/nodes.yaml \
-e ~/openstack_deployment/environments/network-environment.yaml \
-e ~/openstack_deployment/environments/disk-layout.yaml \
-e ~/openstack_deployment/environments/scheduler_hints_env.yaml \
-e ~/openstack_deployment/environments/ips-from-pool-all.yaml \
-e ~/openstack_deployment/environments/neutron-settings.yaml \
-e ~/openstack_deployment/environments/custom_hiera.yaml \
-e /home/stack/virt/docker-images.yaml \
-e /home/stack/ffu_repos.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/lifecycle/ffwd-upgrade-prepare.yaml \

Actual results:

Fails with with:

Could not fetch contents for file:///tmp/tripleoclient-kjhsMm/tripleo-heat-templates/network/ports/management.yaml

Expected results:
Updating stack output step completes fine.

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/562867

Changed in tripleo:
assignee: nobody → Marius Cornea (mcornea)
status: Triaged → In Progress
Marius Cornea (mcornea)
Changed in tripleo:
importance: Undecided → High
Changed in tripleo:
assignee: Marius Cornea (mcornea) → Lukas Bezdicka (social-b)
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
assignee: Lukas Bezdicka (social-b) → Marius Cornea (mcornea)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

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

commit 9932c2841cd37598b5407279f3eae80ad8e3bdea
Author: Marius Cornea <email address hidden>
Date: Thu Apr 19 19:06:32 2018 -0400

    Enable management network in network_data

    This change enables the management network in network_data to allow
    upgrading environments that were initially deployed with this optional
    network enabled.

    Change-Id: I39b1a70f0a27bdab4d6280d54107ff209d4bb67d
    Closes-bug: 1765547

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

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

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

Reviewed: https://review.openstack.org/563637
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=2c0029a1c096fad00b7a56e134cf20d4b8e83c6f
Submitter: Zuul
Branch: stable/queens

commit 2c0029a1c096fad00b7a56e134cf20d4b8e83c6f
Author: Marius Cornea <email address hidden>
Date: Thu Apr 19 19:06:32 2018 -0400

    Enable management network in network_data

    This change enables the management network in network_data to allow
    upgrading environments that were initially deployed with this optional
    network enabled.

    Change-Id: I39b1a70f0a27bdab4d6280d54107ff209d4bb67d
    Closes-bug: 1765547
    (cherry picked from commit 9932c2841cd37598b5407279f3eae80ad8e3bdea)

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

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

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

This issue was fixed in the openstack/tripleo-heat-templates 9.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.