Add create upgrade release handler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Won't Fix
|
Medium
|
Fuel Documentation Team | ||
Mitaka |
Confirmed
|
Medium
|
Fuel Documentation Team |
Bug Description
https:/
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
commit 17ab5a3aaa7d2c4
Author: Sergey Abramov <email address hidden>
Date: Wed Aug 24 18:32:39 2016 +0300
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: Ib2387b9c2b7490
commit 8de47e0dbf5955b
Author: Nikita Zubkov <email address hidden>
Date: Wed Aug 24 15:42:32 2016 +0300
Add VIPs transformer
Move upgrade vips code to the transformer
Change-Id: Ia6935521b8b90b
commit b54f9d4c29808c4
Author: Nikita Zubkov <email address hidden>
Date: Wed Aug 24 17:51:39 2016 +0300
Move partition info transformation to extension
octane have some dirty hacks to change volumes attributes using nailgun
as a library, such modifications should be done in a extension
Change-Id: I422bb368916f3a
commit b3ce0d348cc20ed
Author: Anastasiya <email address hidden>
Date: Mon Aug 1 15:47:13 2016 +0300
Add tests for assign_
Change-Id: Iafa1baa6a1ca4d
commit a764ba306dcd0cf
Author: Nikita Zubkov <email address hidden>
Date: Tue Aug 23 14:05:16 2016 +0300
Update README
Add instalation section
Change-Id: Ib16132ab9c18d7
commit 95ff3a3598397bb
Author: Yuriy Taraday <email address hidden>
Date: Tue Aug 23 23:01:16 2016 +0300
Add cluster transformations
Implement transformations that are applied to cluster attributes during
environment cloning.
Conversion from text to text_list type has been limited to dns_list and
ntp_list keys only to keep predictable behavior.
Change-Id: I1ff596f850bd42
commit 163ce243fbade3d
Author: Yuriy Taraday <email address hidden>
Date: Tue Aug 23 22:51:19 2016 +0300
Add pluggable transformations for data migration
This change introduces new transformation mechanism:
- all available transformations are listed in setuptools entry points
under namespace like this (for cluster transformations):
...
<etc>
- config file will include section that specifies enabled
transform
cluster:
9.0: dns_list ntp_list ...
8.0: ...
7.0: ...
(only default values are implemented here, actual config support will
follow)
- when transformations are applied to clone cluster from version X to
version Y, first transformations for version X+1 are applied, then
X+2, and so on ending with transformations for version Y.
Since Nailgun doesn't provide any special extension initialization
callback, a Lazy wrapper is implemented to facilitate transformations
manager usage in extension.
Change-Id: I8ee75b54180106
commit 7cf3fe9b3aa0965
Author: Ilya Kharin <email address hidden>
Date: Tue Aug 23 01:04:21 2016 +0300
Disallow to change operating system during upgrade
Changing of an operating system for clouds nodes is not supported and is
not tested at all. That's why this additional validation was added.
Change-Id: Ibf6db17f783879
commit d94df3e42b96cdf
Author: Yuriy Taraday <email address hidden>
Date: Tue Aug 23 12:47:03 2016 +0300
Add bindep.txt to shorten test run time
Currently we have the generic huge list of packages installed on each
test run, fix that to include only necessary packages.
Change-Id: Ic218c7640dea8a
commit 6150aaca88088bc
Author: Yuriy Taraday <email address hidden>
Date: Tue Aug 23 12:25:30 2016 +0300
Replace @content decorator with all that madness
Change Ia3da3bd809bcca
it incorporated destructive changes to all handlers.
Change-Id: I688e833b1fb8b6
commit dc2e3f930957b2c
Author: Anastasiya <email address hidden>
Date: Mon Aug 1 14:39:35 2016 +0300
Move change_env_settings function from octane to cluster upgrade extension
* change_env_settings function was moved to cluster upgrade extention
* merge generated attributes code was written
Change-Id: I6d1e27b8b0c01f
Partial-Bug: #1602587
commit 9e9ae1fabef46dc
Author: Ilya Kharin <email address hidden>
Date: Wed Aug 10 17:28:17 2016 +0300
Add absent __init__.py to migrations/versions
Without the versions/
a package and was not included in a distribution.
Change-Id: I67f152ebb9234d
Closes-Bug: #1611793
commit 9aa37dfe1095fa1
Author: Alexander Tsamutali <email address hidden>
Date: Mon Aug 1 15:47:58 2016 +0300
Add package spec
Change-Id: Id71764dff07a4b
Related-Bug: #1604492
commit 56dc7c1f8fc95ee
Author: Anastasiya <email address hidden>
Date: Fri Jul 8 10:34:07 2016 +0300
Assign node to cluster with network template
Don't need to assign nics and bonds to netgroups
if network template has been applied to new cluster.
Change-Id: Ibd06de87964bf7
Partial-bug: 1584044
commit fdd2a6226483c67
Author: Anastasiya <email address hidden>
Date: Fri Jul 15 10:24:11 2016 +0300
Correction of transformation for text_list
* added removing of space in text_list
* added test for merge_attributes
Change-Id: I5582878fc7c524
Closes-bug: 1602607
commit 651a269e1f4ba4a
Author: Nikita Zubkov <email address hidden>
Date: Tue Jul 19 17:04:32 2016 +0300
Add README
Change-Id: I7c875d89f0423c
commit 035a6f7baa5bc4b
Author: Nikita Zubkov <email address hidden>
Date: Tue Jul 19 18:24:42 2016 +0300
Switch to upstream fuel-web repository
Change-Id: I994304bdc8eaf7
Depends-On: Id0bc78478cf3f4
commit e46a649e87a6454
Author: Nikita Zubkov <email address hidden>
Date: Wed Jul 13 13:43:58 2016 +0300
Fix package namespace
commit 71148973619caea
Author: Nikita Zubkov <email address hidden>
Date: Wed Jul 13 13:43:16 2016 +0300
Add nailgun extension entrypoint to setup.cfg
commit f4b285d098baee9
Author: Sergey Abramov <email address hidden>
Date: Fri May 13 17:53:43 2016 +0300
Fix cluster attributes dns_list and ntp_list
Settings in release change. Cloned cluster should have values valid for
its release.
dns_list and net_list were text values but in version mitaka-9.0 it
changed to text_list
Change-Id: Iac0aa42b7c3633
Closes-Bug: 1572179
commit 963272a0d577d50
Author: Artur Svechnikov <email address hidden>
Date: Wed May 11 12:43:23 2016 +0300
Move models for restrictions to cluster object
Since there are a couple of places where models for
restrictions is initialized, it's moved to cluster object.
Also, comments from previous commit
(Ibba795196
It's refactoring bug is not needed.
Change-Id: Ic499a5deefb127
commit 93d7fb982b994e8
Author: Artur Svechnikov <email address hidden>
Date: Wed May 4 13:29:17 2016 +0300
Check nodes roles before deployment
Nodes roles should be checked in CheckBeforeDepl
because it's possible to deploy node with conflicting roles
or with incompatible role. Roles release metadata will be
used for roles checks, this metadata contains restrictions.
Since `depends` is not used anymore, it's changed to
`restrictions` in assignment validator.
Change-Id: Ibba7951968cbaf
Closes-Bug: #1573006
commit e7230f5824315e9
Author: Dmitry Guryanov <email address hidden>
Date: Tue Apr 19 18:07:31 2016 +0300
Don't use self.env.
Since self.env.create always return db object now,
we can use this returned value instead of
self.
It's a refactoring, so no bug or blueprint.
Change-Id: If7c84cb7124bcf
commit 5bbaf23795c645b
Author: Nikita Zubkov <email address hidden>
Date: Tue Apr 5 15:31:37 2016 +0300
Add exceptions hierarchy
nailgun.errors have a huge set of exceptions but without hierarchy. This
patch remove exception generation from dict and make it explicitly with
python classes and add some exceptions hierarchy. Now all network errors
inherit from NetworkException and same for other exceptions.
Change-Id: I9a2c6b358ea02a
Closes-bug: #1566195
commit 99d9afbe2befd97
Author: Ryan Moe <email address hidden>
Date: Mon Apr 4 14:29:58 2016 -0700
Move network objects to extension
All network-related objects have been moved into the
network_manager extension and import paths have been updated.
Blueprint: network-
Change-Id: I6e16df86a58d61
commit 8f29bf537d9b500
Author: Oleg Gelbukh <email address hidden>
Date: Wed Mar 9 18:42:21 2016 +0000
Properly iterate through VIPs
In the original form, the iterator was changed inside
the loop. Iterating through separate list object
fixes this issue.
Change-Id: I8c2a47b54f1339
Closes-bug: 1539039
commit 6db717cff27edce
Author: Artem Roma <email address hidden>
Date: Thu Feb 25 19:45:50 2016 +0200
Fix get_common_
Now if common nodegroup has not been found for given nodes None as a
result is returned instead of default node group.
This directly affects procedure of VIP allocation as (e.g.) VIPs will
not be allocated when cluster does not have assigned nodes.
Tests updated accordingly
Change-Id: Iaa94453f3f98cc
Closes-Bug: #1549254
commit c0876c580e4a913
Author: Artem Roma <email address hidden>
Date: Tue Mar 1 15:38:37 2016 +0200
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:/
Change-Id: I33670e8f2561be
Closes-Bug: #1552744
commit ecec1f6d3c68e58
Author: Alexander Kislitsky <email address hidden>
Date: Tue Mar 22 09:31:58 2016 +0300
Performance of network manager operation improve
We have extra SQLs generated in the NetworkManager when passing
node_id instead already loaded SQLAlchemy node object.
Additional changes:
- Bulk insert used in IPs assiging process.
- zip changed on six.moves.zip in the NetworkManager.
- Removed unused function get_admin_
Co-Authored-By: Dmitry Guryanov <email address hidden>
Partial-Bug: #1498365
Change-Id: I0518a5879c775d
commit 405c7db906b7200
Author: Ilya Kharin <email address hidden>
Date: Sun Feb 14 23:15:32 2016 -0600
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_
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
Two additional methods were added to NailgunClusterA
NailgunRele
Change-Id: Iedb20a904e58f5
Blueprint: upgrade-
Closes-Bug: #1558655
commit 3cda80e31af64eb
Author: Ilya Kharin <email address hidden>
Date: Mon Mar 7 21:04:04 2016 -0600
Use the 9.0 release in tests for cluster_upgrade
This patch also renames names of variables in tests of the
cluster_upgrade extension from more specific names that contain versions
of releases to least specific names.
Change-Id: Ic02b4426c1bb0b
Closes-Bug: #1555339
commit 73b52c9e655e7c6
Author: Fedor Zhadaev <email address hidden>
Date: Mon Feb 8 11:42:00 2016 +0300
Remove Mirantis-specific code from fuel-web repo
Remove code related to registration in Mirantis tracking system and
using Mirantis server to collect statistics.
Change-Id: Ie1243a8b12368a
Related to blueprint remove-vendor-code
Depends-On: Id67d6201cb23e3
commit a2fd459b6bdcf6e
Author: Ryan Moe <email address hidden>
Date: Tue Oct 27 14:54:43 2015 -0700
Move all db queries from network manager to objects
All network-related database queries are moved into the appropriate
object methods. This is being done to make it possible to have an external
network management service.
Blueprint: network-
Change-Id: I4ce965f227c545
commit 761d356c22ab134
Author: Sylwester Brzeczkowski <email address hidden>
Date: Tue Dec 22 11:22:08 2015 +0100
Nailgun extensions in stevedore
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: I59015a28f460b1
Implements: blueprint stevedore-
commit f0faf014f82212e
Author: Ivan Kliuk <email address hidden>
Date: Sat Dec 5 17:16:38 2015 +0200
New VIP-related fields in the database
* Add 'is_user_defined' field to 'ip_addrs' table.
* Rename 'vip_type' field to 'vip_name' of table 'ip_addrs'.
* Add 'vip_namespace' field to 'ip_addrs' table.
* Copy vip namespaces from plugin table network roles to 'vip_namespace' field
according to the unique vip name.
* Add database migrations.
* Add unit test for migrations.
Change-Id: Ia3e1d7f6e08dbe
Partial-bug: #1482399
commit c5fd9ee16f81b63
Author: Oleg Gelbukh <email address hidden>
Date: Thu Oct 22 17:57:23 2015 +0000
Change openstack_version to liberty-9.0 in openstack.yaml
Set release name to 'Liberty' in display name and description of new release.
Set openstack_version setting to 'liberty-9.0' to comply with the existing
versions schema.
Set opesntack_version to 'liberty-9.0' in tests.
Closes-bug: 1503663
Change-Id: Ifef952e18f08b9
commit 192f9e192bb6359
Author: Andrey Shestakov <email address hidden>
Date: Mon Nov 2 17:08:04 2015 +0200
Patch network_
The patching mostly done for tests for nailgun components adhering to
the release version. E.g. network serializers. Some tests are forced to
create environments of 8.0 version. The change is needed to resolve
possible issues with the tests when network roles metadata is changed
drastically and is not compatible with mentioned components.
Partial-Bug: #1517874
Change-Id: I55607157ae7767
commit 1d8bfe5435c9d08
Author: Oleg Gelbukh <email address hidden>
Date: Fri Oct 30 13:54:28 2015 +0000
Rename ClusterUpgradeH
Name ClusterUpgradeH
/cluster/
Current handler performs clone of environment for upgrading. Thus, rename
ClusterUpgr
Blueprint: upgrade-
Change-Id: I6c98e0882c300d
commit e62381890442491
Author: Maciej Kwiek <email address hidden>
Date: Tue Oct 20 11:40:25 2015 +0200
Replace release.
is_deployable doesn't really give any additional information for a
release, it is removed. To make change API-backward-
retained as a property dependent on release.state.
New state is added - manageonly, for environments that are not able to
be deployed, but can still be managed.
Change-Id: I518a0114730a2f
Closes-bug: #1503303
DocImpact
commit f29f6dd05fdbd11
Author: Ilya Kharin <email address hidden>
Date: Tue Aug 18 14:37:25 2015 +0300
Set the node_id param as a required property
The node_id property is a required property to perform the re-assigning
a node with a given ID from one cluster to another.
Change-Id: I2442442260f198
Closes-Bug: #1483239
commit 3a92661957a93e0
Author: Ilya Kharin <email address hidden>
Date: Tue Aug 11 16:23:08 2015 +0300
Rename types of VIPs during upgrade to 7.0
In the 7.0 release the networking templates were introduced. They use
the ip.addrs.vip_type column as names of VIPs and these names differ
from names of previous releases. To solve this we can renamed VIPs of
older releases during upgrade to 7.0 accoring the rules:
management: haproxy -> management
public: haproxy -> public
public: vrouter -> vrouter_pub
Change-Id: Ia77d13ea90408a
Closes-Bug: #1482577
commit 26b51e7126c8a0a
Author: Ilya Kharin <email address hidden>
Date: Sun Jul 19 23:50:40 2015 +0300
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-
Co-Authored-By: Artur Svechnikov <email address hidden>
Change-Id: If10fadd149a323
commit a80bbf8b6e549f9
Author: Ilya Kharin <email address hidden>
Date: Tue Jul 28 05:03:32 2015 +0300
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-
Change-Id: I22d51a3ffd51a7
Changed in fuel: | |
milestone: | none → 9.1 |
assignee: | nobody → Fuel Documentation Team (fuel-docs) |
tags: | added: area-docs |
Changed in fuel: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in fuel: | |
status: | Confirmed → Won't Fix |