Bug 1516210 - OSP11 -> OSP12 upgrade: when UpgradeRemoveUnusedPackages is set to true the upgrade-non-controller.sh fails with expected string or buffer
Summary: OSP11 -> OSP12 upgrade: when UpgradeRemoveUnusedPackages is set to true the u...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: 12.0 (Pike)
Assignee: Marios Andreou
QA Contact: Marius Cornea
URL:
Whiteboard:
: 1516308 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-22 09:48 UTC by Marius Cornea
Modified: 2018-02-05 19:18 UTC (History)
9 users (show)

Fixed In Version: openstack-tripleo-common-7.6.3-6.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 22:22:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1734118 0 None None None 2017-11-23 12:50:08 UTC
OpenStack gerrit 522540 0 None stable/pike: MERGED tripleo-common: Handle 'false' in when statements for ansible upgrade_tasks (Ic10ae0f3262a93ceec6ba8d938f36c937f3b594c) 2017-11-28 16:27:35 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-11-22 09:48:22 UTC
Description of problem:
OSP11 -> OSP12 upgrade: when UpgradeRemoveUnusedPackages is set to true the upgrade-non-controller.sh fails with expected string or buffer

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-7.0.3-10.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Deploy OSP11 with 1 controller + 1 compute
2. When upgrading set UpgradeRemoveUnusedPackages to true 
3. Run major-upgrade-composable-steps-docker.yaml
4. Run upgrade-non-controller.sh --upgrade compute-0

Actual results:

(undercloud) [stack@undercloud-0 ~]$ upgrade-non-controller.sh --upgrade compute-0
Wed Nov 22 04:36:00 EST 2017 upgrade-non-controller.sh Logging to upgrade-non-controller.sh-compute-0
Wed Nov 22 04:36:04 EST 2017 upgrade-non-controller.sh nova node compute-0 found with IP 192.168.24.16 
Wed Nov 22 04:36:04 EST 2017 upgrade-non-controller.sh Executing /root/tripleo_upgrade_node.sh on 192.168.24.16
 "nova_compute",
Wed Nov 22 09:36:04 UTC 2017 819f2177-7f47-4f12-95bf-2b0211bee23d tripleo-upgrade compute-0 /root/tripleo_upgrade_node.sh has completed - moving onto ansible playbooks
Wed Nov 22 04:36:04 EST 2017 upgrade-non-controller.sh Clearing any existing dir compute-0 and downloading config
expected string or buffer

Expected results:
The compute node gets upgraded without errors.

Additional info:

Comment 1 Marios Andreou 2017-11-22 16:32:58 UTC
this looks to be a regression in openstack overcloud config download:

(undercloud) [stack@undercloud-0 MARIOS]$   openstack overcloud config download --config-dir "$UPGRADE_NODE"             
expected string or buffer

The error is happening here https://github.com/openstack/tripleo-common/blob/9f5e38e7d398c60af4d165943417dbde70639d53/scripts/upgrade-non-controller.sh#L182 during the upgrade-non-controller run, but the error comes from config download itself

Comment 2 Marios Andreou 2017-11-28 12:54:33 UTC
*** Bug 1516308 has been marked as a duplicate of this bug. ***

Comment 8 errata-xmlrpc 2017-12-13 22:22:16 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.