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...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: beta
: 12.0 (Pike)
Assignee: RHOS Maint
QA Contact: Marius Cornea
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2017-12-13 22:18:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
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
openstack-tripleo-heat-templates-7.0.3-0.20171019091938.el7ost.noarch
(undercloud) [stack@undercloud-0 ~]$ rpm -qa | grep tripleo-common
openstack-tripleo-common-7.6.3-0.20171010234828.el7ost.noarch
openstack-tripleo-common-containers-7.6.3-0.20171010234828.el7ost.noarch


How reproducible:
100%

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 192.168.0.27 
Sat Oct 21 11:55:25 EDT 2017 upgrade-non-controller.sh Executing /root/tripleo_upgrade_node.sh on 192.168.0.27
Warning: Permanently added '192.168.0.27' (ECDSA) to the list of known hosts.
 "nova_compute",
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
compute-r00-00/tripleo-HdrjM9-config
(undercloud) [stack@undercloud-0 ~]$ echo $?
1


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 $?
test/tripleo-aVtbPQ-config
1

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.

https://access.redhat.com/errata/RHEA-2017:3462


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