Commit Graph

38 Commits

Author SHA1 Message Date
Ghanshyam Mann 72ea117f61 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ic549bdcc76a5e12a0104143fbe79fd0db2c866b0
2024-02-24 11:44:35 -08:00
yatinkarel 6887104038 Fix neutron_bridge_mappings default for standalone
br-tenant is not created as part of standalone
deployments but bridge_mapping was refererring
it. This results into unnecessary Warning[1] in
ovn-controller logs, this patch fixes it.

[1] Bridge 'br-tenant' not found for network 'tenant'

Related-Bug: #1895822
Change-Id: I9b23d6842cd518971b325ffd29b51d171c353b4f
2023-03-28 14:07:14 +05:30
Zuul 04448e9d1d Merge "standalone: Remove logic for unsupported old releases" 2023-02-04 19:50:53 +00:00
Juan Badia Payno 7eb28168a3 Added some train2wallaby needed parameters
On the FFU freom train to wallaby there are a couple of missings parameters
that are needed. Otherwise nova wont work.

This change uses:
https://review.opendev.org/c/openstack/tripleo-quickstart/+/829711

Change-Id: I687629530d1e342dd7f3c8e77334206101305503
2022-11-04 09:39:03 +01:00
Takashi Kajinami bfb196945c standalone: Remove logic for unsupported old releases
This change removes logic for releases older than train, because these
releases are already EOLed. This covers only standalone roles and
playbooks.

Change-Id: I7b374d5bdb8411a2d773eb1c7ba0e4ded8f5cfbc
2022-10-25 17:16:43 +09:00
Douglas Viroel 77b32c8e7d Set pcs version to 0.10.11-1 in all releases
The last known good 'pcs' version is still 0.10.11-1, but we identify that
all releases are affected by this issue. This patch removes the release
constraint and runs 'pcs' downgrade for all in the standalone upgrade
workflow.

Related-Bug: #1953326
Change-Id: Ic3cbef91ffe1b446649a16d22e6f8cb75c77b876
Signed-off-by: Douglas Viroel <dviroel@redhat.com>
2021-12-15 17:03:14 -03:00
Douglas Viroel c128e21b03 Downgrade pcs to 0.10.11-1 version in upgrade
The last known good version is 0.10.11-1 and we need to provide it
in dnf downgrade package command.
This patch will be reverted as soon we have a new pcs version that
works with upgrade workflow.

Related-Bug: #1953326
Change-Id: Ie479f52fb2cdca1220a60f03440393b9b010f27f
2021-12-14 11:38:10 -03:00
Pooja Jadhav 64c54bf399 Downgrade pcs in upgrade workflow - workaround
pcs.x86_64 0.10.11-2.el8 breaks the upgrade
workflow ussuri and victoria.

This patch downgrades pcs to a previous version
to avoid the error while the fix is in progress.

Related-Bug: #1953326
Change-Id: Ief54842c7d5b99fef71e909a6395cfd027cd3214
2021-12-08 17:54:01 -05:00
yatinkarel 40451a3f30 Set DockerInsecureRegistryAddress consistantly
Set DockerInsecureRegistryAddress consistantly
across standalone deploy/upgrade and undercloud
deploy roles.

Also include following changes:-
- Use local_docker_registry_host in place of standalone_ip
as that's common for both undercloud and standalone deploys.
- Use quay.io instead of docker.io as a default registry due
to rate limits with docker.io.

Follow up of [1].

[1] https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/814699

Change-Id: I4286e1d0867fc972517f8e27665f43777c2da52a
2021-11-02 17:10:19 +05:30
Juan Badia Payno 445d4d5d3f Remove --standalone argument from upgrade script
The --standalone option was removed at [1], the upgrade sript
still has the option that is why it was failing.

[1] - https://review.opendev.org/c/openstack/python-tripleoclient/+/753447
Closes-bug: #1943462

Change-Id: I4f88fa159928bdc0446c5bc85cc1c62e352ca9cc
2021-09-17 12:00:05 +02:00
yatinkarel bf092d6481 [Standalone Upgrade] Use output directory same as deploy
Standalone deploy already switched to <working_dir>/tripleo-deploy
in [1], for same reasons switch the standalone upgrade too.

Also when using different output directory, passwords
get's regenerated during upgrade and causing issues
like #1935691.

[1] https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/789764

Closes-Bug: #1935691
Change-Id: If6c1892d9f3d4613163dca2a0f7f293bf076a7b6
2021-07-12 15:48:57 +05:30
Zuul 0cac5254c2 Merge "Revert "Static OVN bridge mac mappings for standalone"" 2021-05-17 16:07:32 +00:00
Harald Jensås 903f1927dc Revert "Static OVN bridge mac mappings for standalone"
This reverts commit 7317b44130.

Reason for revert:
No longer required since change: I79d141358ead2a2c90fdb728e17926d96d498a28 we now do it in TripleO client.

Change-Id: I2b7f00b8c9b56ba38c271de90fadac3fdd85fcfe
2021-05-14 21:20:40 +00:00
Amol Kahat 7f0ddf5c4d
Added standalone_hostname in standalone-upgrade role
standalone_hostname is not present in the role. Which
was leading to failures while running it.
Added standalone_hostname in the multinode upgrade playbook.

Closes-Bug: #1927314

Change-Id: I91af8313e5aacbc4c5ed358c411fe6c9bd7ddc14
Signed-off-by: Amol Kahat <amolkahat@gmail.com>
2021-05-12 15:34:05 +05:30
Zuul c8f232e671 Merge "Static OVN bridge mac mappings for standalone" 2021-05-05 01:19:09 +00:00
Marios Andreou c2b0910fe1 Remove all rocky related conditionals and tests after rocky End of Life
Rocky is now EOL since [1][2] so this removes all the rocky related tests
or conditionals.
Related reviews in topic branch tripleo-ci-reduce-rocky [3].

[1] https://review.opendev.org/c/openstack/releases/+/774244
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-March/020912.html
[3] https://review.opendev.org/q/topic:tripleo-ci-reduce-rocky

Change-Id: Icb999fa6c8278bd54c200c73963b5e364c94c23d
2021-03-29 11:54:27 +00:00
Harald Jensås 7317b44130 Static OVN bridge mac mappings for standalone
Set OVNStaticBridgeMacMappings for standalone deployments.
For context, see:
 change: I6ce29d2908e76044c55eb96d0d3779fe67ba9169
 change: I0bc9c180b6a6cb70d32005e9528cf1b16c861ea8

Change-Id: If8ab41e3d0acb15d10b6c27b360bc244d3e16c08
Related: blueprint network-data-v2-ports
2021-03-26 03:03:21 +01:00
Alex Schultz fa1bd4ad28 Standalone configure neutron bridge correctly
This change updates the default bridge mapping from datacentre:br-ex to
datacentre:br-ctlplane. We're doing this because in the standalone in
CI, we configure a br-ex before running the standalone (via
undercloud-setup) and want to attach our br-ctlplane to it. We then want
to ensure that we use br-ctlplane for the neutron access to the external
network to prevent weird routing issues when we have two bridges on the
same subnet.

Depends-On: https://review.opendev.org/#/c/757605/
Change-Id: I0e5aa3f58746dc0b92bd35ade7792f323b5647f7
Related-Bug: #1895822
2020-10-19 12:13:03 +00:00
Marios Andreou 8d535ec0f9 Wire up job.registry_ip_address_branch for content provider jobs
Wires up the content provider container registry address into
DockerInsecureRegistryAddress. Makes sure we are using the
_address_branch version in all other references to the
job.registry_ip_address var.

Needed by the upgrade jobs in https://review.opendev.org/753403
Change-Id: If9b516860ad3f102e39cb8755cd8aee6f9aae413
2020-10-15 13:11:35 +03:00
yatinkarel 8977386200 Use ansible_pkg_mgr instead of hardcoded yum
Also fix following:-
- Fix usage of python-tripleoclient, package
  name is python3-tripleoclient for EL8 distros,
  using python*-tripleoclient will work for both
  EL7 and EL8.
- Move package update tasks to container-prep
  as that's run before standalone upgrade and package
  needs to be updated before container prep.
- Add tripleo-ansible to package update list as that's
  need to be latest like other tripleo packages.

Related-Bug: #1897863
Depends-On: https://review.opendev.org/#/c/755312/
Change-Id: I20c3814e367a6d062961b7d81615b22a35a8e67b
2020-10-05 15:33:35 +05:30
Damien Ciabrini 5c02fd18ef Standalone upgrade for HA profile
Since Ussuri, standalone defaults to HA profile and
uses a dedicated setting for control-virtual-ip [1].

When generating the upgrade script, make sure to
generate the appropriate control-virtual-ip setting
to keep the pacemaker configuration intact.

[1] I367cf4b65300be8dca0190b9adeab549018d4a56

Closes-Bug: #1886529

Change-Id: I8e5bf2e3582564cff90f0bb6ef7d5660c1aa2cb5
2020-08-28 12:05:03 +00:00
Bhagyashri Shewale a06d298745 Fix standalone upgrade train failure
Post this fix https://review.opendev.org/#/c/727887/1 standalone upgrade
train starts failing.

To confirm the upgrade, user will need to explicitly pass --yes flag
while upgrade.

Closes-Bug: #1881306
Change-Id: I36dc044e86534e6d40bf714eec8360fead315740
Signed-off-by: Bhagyashri Shewale <bshewale@redhat.com>
2020-05-29 21:18:32 +05:30
Zuul 7d48d0bca1 Merge "Revert "standalone: enable ConfigDebug by default"" 2020-04-04 00:26:57 +00:00
Alex Schultz 9aaf74bf71 Revert "standalone: enable ConfigDebug by default"
This reverts commit 334271d8a3.

This also enables puppet debug which is excessively verbose
leading to really large and consumable logs. I think this
should only be used when we're hitting problems and not on
by default.

Change-Id: Ibdb85f11cc9c1381b25092f54e946eff7118bcfd
2020-04-01 23:22:32 +00:00
Sorin Sbarnea 8b2e5653e4 lint: fixed ansible-lint 301 rule
Change-Id: I8ce7e11cd6027b53f1112c5880a5891c778db9d4
2020-01-05 19:37:09 +00:00
Emilien Macchi 334271d8a3 standalone: enable ConfigDebug by default
Like we already enable Debug & ContainerImagePrepareDebug by default,
let's also have ConfigDebug which is very handy to have config steps
logs.

Change-Id: I252585a91de919c36c3a0713dc78f7bd4a038025
2019-11-27 07:02:16 -05:00
Sorin Sbarnea 1c6b947bf2 ansible-lint: removed skip of 206
- Fixes 206 errors and removed the skip.
- Also replaces revision with latest tag (pushed today)

Bug: https://bugs.launchpad.net/tripleo/+bug/1848512
Change-Id: I69d75ba9de8ab0e91eb45fd4f9febfdb28cdcb3a
2019-10-25 17:15:40 +01:00
Sandeep Yadav e4659b063a Replace StandaloneLocalMtu with InterfaceLocalMtu
This patch replaces `StandaloneLocalMtu` with `InterfaceLocalMtu` in the
config jinja files. `StandaloneLocalMtu` has been shipped
as the parameter to specify MTU, although the correct one is
`InterfaceLocalMtu`.

Change-Id: I1cd769666567320ddad98ef2b12995e5749f6428
Closes-Bug: #1844167
2019-09-20 09:50:25 +05:30
Gabriele Cerami 50c3916c8d standalone upgrade: use container_build_id as tag specifier
container prep role server as a collection point to all the variables that
specify a tag, and set the winner tag in container_build_id. Let's use that var
instead to prepare the containers.

Change-Id: Ia0e446c7e0ec91822e678362bb43f4abc988046f
2019-05-22 10:35:29 +01:00
Gabriele Cerami a51fae7da1 standalone upgrade: parametrize registry host
Registry host was hard coded in the container prepare script for the standalone upgrade.
This changes the value to a variable

Change-Id: Icab38ecc64f76fe08490af948056ca717ec13921
2019-05-21 13:51:23 +01:00
Emilien Macchi cb5269e42f standalone: enable debug on container image build
Very useful to have the container image builds logs, as such as we
enabled Debug by default.

Change-Id: Id544c86273131c160a84e8f6bb8cdfef757d7da1
2019-02-20 13:31:39 -05:00
Jose Luis Franco Arza 681104096a Make use of standalone-tripleo.yml env in standalone-upgrade.
The standalone deployment role is using /environments/standalone/
standalone-tripleo.yaml file, however in the role used for upgrading
we append environment/standalone.yml instead of the very same one.
This is causing issues at the time of upgrading.

Change-Id: I5ab70931d5df74a1e4f3369886f3b5ace9e11222
Closes-Bug: #1815770
2019-02-13 15:44:40 +01:00
Jose Luis Franco Arza 0a9346dd9c Update tht,tripleoclient and tc before standalone_upgrade.
In a similar way it's being done during undercloud upgrade
[0] we need to update certain packages before executing the
standalone environment upgrade. These packages are
python-tripleoclient, tripleo-heat-templates and tripleo-common.

[0] - https://docs.openstack.org/tripleo-docs/latest/upgrade/undercloud.html
Closes-Bug: #1811371
Change-Id: Iac96f7196ffa0304ca36816c18fc348e27a6ea02
2019-01-15 09:24:35 +01:00
Zuul 49f22ec31a Merge "Add custom env and container cli option to standalone upgrade." 2018-12-27 20:48:24 +00:00
Sorin Sbarnea 72141b7fab Adopt yamllint strict linting
Upgrades yamllint to latest version and adots use of its strict
checking.

Fix all known problems reported by yamllint so we don't have to do
that while touching these files.

Change-Id: I4bdc520d9e2aff086c4b463718bc1e053261a4f5
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
2018-11-26 12:37:21 +00:00
Emilien Macchi 8823e7d098 standalone: configure DockerRegistryMirror when possible
To be consistent with other CI jobs, configure the Docker mirrors when
possible.

Change-Id: I448948f1c2f8ce6ae8199708e891400b11f543a9
2018-11-14 20:22:52 -05:00
Sofer Athlan-Guyot 722ecff6c2 Add custom env and container cli option to standalone upgrade.
This catch up with standalone role.

Change-Id: I4a27f2d7acf74e0f5c14cd07e5d077783e30b742
2018-11-09 15:24:38 +01:00
Sofer Athlan-Guyot 3c5e56559c Add standalone upgrade role and playbook.
This add the standalone upgrade playbook and its associated role.
This is mainly a copy/paste of the standalone deployment, but help
readability and avoid new conditionals.

Change-Id: I2a4ffd8ae26e0965028422c649243a65fef79e65
Depends-On: I3cbec1669fcf60d9e3c98278e1b60e57c3dd9999
2018-10-23 18:59:50 +02:00