Bug 1505061 - OSP11 -> OSP12 upgrade: upgrade-non-controller.sh script silently fails and compute node doesn't get upgraded
Summary: OSP11 -> OSP12 upgrade: upgrade-non-controller.sh script silently fails and c...
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
Target Milestone: beta
: 12.0 (Pike)
Assignee: RHOS Maint
QA Contact: Marius Cornea
Depends On:
TreeView+ depends on / blocked
Reported: 2017-10-21 15:58 UTC by Marius Cornea
Modified: 2023-02-22 23:02 UTC (History)
13 users (show)

Fixed In Version: python-tripleoclient-7.3.4-0.20171108081803.ca08346.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-12-13 22:18:18 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
OpenStack gerrit 514609 0 None None None 2017-10-31 14:58:43 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Marius Cornea 2017-10-21 15:58:07 UTC
Description of problem:
OSP11 -> OSP12 upgrade: upgrade-non-controller.sh script silently fails and compute node doesn't get upgraded

Version-Release number of selected component (if applicable):
(undercloud) [stack@undercloud-0 ~]$ rpm -qa | grep tripleo-heat-templates
(undercloud) [stack@undercloud-0 ~]$ rpm -qa | grep tripleo-common

How reproducible:

Steps to Reproduce:
1. Deploy OSP11
2. Upgrade to OSP12
3. Run the upgrade-non-controller.sh script to upgrade a compute node

Actual results:
The command fails(rc 1) without any error message:

(undercloud) [stack@undercloud-0 ~]$ upgrade-non-controller.sh --upgrade compute-r00-00
Sat Oct 21 11:55:19 EDT 2017 upgrade-non-controller.sh Logging to upgrade-non-controller.sh-compute-r00-00
Sat Oct 21 11:55:25 EDT 2017 upgrade-non-controller.sh nova node compute-r00-00 found with IP 
Sat Oct 21 11:55:25 EDT 2017 upgrade-non-controller.sh Executing /root/tripleo_upgrade_node.sh on
Warning: Permanently added '' (ECDSA) to the list of known hosts.
Sat Oct 21 15:55:26 UTC 2017 528dc68b-53fe-482c-919c-957d0743efb4 tripleo-upgrade compute-r00-00 /root/tripleo_upgrade_node.sh has completed - moving onto ansible playbooks
Sat Oct 21 11:55:26 EDT 2017 upgrade-non-controller.sh Clearing any existing dir compute-r00-00 and downloading config
(undercloud) [stack@undercloud-0 ~]$ echo $?

Expected results:
Upgrade socceeds

Additional info:

Comment 1 Marius Cornea 2017-10-21 16:26:35 UTC
openstack overcloud config download --config-dir returns exit code 1:

(undercloud) [stack@undercloud-0 ~]$ openstack overcloud config download --config-dir test; echo $?

Comment 3 Jon Schlueter 2017-11-01 21:11:15 UTC
removing master review since stable/pike patch is landed.

Comment 7 errata-xmlrpc 2017-12-13 22:18:18 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, and where to find the updated
files, follow the link below.

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


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