55-heat-config isn't present when upgrading to a containerized undercloud

Bug #1765589 reported by Emilien Macchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Emilien Macchi

Bug Description

When upgrading the undercloud from Queens (non containerized) to Rocky (containerized, it failed to run deployment ansible tasks because /usr/libexec/os-refresh-config/configure.d/55-heat-config isn't deployed.

How to reproduce?

Deploy an undercloud on Queens
Follow the doc to upgrade the undercloud (openstack undercloud upgrade --use-heat)

Results:
Ansible complains about missing /usr/libexec/os-refresh-config/configure.d/55-heat-config script for this task: https://git.openstack.org/cgit/openstack/tripleo-common/tree/tripleo_common/templates/deployments.yaml#n38

Revision history for this message
Emilien Macchi (emilienm) wrote :
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

rpm -V python-heat-agent shows the file is missing, indeed. So we need to figure out why.

Revision history for this message
James Slagle (james-slagle) wrote :

it's because of this code from instack-undercloud:

https://github.com/openstack/instack-undercloud/blob/master/instack_undercloud/undercloud.py#L1752

You'll need to do something such as a "yum reinstall python-heat-agent" to get the file back.

Revision history for this message
Emilien Macchi (emilienm) wrote :

Thanks James, indeed, Brad wrote this code back in 2016!

https://bugs.launchpad.net/tripleo/+bug/1533230

Changed in tripleo:
milestone: none → rocky-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/563133

Changed in tripleo:
assignee: nobody → Emilien Macchi (emilienm)
status: Triaged → In Progress
Revision history for this message
Emilien Macchi (emilienm) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-tripleoclient (master)

Change abandoned by Emilien Macchi (<email address hidden>) on branch: master
Review: https://review.openstack.org/563133

Changed in tripleo:
status: In Progress → Won't Fix
status: Won't Fix → Fix Released
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.