Commit Graph

1376 Commits

Author SHA1 Message Date
Andreas Jaeger 6c3c29767d 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: I05e9dc69ed58c70c50d5c6d065ba60b244c5c9d2
2019-12-18 09:47:46 +01:00
lidong 63d00b4791 Fix a typo
Change-Id: I70ee8b08fac10f962a9491a59d91a1345c658f29
2017-04-05 23:20:45 -07:00
Sergey Abramov ed1b08b6f4 Upgrade with graph as default instead python based
Closes-bug: 1646112
Change-Id: I37365b134e10e429f82fbbaff341ed04b31030b9
2016-12-01 12:10:54 +03:00
Jenkins de0a2c1903 Merge "Do not create logs symlinks for nodes in discover" 2016-11-14 10:48:42 +00:00
Sergey Abramov c4235e362f Do not create logs symlinks for nodes in discover
Change-Id: Ie5a63e296d70483d29ab73992b8ab38a160baa2d
Closes-Bug: 1640760
2016-11-14 13:10:02 +03:00
Cao Xuan Hoang f25f76e492 Add Apache 2.0 license to source file
As per OpenStack licensing guide lines [1]:
[H102 H103] Newly contributed Source Code should be licensed under
the Apache 2.0 license.
[H104] Files with no code shouldn't contain any license header nor
comments, and must be left completely empty.

[1] http://docs.openstack.org/developer/hacking/#openstack-licensing

Change-Id: I72247b1a4b1efdc329d424e269600793b29e5428
2016-11-07 13:07:24 +07:00
Dmitry Nikishov a921ad0021 Fixed missing hiera item for upgrade-control
Change-Id: I8718b6620c16ed2bfa30eedfabeecc4259701f07
2016-11-01 10:39:41 +00:00
Dmitry Nikishov 9158ec52b3 Added missing upgrade-db attributes to cluster
Change-Id: I78e48de4f44921ef4af7b9a6c0f2625f9003101c
2016-11-01 13:35:03 +03:00
Jenkins d071673790 Merge "Python part for osd-upgrade with graph" 2016-10-19 13:01:58 +00:00
Dmitry Nikishov 064ed577d4 Python part for osd-upgrade with graph
Change-Id: I7896e705fbb2911fe3446c59d25fd70c5d808c7a
2016-10-18 16:17:21 +03:00
Jenkins 9e69e8d0d6 Merge "Restart mcollective on slave nodes after restore" 2016-10-13 10:35:34 +00:00
Ilya Kharin f91ff40264 Restart mcollective on slave nodes after restore
Also, on the backup step a status of `mco ping` is serialized in an
upgrade tarball and on the restore step it is compared with the actual
status. All nodes that are not respond are logged.

In additional, the status of `mco ping` is archived on the backup step
and is compared on the restore step with the actual ones.

Change-Id: Ibba81102214998d83614a42cdb21c21bebd8284a
Related-Bug: #1561092
2016-10-12 17:43:23 +03:00
Jenkins 92f39c3d4e Merge "Implementation of preupgrade-compute as task graph" 2016-10-12 12:59:35 +00:00
Jenkins 2c1ee4127f Merge "Graph execution on specific nodes" 2016-10-12 12:57:56 +00:00
Dmitry Nikishov ae8326e7f7 Implementation of preupgrade-compute as task graph
- Add repo list to cluster settings
- Add package list to cluster settings
- Override repo list on computes via Hiera
- Clear old apt configuration
- Rsync latest puppet modules
- Use setup_repositories task to set up new repos
- Upgrade packages
- Remove override
- Roll back repo configuration

Change-Id: I2d3dc57702084dfd5ac771a6f55e11968f86f9f3
2016-10-12 09:03:42 +00:00
Dmitry Nikishov 47e1fbadd7 Graph execution on specific nodes
This commit allows to execute graphs
on specific nodes. It also adds the
ability to upload graphs to specific
environment (seed/orig) instead of
allowing to upload to both at the same
time.

Change-Id: I560cfed850d356e2fde86f44cc68c200cf693958
2016-10-12 09:03:20 +00:00
Pavel Chechetin 195aed783f Graph-based switch-controlplane. Python part.
Note: this CR implements switch-controlplane `with-graph` only partially.
Some code have been reused due to absence of isolation control in
`fuel-cluster-upgrade-extension`.

Change-Id: Icdaec6f57e73b0e4cdec34bf7307e9429af2cb1c
2016-10-06 10:45:05 +03:00
Jenkins bd40fb33d2 Merge "Fix the backup of network node group data" 2016-09-21 15:51:24 +00:00
Sergey Novikov e793679717 Fix the backup of network node group data
Closes-Bug: #1626167
Change-Id: I4b2d2f28950fce01e3e492f0c1145af29b424bd5
2016-09-21 18:40:45 +03:00
Ilya Kharin 14be38cd7f Set forcefully upgrade_levels after deploy-changes
Appropriate upgrade_levels have to be set after each deploy-changes for
controller and compute nodes because they are cleared. It have to be
solved using advanced configuration feature.

Change-Id: Idbe13e58d2ae0787620211ba0300150ed4e82f39
Partial-Bug: #1624341
2016-09-21 15:34:50 +00:00
Ilya Kharin b71daaec85 Set upgrade level after each upgrade-node
The upgrade_levels:compute parameter have to be set after each deploy
changes operation on controllers otherwise live-migration of instances
will not work properly.

Change-Id: I98a89b51102371f7a50d8a182dc61d671dbf7151
Partial-Bug: #1624341
2016-09-21 08:05:09 +00:00
Ilya Kharin 33a8b5abb2 Perform cinder-manage volume update_host
The backend name for volumes was changed since Kilo. To make these
volumes back manageable in Mitaka their hostnames have to be changed.
The `cinder-manage volume update_host` command is suitable to do that.

Change-Id: Ieeadd81c714186d58a3e3dfe5fd1223c40d16996
Partial-Bug: #1624341
2016-09-20 22:32:36 +00:00
Jenkins 660754c3f9 Merge "Restart radosgw during upgrade-ceph" 2016-09-20 09:09:48 +00:00
Jenkins 8a4278e3b9 Merge "Insert physnet1 in ml2_flat_allocations" 2016-09-20 09:05:49 +00:00
Ilya Kharin 4b2114f835 Restart radosgw during upgrade-ceph
The radosgw have to be restarted during the upgrade of Ceph otherwise
the object store will be unavailable on the primary controller.

Change-Id: If949b24a6176c3c65ff4c26b089b4997bd991cb5
Related-Bug: #1624341
2016-09-20 08:58:53 +00:00
Sergey Abramov 9e31055b38 Insert physnet1 in ml2_flat_allocations
On fix neutron migration insert phisnet1 in ml2_flat_allocations table.

Change-Id: I6af2eb78d25a060e5f1ba71d6180ca207988d656
2016-09-20 11:56:55 +03:00
Ilya Kharin 7de16ef0e9 Add 9.1 with liberty upgrade levels
All environments which are created on the 9.1 Fuel Master node have
fuel_version is equal to 9.1. This release have to be added in
UPGRADE_LEVELS with the 'liberty' compatibility to support N+1 and N+2
upgrades.

Change-Id: Ic4cd045e6d428ce5cfed65f385a689629a232332
Closes-Bug: #1625083
(cherry picked from commit c0145127c2)
2016-09-19 18:24:23 +00:00
Ilya Kharin 6d470c338e Rename VERSIONS to UPGRADE_LEVELS
This variable was renamed with more appropriate name to not confuse
people.

Change-Id: I444a2f44a8d8b2ed6538c397482191a7a2d4f65c
Related-Bug: #1625083
2016-09-19 14:37:51 +00:00
Jenkins 413c6b03a8 Merge "Catch general Exception on upgrade ceph osd" 2016-09-16 11:35:55 +00:00
Jenkins adf928ece2 Merge "prepare_net_info only if info contains quantum_settings" 2016-09-16 11:35:14 +00:00
Sergey Abramov 55d0836681 prepare_net_info only if info contains quantum_settings
Nailgun changed API:

It returned list of nodes and everyone of them contain common
information (for example quantum_settings)

Now it returns list of all nodes without common settings and common
settings dict

Change-Id: I15154c93c83bcfcd5107c7dd253fc8232506c092
Closses-bug: 1623854
2016-09-16 14:09:01 +03:00
Sergey Abramov 9a58209dc1 Catch general Exception on upgrade ceph osd
This is reqired for pass check on ceph upgrade. In fuel/8.0 ceph
calculates wrong PGS count.

Change-Id: I46d4ef5c48d9cde682243e5f6cf8145aa115b3e2
Related-Bug: 1541418
Closes-Bug: 1622543
2016-09-16 12:20:17 +03:00
Nikita Zubkov 1166727637 Fix validation of astute.yaml before backup
You can't get data from the archive that open for write. This patch
changes astute.yaml backup and we validate user and password directly
from astute.yaml on fs.

Change-Id: I6583d21285f0299772a1fa11018002a86745b227
Closes-Bug: #1624258
2016-09-16 12:12:13 +03:00
Jenkins 342de46ffe Merge "Allow to use manageonly releases for preupgrades" 2016-09-15 19:26:31 +00:00
Jenkins cab09b94fc Merge "Check that astute.yaml password is valid before backup" 2016-09-15 19:21:03 +00:00
Ilya Kharin 3311ac84af Allow to use manageonly releases for preupgrades
The Liberty releases are marked as manageonly but they have to be
applied for compute nodes.

Change-Id: I81c3b87522b6c6463a54be2ca6fca8d91847eb4d
Related-Bug: #1624041
2016-09-15 19:14:46 +00:00
Jenkins 79bd33a187 Merge "Remove replaced deployment info" 2016-09-13 09:15:03 +00:00
Nikita Zubkov d678e14535 Check that astute.yaml password is valid before backup
This commit adds astute.yaml password validation in backup procedure. If
we have a valid password we don't need ask a user about it and could use
astute.yaml "as is" without fixing password there.

Change-Id: I0dd79ec624159dd1132ca06a86b35d80941c8c39
Partial-Bug: #1606613
2016-09-12 14:01:10 +03:00
Ilya Kharin f9d9919da5 Set the noop_run parameter to False
Follow changes in the internal API of fuelclient. The noop_run parameter
is positional and required now.

Change-Id: Ie9d3eb765879ed52e5c22de93fbe2cc4bc54fd10
Related-Bug: #1617993
2016-09-11 01:20:51 +03:00
Ilya Kharin f3c6b95a45 Remove replaced deployment info
The replaced deployment information have to be removed after the
upgrade-control operation because it contains some specific
modifications only to support isolation mode on the primary controller
and after removing of the isolation mode there is no more necessity in
it.

Change-Id: I5b056a5afcefb0114ec374d2ee9596abccf967fa
Closes-Bug: #1621439
2016-09-10 04:09:26 +03:00
Ilya Kharin 27531efb95 Use deploy_changes for sets of nodes
The deploy_changes method involves additional nodes into deployment to
perform necessary tasks to keep clustered software in a consistent
state. A direct execution of tasks on a specific set of nodes does not
involve other necessary nodes and it leads to some failures during
deployments.

Change-Id: Ibbdeb40e4287a3170b57c11d88f5aea0afa2b5c7
Closes-Bug: #1619821
2016-09-10 03:02:28 +03:00
Jenkins 15b1dcfa4a Merge "Don't set up duplicate repos" 2016-09-09 20:37:52 +00:00
Jenkins d89d8817a7 Merge "TrivialFix: Remove logging import unused" 2016-09-09 20:37:34 +00:00
Sergey Abramov a9e7c1020f Don't set up duplicate repos
This is required if seed and orig env repos has the same repos.
Set up only that repos that not found in orig env.

Change-Id: I6a953634e1482af1b89ab1f5da878f52152e7ada
Closes-bug: 1621491
2016-09-09 13:35:37 +03:00
Sergey Abramov 12160e1676 Refactoring osd cmd
* Use util/apt function for construct sources
* Use util/apt function for contrstruct preferences

Change-Id: I3bbdeb3a0bc31154be4cce7d8d354e05b0700084
Partial-Bug: 1620277
2016-09-09 10:33:02 +03:00
Sergey Abramov 19ae8ddcdb Add packages in preference generation
Change-Id: I465dd959b50b855f6ddc9e81fe7605c80415b5b9
Partial-Bug: 1620277
2016-09-09 10:31:36 +03:00
Jenkins b37b9e39dc Merge "Move a set of nodes at once" 2016-09-08 21:53:40 +00:00
Jenkins ad64fba79b Merge "Clean imports in code" 2016-09-08 21:50:22 +00:00
Ilya Kharin 9a4817174e Move a set of nodes at once
Before this patch octane made separate calls to move nodes one by one.

Change-Id: I999a98d57b3184d35972e4862fcb4f284a066e9e
Related-Bug: #1616925
2016-09-08 21:39:18 +00:00
Jenkins 21ab16ccfc Merge "Osd upgrade failed if version not changed" 2016-09-08 21:37:09 +00:00