Red Hat Bugzilla – Bug 1474697
OSP11 -> OSP12 upgrade: ability to upgrade individual nodes on split stack deployments
Last modified: 2018-02-05 14:10:03 EST
Description of problem:
On split stack deployments "openstack server list" is empty as there are no nodes deployed by TripleO. With the upgrade workflow, when upgrading individual nodes such as compute or swift object storage nodes, we need to point them by name/UUID to the upgrade non controller script.
In order to be able to upgrade such nodes in a split stack deployment we need the ability to reference them in a different way, perhaps by IP address.
Version-Release number of selected component (if applicable):
going to take this one @matbu (about to ping you on irc too) I think for P/12 we need to update the upgrade-non-controller.sh to take the IP address (for example? I will discuss with mcornea some more) as we are using BZ 1477962 for the non-controller upgrade workflow (see comment at https://bugs.launchpad.net/tripleo/+bug/1708115/comments/8 for info on the core workflow we are using in P - I think 'proper' upgrade support in mistral/tripleoclient/tripleo-common is coming in Q see https://etherpad.openstack.org/p/tripleo-ptg-queens-upgrades )
added a review to the trackers https://review.openstack.org/505624 this will accept an IP address as well as nova name/uuid. Still not clear if we get the inventory though but testing will show that.
I tried running the upgrade-non-controller script on a split stack deployment but it prompts for a password:
(undercloud) [stack@undercloud-0 ~]$ upgrade-non-controller.sh --upgrade 192.168.0.60
Mon Oct 16 17:41:11 EDT 2017 upgrade-non-controller.sh Logging to upgrade-non-controller.sh-192.168.0.60
No server with a name or ID of '192.168.0.60' exists.
Mon Oct 16 17:41:12 EDT 2017 upgrade-non-controller.sh 192.168.0.60 not known to nova. Trying it as an IP address
PING 192.168.0.60 (192.168.0.60) 56(84) bytes of data.
64 bytes from 192.168.0.60: icmp_seq=1 ttl=64 time=0.367 ms
--- 192.168.0.60 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.367/0.367/0.367/0.000 ms
Warning: Permanently added '192.168.0.60' (ECDSA) to the list of known hosts.
Note that as we describe in the docs the user is required to add the 'stack' user:
I filed bug 1502874 to keep track of this ass it's a different issue than what this ticket is tracking.
(In reply to Marius Cornea from comment #4)
> I tried running the upgrade-non-controller script on a split stack
> deployment but it prompts for a password:
> (undercloud) [stack@undercloud-0 ~]$ upgrade-non-controller.sh --upgrade
> Mon Oct 16 17:41:11 EDT 2017 upgrade-non-controller.sh Logging to
> No server with a name or ID of '192.168.0.60' exists.
> Mon Oct 16 17:41:12 EDT 2017 upgrade-non-controller.sh 192.168.0.60 not
> known to nova. Trying it as an IP address
> PING 192.168.0.60 (192.168.0.60) 56(84) bytes of data.
> 64 bytes from 192.168.0.60: icmp_seq=1 ttl=64 time=0.367 ms
> --- 192.168.0.60 ping statistics ---
> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
> rtt min/avg/max/mdev = 0.367/0.367/0.367/0.000 ms
> Warning: Permanently added '192.168.0.60' (ECDSA) to the list of known hosts.
> email@example.com's password:
> Note that as we describe in the docs the user is required to add the 'stack'
ack I replied on the other BZ you filed https://bugzilla.redhat.com/show_bug.cgi?id=1502874#c1 (there is an override wired in you can try)
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.