Bug 1929143 - [RHOSP 13 -> 16.1] overcloud upgrade with system_upgrade tag fails if we pass '--limit Role name'
Summary: [RHOSP 13 -> 16.1] overcloud upgrade with system_upgrade tag fails if we pass...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: z6
: 16.1 (Train on RHEL 8.2)
Assignee: Jesse Pretorius
QA Contact: Sergii Golovatiuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-16 09:58 UTC by Khomesh Thakre
Modified: 2024-06-14 00:18 UTC (History)
5 users (show)

Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20210316133633.29a02c1.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-26 13:51:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-693 0 None None None 2022-08-02 18:02:32 UTC
Red Hat Product Errata RHBA-2021:2097 0 None None None 2021-05-26 13:51:57 UTC

Description Khomesh Thakre 2021-02-16 09:58:19 UTC
Description of problem:

Overcloud upgrade with system_upgrade tag fails if we pass '--limit Role name'

+++
2021-02-14 22:11:43,946 p=54900 u=mistral n=ansible | TASK [Force facts refresh after OS upgrade to refresh cache.] ******************
2021-02-14 22:11:43,946 p=54900 u=mistral n=ansible | Sunday 14 February 2021  22:11:43 -0500 (0:38:04.926)       1:07:17.610 *******
2021-02-14 22:11:43,990 p=54900 u=mistral n=ansible | skipping: [compute-101] => {"changed": false, "skip_reason": "Conditional result was False"}
2021-02-14 22:11:44,122 p=54900 u=mistral n=ansible | fatal: [compute-103]: FAILED! => {"changed": false, "module_stderr": "/bin/sh: /usr/bin/python: No such file or directory\n", "module_stdout": "", "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error", "rc": 127}
2021-02-14 22:11:44,123 p=54900 u=mistral n=ansible | fatal: [compute-102]: FAILED! => {"changed": false, "module_stderr": "/bin/sh: /usr/bin/python: No such file or directory\n", "module_stdout": "", "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error", "rc": 127}
+++

Found that the python library was missing. 

+++
[root@compute-102 heat-admin]# ls -lhtr /usr/bin/python
ls: cannot access '/usr/bin/python': No such file or directory
+++ 

And when we re-run the upgrade command with same command, but it just skips all tasks (likely since the nodes are already on RHEL8), and returns successful, but nothing gets updated/change.

Version-Release number of selected component (if applicable):
tripleo-ansible-0.5.1-1.20200914163930.el8ost.noarch

How reproducible:


Steps to Reproduce:
1. Run overcloud node leapp upgrade with --limit <role name>
2.
3.

Comment 19 errata-xmlrpc 2021-05-26 13:51:28 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 16.1.6 bug fix and 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/RHBA-2021:2097


Note You need to log in before you can comment on or make changes to this bug.