This job is failing due to some updates in setuptools and there is
no reason to run it, since it's testing only two roles that have not
being update in the last 3 years. Basically, setuptools complains to
install PyYAML because it has on version 5.4.1 the option license_file
that was deprecated. Updating PyYAML also requires to update all
molecule packages, that introduce different failures, in a snowball
effect.
Change-Id: Id5c21dcea9d183c7fac347323893415f4620cee5
docker_image_tag variable has to be overridden to point to
dlrn_hash_newest instead of dlrn_hash. This has to be done in
order to substitute tag in containers-prepare-parameter.yaml with newer
tag in downstream update job.
Depends-on: https://review.opendev.org/c/openstack/tripleo-ci/+/888933
Change-Id: If79b38bf427f75143582c1db7e524123fb311e81
Add steps to multinode-overcloud-update.yml playbook which are required
before running full minor update on overcloud. The prerequisites for
starting overcloud update for tripleo-upgrade are:
- updated dlrn repos definitions on overcloud nodes
- updated containers-prepare-parameter.yaml file on undercloud
Resolves: #2015993
Depends-On: https://review.opendev.org/c/openstack/tripleo-ci/+/880162
Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart/+/883307
Change-Id: I2829307d1013e96317338eccc7a4b16376fb1d2b
Some jobs[1] are not working with current awk command to get
a substring from rdopkg output. This patch replaces with ansible
regex_search instead.
This patch also fix the 'host' value extract from zuul vars. The
previous value is invalid as host when cloning code with git module.
This git checkout isn't failing since the previous step, that copies
cloned code from zuul working dir is always executed with success.
[1] https://logserver.rdoproject.org/46/46046/26/check/periodic-tripleo-ci-build-containers-ubi-9-quay-push-wallaby/1cc4376/job-output.txt
Change-Id: I5efc6adf0c8039f6a618b3ae1e1e8184304465d1
This patch will pass only one of the mutually exclusive parameters
'--ntp-heat-env-file' or '--ntp-server' during ceph deploy
Closes-Bug: #2018384
Change-Id: I9c48806f8c0142100aeff79ddb8da0ce3b57cc03
Lately this is making the Wallaby on CS9 line crumble. After some tests,
it seems, at least on CS9, we're able to get rid of this option - and
should, since it's crashing virt-customize.
Change-Id: I4e3cbe4507cbe7d1471f75cb41af99f84725b3ad
Closes-Bug: #2018356
Related-Bug: #1743749
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
Removes the unused multinode-overcloud-mixed-os-deploy-compute.yml
and renames the -control.yml to just -deploy.yml. Patch is needed
by [1][2]
[1] I04c88580de952c56e219dbf76732d30f2fae3979
[2] Idfa6653b33cf8bd90b5dfe1b81573670bfc5b075
Change-Id: Iec88d20b83aba4f4832a3b31b42d3780188ab2fd
Until now, the regexp was trying to match content from the link text,
not href. This may lead to issue depending on the remote httpd
configuration, since it may truncate the link text. Matching the link
href is therefore safer.
Change-Id: I264bad88b2f7bbc8f0b6cc295ca92498fe6e3d49
This patch looks huge, so let's split things in the following listing:
- rename role to match the naming convention
- role name shouldn't get hyphen, so let's use underscores instead.
Playbooks don't need to follow this rule.
This should make the role more portable in the future.
- modify role
- "disable" the main.yml - we must call specific task file.
- no more condioned deploy based on variables. Makes it easier to
follow and maintain.
- update how the edpm inventory is edited
- use plain YAML
- output plain YAML
- this format is consistent with latest changes in tripleo-ansible[1]
These changes make the overall role easier to understand and maintain,
while ensuring the playbook is also easier to read. It may also make the
deploy a bit faster with the new way to run the various tasks.
- update playbook
- boostrap both nodes in a 2-stages way (check comment as to why).
- deploy compute from the undercloud (mimic what an operator would do)
- validate the compute from the undercloud (no actual change here)
- target specific task_file during the different stages. It's easier
to understand what's going on in there
These changes should allow a better understanding of the overall playbook.
- update edpm deploy script to use an environment file instead of CLI
params
- this makes the script lighter and easier to understand
- adding new parameters in the env file is easier
- reading the env file for debugging is better
[1] https://review.opendev.org/c/openstack/tripleo-ansible/+/869357
Change-Id: I263f424a5a08214b9c46c5ea73b6b428709ad47b
trunk.registry.rdoproject.org going to decomission soon.
This patch will replace trunk.registry to
quay.rdoproject.org.
Signed-off-by: Amol Kahat <amolkahat@gmail.com>
Change-Id: I7eb7b8dac1c17ba0eaba8cac12861a18224fac30
In order to run specific command on the image, we need
to add support for --run-command to the modify image role.
It will be useful to run specific command instead of using
script.
This functionality will be consumed here:
https://review.opendev.org/c/openstack/tripleo-quickstart/+/868864
Related-Bug: #2000226
Signed-off-by: Chandan Kumar <chkumar@redhat.com>
Change-Id: I8575c712467db8fea403459d26731dd7070df131
It removes following things:
- skipdist option
- updates whitelist_externals to allowlist_externals
- Drops tox-bindep as it does not support tox-4
- Tox-4 also includes fix for hanging issue:
https://github.com/tox-dev/tox/issues/2595
bindep is quite stable and tox-4 is around from long
time and tox-bindep last got released on jan 2021. [1]
https://github.com/tox-dev/tox-bindep/releases/tag/0.2.1
So, We are dropping it.
Closes-Bug: #2000622
Signed-off-by: Chandan Kumar <chkumar@redhat.com>
Change-Id: Ia7f8a4dd970ac76322adadc0698ac1c14aa87180
Image build in component jobs is pulling content from
centos.repo instead of quickstart repos, see [0]
This can cause mismatch of rpm when mirrors.centos.org and
local mirrors are not in sync.
The base image which we use to build overcloud images already have
centos.repo and when proxy mirros are not updated this can cause
an issue.
This is a workaround patch to pass centos.repo(which are disabled
on host) so that same repos in the image will be overridden.
One change in behavior is at the end of image build, dib will delete
the centos.repos in the overcloud image as dib cleans up what it adds
ignoring what was already present.
oooci-build-images already have same fix.
[0] https://logserver.rdoproject.org/openstack-component-baremetal/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-9-ovb-3ctlr_1comp-featureset001-baremetal-wallaby/1cd7430/logs/undercloud/home/zuul/build.log.txt.gz
~~~
2022-12-27 00:54:07.471 | kernel x86_64 5.14.0-214.el9 baseos 2.8 M
~~~
[1] b2ce4b4c10
Related-Bug: #2000226
Change-Id: Iecf36eff8ef27fd2734f77b09180d0b4d8654c52
tox 4.0 was released but unfortunately it introduced breaking changes,
which affect the tox jobs.
This makes sure tox is not updated when installing dependencies.
The tox package installed by the common ensure-tox role was already
pinned by [1].
[1] https://review.opendev.org/c/zuul/zuul-jobs/+/866928
Change-Id: I535ef4c16dfdf6713124b42be93f2d10bda593dd
validate_edpm.sh.j2 adds the script to spin an instance
on external compute in order to validate the external
compute deployment.
Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/863935
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I89a7897e6a4cbf83149302a0ea856b151623b9ba
Since Ansible was bumped to 2.14, we've observed the container image
build process gets stuck in the middle of ansible tasks to generate
Docker/Buildah files, because of a bug[1] with ansible-runner.
This removes --debug option from the build command to avoid -vvv option
in the ansible command, to workaround the above bug.
[1] https://github.com/ansible/ansible-runner/issues/1164
Related-Bug: #1996612
Change-Id: I53c688077c65da03d8c3cf104862e02cefc2c615
... because the option is deprecated in master[1] and has no effect.
Also, deployed-server-environment.yaml is not required when
the --deployed-server option is used since stable/wallaby[2].
[1] c6cd190a9f63738deafa4c616e0be8e06afedc96
[2] d6fba3f09f8de569b7fcf2bd9519c3112b1cc056
Change-Id: I4411a06026fc5bdf69061a643bc731e91c27640c
Remove auto-reverse from IPA server install as
this option is causing errors in environments
where the zone being created already exists and
is owned by some other dns server.
See related change in:
https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/737058/.
This patch also stops the unbound service if it
is running on the undercloud.
Change-Id: Ie46809379e5c143910560b4d3f7cb0eee6f80ea1