Commit Graph

14 Commits

Author SHA1 Message Date
Andreas Jaeger 6093325f07 Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: Id72d32000788ce1cc359d6144d951fc04032a5fc
2019-12-18 09:46:18 +01:00
Nikita Zubkov e7b127a308 Add info about upgrade to deployment_info
This patch adds new data pipline for seed cluster that add to cluster
deployment info attributes about upgrade

Change-Id: I0630e75508552927b67065ff85cb6bac1bb88f61
2016-09-21 18:35:09 +03:00
Nikita Zubkov 4150121e8a Validate network roles for new cluster
Checks that network roles mapping from original release is a subset of
network roles mapping of new cluster's release.

Change-Id: I521e70bf3df289abf3e71c5c1558faf7126db964
Partial-Bug: #1619162
2016-09-21 17:00:02 +03:00
Anastasiya e2b9dbf1ca Add initial support of multi-rack for upgrades
* netgroups mapping was changed (additional argument
  for the mapping was added - name of node group)
* copying of node group during cluster cloning was added

Depends-On: I2638279371e91f15090c782fc5fdbb434a2e85f8
Partial-bug: #1612297

Change-Id: Ib1689d7b6d673c0d78434dd047a7ebc520c232e7
Co-Authored-By: Ryan Moe <rmoe@mirantis.com>
Co-Authored-By: Andrew Woodward <awoodward@mirantis.com>
Co-Authored-By: Ilya Kharin <akscram@gmail.com>
2016-09-15 11:00:28 +00:00
Ilya Kharin a4e2a67e3e Add support to re-assign a set of nodes
This patch adds an ability to re-assign a set of the given nodes at
once. This feature was technically available but not exposed to the
client. A groupped re-assigning allows to effectively re-provision nodes
by creating an atomic task in Astute.

Change-Id: I4a7c7e35d844683ef73ad7f8459d1892e80e0a64
Related-Bug: #1616925
2016-09-07 17:52:13 +03:00
Ilya Kharin 5ead3bf1b7 Return VIPs on the clone operation
The test was also fixed and returned to the integrational manner.

Change-Id: Iea2301c95ec84e10cda8e1437f85f10c0c3e5437
Closes-Bug: #1617943
2016-08-29 19:45:26 +03:00
Sergey Abramov 8147718cf7 Fixes in CreateUpgradeReleaseHandler
* add deployment_tasks in clone release
* fix typo
* copy net_roles_metadata on src releases

Change-Id: Ia3b29f3f6d36442d5980e9fdff951bfcc3ad814f
Closes-bug: 1617247
2016-08-29 14:35:41 +03:00
Sergey Abramov 17ab5a3aaa Add create upgrade release handler
Required for create new release just for upgrade, that have overwrited
params. This params are valid for orig cluster release.

Change-Id: Ib2387b9c2b74902c7289ee8f69a5f5d323ec82ca
2016-08-24 22:36:40 +03:00
Yuriy Taraday 6150aaca88 Replace @content decorator with all that madness
Change Ia3da3bd809bcca923d53666eca54def78c995f65 broke our handlers as
it incorporated destructive changes to all handlers.

Change-Id: I688e833b1fb8b658f01b7f858a140c315fa513a2
2016-08-23 12:25:52 +03:00
Artem Roma c0876c580e Add handler for copying of VIPs
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
2016-07-13 14:03:19 +03:00
Ilya Kharin 405c7db906 Reassign nodes without reinstallation
In some upgrade scenarios when shadow environments are used some of
nodes should not be reprovisioned during this procedure. It is useful in
combination when control plane nodes are reprovisioned and data plane
nodes are updated in place.

The update_cluster_assignment method of the objects.Node class was
changed to accept roles and pending_roles for node during the
reassignment. It allows to specify proper roles by the upgrade
extention.

The NodeReassignHandler handler accepts two additional parameters in the
request body:
  - reprovision = True (default) - allows to skip the reprovision step
  - roles = [] (default) - allows to specify new roles or preserve the
                           current roles if empty

Two additional methods were added to NailgunClusterAdapter and
NailgunReleaseAdapter respectively.

Change-Id: Iedb20a904e58f5b9a86eb47de8d8d317dc3cc61b
Blueprint: upgrade-major-openstack-environment
Closes-Bug: #1558655
2016-07-13 14:03:19 +03:00
Oleg Gelbukh 1d8bfe5435 Rename ClusterUpgradeHandler
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
2016-07-13 14:03:19 +03:00
Ilya Kharin 26b51e7126 Directly assign node to an upgrade cluster
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
2016-07-13 14:03:19 +03:00
Ilya Kharin a80bbf8b6e Introduce extension to upgrade clusters
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
2016-07-13 14:03:19 +03:00