d644295587
This adds a required, mutually exclusive argument group for
--roles and --nodes. --roles replaces the existing --role.
This shifts the semantics of upgrading 'one at a time' (compute)
vs 'all together' (controller) to the operator. You can either
specify roles or nodes but not both. Using nodes for contollers
is not supported but we can only warn.
openstack overcloud upgrade run --roles Controller
openstack overcloud upgrade run --nodes overcloud-compute-0 overcloud-compute-1
#for the really ambitious
openstack overcloud upgrade run --roles Controller Networker
Change-Id: I0418883557113b5a67cfeaf181614dc5fe32ca94
(cherry picked from commit b84e4e13d5
)
17 lines
688 B
YAML
17 lines
688 B
YAML
---
|
|
upgrade:
|
|
- |
|
|
This adds the new --roles and --nodes parameters for the Queens major
|
|
upgrade cli, specifically for the 'openstack overcloud upgrade run' which
|
|
executes the ansible playbooks on overcloud nodes.
|
|
|
|
openstack overcloud upgrade run --nodes compute-0 compute-1
|
|
openstack overcloud upgrade run --roles Controller
|
|
|
|
Nodes for controlplane roles (the default 'Controller' role for example)
|
|
need to be upgraded using the --roles parameter as these nodes must be
|
|
upgraded together/in parallel.
|
|
|
|
For non controlplane roles the --nodes parameter can be used to limit the
|
|
upgrade run to one or more nodes as specified by the operator.
|