Ocata to Pike upgrade-non-controller needs to work with IPs for split-stack deployments

Bug #1718657 reported by Marios Andreou on 2017-09-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Marios Andreou

Bug Description

[first discussed here https://bugzilla.redhat.com/show_bug.cgi?id=1474697 ]

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.

Furthermore, since we are also runnin ansible, when a nova UUID is passed as the --upgrade node argument, we should get the nova name and use that in the ansible-playbook invocation.

Marios Andreou (marios-b) wrote :
Changed in tripleo:
assignee: nobody → Marios Andreou (marios-b)
status: New → In Progress
tags: added: pike-backport-potential
removed: pik

Reviewed: https://review.openstack.org/505624
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=bfb9f2962fd4933e9588a3b864f5fb538e561629
Submitter: Jenkins
Branch: master

commit bfb9f2962fd4933e9588a3b864f5fb538e561629
Author: marios <email address hidden>
Date: Wed Sep 20 16:16:48 2017 +0300

    Fixup upgrade-non-controller to also accept IP address

    For the P cycle and the upgrade of non controller nodes we should
    also accept IP address as well as nova name/uuid to deal with
    split-stack environments.

    Related-Bug: 1718657
    Change-Id: Ic1edc16efe7620962829c06594b47148a511536e

Reviewed: https://review.openstack.org/509797
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=8f1a59be3578da826f30a54f71e07a9bce62d6a0
Submitter: Jenkins
Branch: stable/pike

commit 8f1a59be3578da826f30a54f71e07a9bce62d6a0
Author: marios <email address hidden>
Date: Wed Sep 20 16:16:48 2017 +0300

    Fixup upgrade-non-controller to also accept IP address

    For the P cycle and the upgrade of non controller nodes we should
    also accept IP address as well as nova name/uuid to deal with
    split-stack environments.

    Related-Bug: 1718657
    Change-Id: Ic1edc16efe7620962829c06594b47148a511536e
    (cherry picked from commit bfb9f2962fd4933e9588a3b864f5fb538e561629)

tags: added: in-stable-pike
Changed in tripleo:
status: In Progress → Fix Committed
Changed in tripleo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers