Bug 1545415 - upgrade-non-controller.sh script does not support alternative plan names
Summary: upgrade-non-controller.sh script does not support alternative plan names
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 12.0 (Pike)
Hardware: All
OS: All
medium
medium
Target Milestone: z2
: 12.0 (Pike)
Assignee: Carlos Camacho
QA Contact: Alexander Chuzhoy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-14 21:28 UTC by david.costakos
Modified: 2018-03-28 17:30 UTC (History)
11 users (show)

Fixed In Version: openstack-tripleo-common-7.6.9-2.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-28 17:29:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1750338 0 None None None 2018-02-19 09:12:23 UTC
OpenStack gerrit 545771 0 None None None 2018-02-19 09:09:23 UTC
Red Hat Product Errata RHBA-2018:0607 0 None None None 2018-03-28 17:30:24 UTC

Description david.costakos 2018-02-14 21:28:04 UTC
Description of problem:
If I deploy a could using the --stack <altname> option, upgrade-non-controller script does not function to upgrade the cloud and exits with the error message
"ERROR: The Stack (overcloud) could not be found."

Version-Release number of selected component (if applicable):
openstack-tripleo-common-7.6.3-10.el7ost.noarch

How reproducible:
100%
Steps to Reproduce:
1. Deploy an OSP11 cloud using the --stack option to give it an alternate name
2. attempt upgrade
3.

Actual results:
fails

Expected results:
stacks not named "overcloud" function

Additional info:
This hack worked for me:
[stack@dcostako-undercloud ~]$ diff /tmp/upgrade-non-controller-fixed.sh /usr/bin/upgrade-non-controller.sh
175,178d174
< PLAN=$(openstack stack list -c 'Stack Name' -f value)
< echo Dave: $PLAN
< export TRIPLEO_PLAN_NAME=${PLAN}
<
186c182
<   openstack overcloud config download --config-dir "$UPGRADE_NODE" --name $PLAN
---
>   openstack overcloud config download --config-dir "$UPGRADE_NODE"

Comment 1 Carlos Camacho 2018-02-19 09:14:02 UTC
In devel: https://review.openstack.org/#/c/545771

Comment 7 errata-xmlrpc 2018-03-28 17:29:47 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/RHBA-2018:0607


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