This patch adds new data pipline for seed cluster that add to cluster
deployment info attributes about upgrade
Change-Id: I0630e75508552927b67065ff85cb6bac1bb88f61
Required for create new release just for upgrade, that have overwrited
params. This params are valid for orig cluster release.
Change-Id: Ib2387b9c2b74902c7289ee8f69a5f5d323ec82ca
New handler triggers copying of VIPs from given original cluster to new
one. The reason for separation of this action from copying of network
configuration is that accordion to [1] copying of existing VIPs/allocation
of new ones will not take effect for new cluster unless it has assigned
nodes. Thus in context of cluster upgrade procedure VIP transfer must be
done after node reassignment, and as long as nodes are being operated on
one by one it would be not efficient to call VIP copying method after
each such reassignment.
Tests updated accordingly.
[1]: https://review.openstack.org/#/c/284841/
Change-Id: I33670e8f2561be6fe18cec75bfc7ecc056ae2f6b
Closes-Bug: #1552744
The change introduces Nailgun extensions which use stevedore to
plug into nailgun. Stevedore enables (not only) Fuel developers
to write extensions and develop them independently in separate
repos.
Functions for loading and retriving extensions classes was
moved to new file `manager.py`.
Change-Id: I59015a28f460b1e45312b1c003aadec3cc396ad5
Implements: blueprint stevedore-extensions-discovery
Name ClusterUpgradeHandler should be used for handling uri
/cluster/<id>/upgrade.
Current handler performs clone of environment for upgrading. Thus, rename
ClusterUpgradeHandler to ClusterUpgradeCloneHandler.
Blueprint: upgrade-major-openstack-environment
Change-Id: I6c98e0882c300d587caa32429b49b22baa9ad82f
The patch adds method that assigns a node to an upgrade cluster without
deleting it from DB. This allows to keep ID of the node and IP addresses
assigned to it. The node is booted into the bootstrap image as soon as
it moves to an upgrade cluster.
Implements blueprint: nailgun-api-env-upgrade-extensions
Co-Authored-By: Artur Svechnikov <asvechnikov@mirantis.com>
Change-Id: If10fadd149a32317420778607146d9d12108d3f9
The patch adds an extension which implements the procedure of upgrading
clusters from one major release to another. As a first step of the
procedure the extension provides an ability to create a seed cluster
with the same settings as the original.
Implements blueprint: nailgun-api-env-upgrade-extensions
Change-Id: I22d51a3ffd51a7c88bdcbde0eef6f47b65def1c8