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
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
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>
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
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
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
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
This reverts commit 7317b44130.
Reason for revert:
No longer required since change: I79d141358ead2a2c90fdb728e17926d96d498a28 we now do it in TripleO client.
Change-Id: I2b7f00b8c9b56ba38c271de90fadac3fdd85fcfe
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>
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
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
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
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
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>
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
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
- 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
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
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
Registry host was hard coded in the container prepare script for the standalone upgrade.
This changes the value to a variable
Change-Id: Icab38ecc64f76fe08490af948056ca717ec13921
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
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
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
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