Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1516210 - OSP11 -> OSP12 upgrade: when UpgradeRemoveUnusedPackages is set to true the upgrade-non-controller.sh fails with expected string or buffer
OSP11 -> OSP12 upgrade: when UpgradeRemoveUnusedPackages is set to true the u...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
urgent Severity urgent
: rc
: 12.0 (Pike)
Assigned To: Marios Andreou
Marius Cornea
: Triaged
: 1516308 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-22 04:48 EST by Marius Cornea
Modified: 2018-02-05 14:18 EST (History)
9 users (show)

See Also:
Fixed In Version: openstack-tripleo-common-7.6.3-6.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 17:22:16 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1734118 None None None 2017-11-23 07:50 EST
OpenStack gerrit 522540 None stable/pike: MERGED tripleo-common: Handle 'false' in when statements for ansible upgrade_tasks (Ic10ae0f3262a93ceec6ba8d938f36c937f3b594c) 2017-11-28 11:27 EST
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Marius Cornea 2017-11-22 04:48:22 EST
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 11:32:58 EST
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 07:54:33 EST
*** Bug 1516308 has been marked as a duplicate of this bug. ***
Comment 8 errata-xmlrpc 2017-12-13 17:22:16 EST
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.