Commit Graph

115 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
OpenDev Sysadmins 50b2c13a2a OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:35:57 +00:00
Andreas Jaeger b0dfcb9742 Prepare for using standard python tests
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.

This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.

See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html

Change-Id: Id5aa984bf85ff6ab2f4d14ebba14870b6579415b
2017-02-02 19:55:31 +01:00
Jenkins f8c0160811 Merge "Show team and repo badges on README" 2017-01-14 16:41:54 +00:00
Dmitry Nikishov 36f3d95a47 Set vip_namespace when migrating vips from 6.x
Change-Id: I7d76f7984a1870c070126b0ccde160f320576cf3
2016-12-09 12:58:04 +04:00
Dmitry Nikishov 89839b88c3 Enable image-based provisioning for 6.0 upgrades
This fix has been lost during the process of
migration of cluster data manipulation functionality
from the octane to this extension.

Change-Id: Ife92cbd0e8d8f8376ffcb1f333d1fac9e911ff3e
Closes-bug: 1573100
2016-12-02 12:37:22 +00:00
Flavio Percoco a4024e24ec Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/0c30147f2cdf5a9c99dd9469315d9316

Change-Id: I23493f3126982b59a3e19bd3c5f072295cdd6b30
2016-11-25 17:39:20 +01:00
Viacheslav Valyavskiy 40315ce69d Introduce role_metadata into cluster adapter
Change-Id: I19fc51f9fd316a7828267afc995275585a225e30
Implements: blueprint role-decomposition
2016-11-09 13:09:58 +03:00
Jenkins ab17ac75ea Merge "Add orig and seed env versions to astute.yaml" 2016-09-23 22:27:35 +00:00
Jenkins 0c040170f9 Merge "Add info about upgrade to deployment_info" 2016-09-23 22:25:06 +00:00
Jenkins 1b1436b29d Merge "py33 is no longer supported by Infra's CI" 2016-09-23 22:21:33 +00:00
Pavel Chechetin 595146163e Add orig and seed env versions to astute.yaml
Change-Id: Ic5eb4b4308feba55cbb97ebc63c1a41b4ed14de8
2016-09-22 17:33:56 +03: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
avnish 5cc7d59a3e py33 is no longer supported by Infra's CI
Python 3.3 support would be dropped by
Infra team from mitaka,CI would no longer be testing it,
so projects should drop it also.

Change-Id: I6a13718ac5e205702bf0baa60e8e552f7cfce1a1
2016-09-21 09:06:27 +05:30
Anastasiya 821f8373ab Sync network groups during cloning environment
for creating of network groups in the seed cluster
such as in the original cluster

Change-Id: I17f95756fa26ef0f7df0e969f9f1ba4331047c8d
Closes-Bug: #1616817
2016-09-19 10:33:44 +00: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
Nikita Zubkov 4136bc9aed Fix README formatting
Change-Id: I67574e8f020901bbd634375a717888a892b362d2
2016-09-14 17:29:17 +03:00
Jenkins ce58ef1d7e Merge "Fetch transformations configuration from Nailgun settings" 2016-09-14 13:56:31 +00:00
Anastasiya 6e7303d276 Skip test regarding vips
due to changes functions get_assigned_vips and
assign_given_vips_for_net_groups in nailgun.network.manager
in the next commit (I2638279371e91f15090c782fc5fdbb434a2e85f8)

Change-Id: I93e43be60dacc9ba5546cb50ba04a98bd35d276c
(cherry picked from commit 2d12209aaa)
2016-09-13 06:32:16 +00:00
Yuriy Taraday f23d273ee8 Fetch transformations configuration from Nailgun settings
Change-Id: Ic03f729c738745ff18c849cb4f3a4b5b8d3fe90c
Closes-Bug: #1618177
2016-09-09 18:22:21 +03:00
Ilya Kharin e38d48cbc5 Merge branch stable/mitaka into master
Change-Id: I9075cbe428013f4b5ee140c0b784712b4ff0fa56
2016-09-09 00:22:42 +03:00
Jenkins cc5764751e Merge "Add support to re-assign a set of nodes" into stable/mitaka 2016-09-07 15:02:53 +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
Nikita Zubkov d87125662f Add test for vip transformer
Change-Id: I65124237604fe6718ad6c351825f192a98d470fb
(cherry picked from commit 55422ddce7)
2016-09-02 22:20:02 +00:00
Jenkins d8e2b002c3 Merge "Add test for vip transformer" 2016-09-01 20:31:03 +00:00
Ilya Kharin e4d4a0b4b4 Merge branch master into stable/mitaka
Change-Id: Ie7b982cac3fa19a431f0368c933cd6dd0877e256
2016-08-29 23:41:29 +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
Nikita Zubkov 55422ddce7 Add test for vip transformer
Change-Id: I65124237604fe6718ad6c351825f192a98d470fb
2016-08-29 18:09:47 +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
Yuriy Taraday 40dd411fe4 Merge master into stable/mitaka
Change-Id: I62b4f8d1a0a75337d617959b0d7cbc104279018b
2016-08-25 00:03:53 +03:00
Jenkins 0ae07c813e Merge "Add VIPs transformer" 2016-08-24 19:59:09 +00:00
Jenkins f4bf5159dd Merge "Move partition info transformation to extension" 2016-08-24 19:59:04 +00:00
Jenkins 09a6e1c20f Merge "Add create upgrade release handler" 2016-08-24 19:52:17 +00: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
Jenkins 7ee7152fa4 Merge "Update README" 2016-08-24 19:31:47 +00:00
Nikita Zubkov 8de47e0dbf Add VIPs transformer
Move upgrade vips code to the transformer

Change-Id: Ia6935521b8b90b73fb74ba92859e7febf74c4ced
2016-08-24 22:05:10 +03:00
Nikita Zubkov b54f9d4c29 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: I422bb368916f3a319e286edcc6103a2834097a87
2016-08-24 21:58:01 +03:00
Jenkins 72df55c185 Merge "Add tests for assign_node_to_cluster" 2016-08-24 18:13:28 +00:00
Jenkins 1b63629862 Merge "Add cluster transformations" 2016-08-24 16:11:27 +00:00
Jenkins 96ca0fdf0d Merge "Add pluggable transformations for data migration" 2016-08-24 16:08:42 +00:00
Anastasiya b3ce0d348c Add tests for assign_node_to_cluster
Change-Id: Iafa1baa6a1ca4d701ec89e49dd9d6f969804c82e
2016-08-24 17:53:59 +03:00
Nikita Zubkov a764ba306d Update README
Add instalation section

Change-Id: Ib16132ab9c18d757e96e98304fdd8339ddf5497a
2016-08-24 10:14:28 +00:00
Yuriy Taraday 95ff3a3598 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: I1ff596f850bd42243697cad1c1c35f0cf1386376
2016-08-23 23:01:16 +03:00
Yuriy Taraday 163ce243fb 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):

    nailgun.cluster_upgrade.transformations.cluster.9.0 =
        dns_list = ...
        ntp_list = ...
    nailgun.cluster_upgrade.transformations.cluster.8.0 =
        ...
    <etc>

- config file will include section that specifies enabled
  transformations like this:

    CLUSTER_UPGRADE_TRANSFORMATIONS:
      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: I8ee75b54180106ad46c1df67f8d5937d6bd810a1
2016-08-23 22:52:15 +03:00
Ilya Kharin 7cf3fe9b3a 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: Ibf6db17f783879eff88e2366dfdb0a2871e2aa0a
2016-08-23 17:00:14 +03:00
Yuriy Taraday d94df3e42b 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: Ic218c7640dea8a65999259dda006ed59cd87bfb9
2016-08-23 12:47:03 +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
Jenkins 38a5d0e2ab Merge "Switch to upstream fuel-web repository" into stable/mitaka 2016-08-22 15:37:02 +00:00
Nikita Zubkov 3cac9b551c Switch to upstream fuel-web repository
Change-Id: I994304bdc8eaf7e4da175981cb721d41a286fed0
Depends-On: Id0bc78478cf3f40767fed760cd54e487a934fa10
2016-08-22 11:01:44 +00:00