Bug 1948009

Summary: [16.2] RHOS-16.2-RHEL-8-20210409.n.0 compose UC upgrade breaks on tasks due to tripleo_container_stop imports
Product: Red Hat OpenStack Reporter: Michele Baldessari <michele>
Component: openstack-tripleo-heat-templatesAssignee: Michele Baldessari <michele>
Status: CLOSED ERRATA QA Contact: Joe H. Rahme <jhakimra>
Severity: high Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: drosenfe, jhajyahy, mburns, pweeks, ramishra, sshnaidm
Target Milestone: betaKeywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.5.1-2.20210419133054.7d9e1a8.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-15 07:13:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michele Baldessari 2021-04-09 18:20:48 UTC
Description of problem:
A UC upgrade will fail with:
2021-04-09 17:46:45 | The error appears to be in '/home/stack/undercloud-ansible-xd1nbsp0/external_upgrade_steps_tasks.yaml': line 84, column 13, but may
2021-04-09 17:46:45 | be elsewhere in the file depending on the exact syntax problem.
2021-04-09 17:46:45 |
2021-04-09 17:46:45 | The offending line appears to be:
2021-04-09 17:46:45 |
2021-04-09 17:46:45 | - import_role:
2021-04-09 17:46:45 | name: tripleo_container_stop
2021-04-09 17:46:45 | ^ here
2021-04-09 17:46:45 | Exception: Online Upgrade failed

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-11.4.1-2.20210323012110.c3396e2.el8ost.1.noarch
tripleo-ansible-0.6.1-2.20210323013845.00f09d9.el8ost.1.noarch

Compose: RHOS-16.2-RHEL-8-20210409.n.0

The backports to train that brought in tripleo_container_stop failed to account for the role name in train which is tripleo-container-stop.

Comment 1 Michele Baldessari 2021-04-14 18:28:17 UTC

*** This bug has been marked as a duplicate of bug 1949629 ***

Comment 2 Michele Baldessari 2021-04-14 18:29:29 UTC
*** Bug 1949629 has been marked as a duplicate of this bug. ***

Comment 5 David Rosenfeld 2021-07-20 13:59:27 UTC
Undercloud upgrade no longer fails with the error in the description. Also the command: openstack overcloud external-upgrade run -y --stack overcloud --tags container_image_prepare
no longer fails with the error in the description.

Comment 7 errata-xmlrpc 2021-09-15 07:13:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform (RHOSP) 16.2 enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:3483