- OVB and multinode/singlemode jobs are passed different settings
files based on the location where the jobs run. This review
changes toci-gate-test to pass both the general and rdocloud
multinode setting files as is the case with OVB.
- Removes the period job registry definitions.
These should be passed in release files only.
- Sets update_containers to run with
containerized_overcloud or containerized_undercloud
Closes-Bug: #1775874
Change-Id: I8f498073f1df9de70372f09b8c43e0d4adb5b42a
With dry run, playbooks are not executed.
The env variables, releases script output and playbooks
commands are written out to files for debug.
The review also moves the collect logs lines to a
function for easier organization
Documentation for the dry run option and variable
files is added.
Change-Id: I0bad5ee3150d94115bed018de9488590305a2b80
With dry run, playbooks are not executed.
The env variables, releases script output
and playbooks commands are written out to
files for debug.
The review also moves the collect logs lines
to a function for easier organization.
Documentation for the dry run option and
variable files is added.
Depends-On: I4c8f389978717848e755f12856dd454d605c9137
Change-Id: Ib6ae184a07ba291d719cabb48b51d890b0485a49
We are changing the way we are passing releases to the playbooks.
This change adds the ability to use the new release handling script. It
enables it only for 4 jobs. Two should be moved to the new way of
handling releases, two are there to test the backwards compatibility
offered by the script.
If the script is uses and produces an output, the new method will be
activated, by filling a dictionary with playbook as key and release as
value.
If there is no output from the script, the dictionary will be empty and
the default QUICKSTART_RELEASE file will be used instead.
Co-Authored-By: Gabriele Cerami <gcerami@redhat.com>
Co-Authored-By: Ronelle Landy <rlandy@redhat.com>
Change-Id: I6514ba15ff4300ac4bd4fe543d3a4954aeb6f175
The current undercloud upgrade job deploys an undercloud from master so
upgrade was never actually tested. This patch finds out which release we
want to test and provide the right featureset file.
Co-authored-by: Jose Luis Franco <jfrancoa@redhat.com>
Change-Id: I3c9d2396988bd3125740f0054c66e8243e85f437
STABLE_BRANCH variable omits the 'stable/'
section of the branch name. However, the
tripleo-upgrade role is branched out using
that structure. So when installing the
oooq requirements it will try to download
queens or pike branch, which won't be found.
It should be stable/pike or stable/queens
instead.
Change-Id: I93fe1d3a285a2d9ec40c4245ea012a66e6584a30
Featureset047 includes all needed parameters
to run an undercloud upgrade using the
tripleo-upgrade role.
Change toci_gate_test.sh logic to include the
mixed_upgrade environment file *-undercloud-*-overcloud.yml
only when overcloud-deploy is being performed. Otherwise,
it will try to load it for undercloud upgrade too.
Closes-Bug: #1735792
Depends-On: Ib204c89ad88ae4581e556710976325c2b2723039
Change-Id: Iaed38c620f39b66b0b560ae561580dce21ea199b
To leveraget that tripleo-upgrade is now being
gated, let's import it into oooq requirements
from the location where zuul is downloading it.
Change-Id: Icc84645a16aa53ca2cb974dbeb52e6474cd98aab
Closes-Bug: #1749740
To use cloud environment different from RDO cloud it's needed to set this value to something that will
match to the used cloud environment quickstart configuration. It also need to be stored at toci-quickstart config files.
For example, for the RHCLOUD foobar if testing with OVB, the following file have to be installed before running the gate test:
/opt/stack/tripleo-ci/toci-quickstart/config/testenv/ovb-foobar.yml
Change-Id: Ifc88a76df8de32b0a66bc507e337a9b407f17e29
By setting ffu_overcloud_upgrade in the featureset this change find
the right previous version for ffu and thus the correct release file.
This also refactor all the upgrade/update related function.
This whole section of the ci code is related to this tech-debt.
Related-Bug: #1749978
Change-Id: I962c2e4ad4eb522839deb904e0c67fb6a5d0ead9
In reproducing jobs sometimes there is need to specify which
exactly playbook to run, this patch allows customization of
playbooks sequence to run.
PLAYBOOKS variable can be exported in reproducer script.
Change-Id: Iefb4f6c62969efd4179544b453dd1e119d6073d8
To continue to gate quickstart.sh in CI we need to run
a few jobs with quickstart.sh.
Set containers multinode and fs001 jobs to run with quickstart.sh
Change-Id: I6a1f4e13468a4bab1589d2b9e2904c0a21599b8c
Add missing bits to support stable/queens branch in TripleO;
Some adjustments might be done later but this is a first iteration.
Change-Id: I4a369389fbecf6890a75ffaaf695f391cd6b7e2d
Closes-Bug: #1750311
This will allow us to run multiple playbooks instead of just a
single playbook. This depends on the two changes that split
the ovb and multinode playbooks.
Depends-On: I6cc171641c8390e458eb474be3479e732eb2c985
Change-Id: I461a83a3d1b162457a2f607736ca4feb7fdd3e14
Don't construct CENTOS_MIRROR env var because we have it in the
file mirror_info.sh which is provided from nodepool.
Remove EPEL_MIRROR because it's not used anywhere.
Change-Id: I40fe8f6b2be1864b27bbe369e7da988fa7f1a0bb
When calculation job statistics we need a few environemnt vars
be available in post playbook. Write them to file and export
when running logs collection role in post playbook.
Change-Id: I2719999a7f3abda43ab322a23bbe4750c7233a76
Defined tags are the same for all multinode
jobs, independently on if they perform an
upgrade or not. Each featureset env file then
defines if an upgrade is to be performed or not,
being skipped all the tasks of the overcloud-upgrade
role if it's not an upgrades job.
This task skipping takes around 3 seconds,
what's not a big deal, but it makes the logs
more difficult to read and understand.
This patch appends the overcloud-upgrade role
into the tags only if the job to be run performs
an upgrade.
Change-Id: Ia037dd74470499d302cb098136fbe71608b7824a
Collect logs after main job is finished, so that we'll have logs
in any case of job result.
Do it for multinode jobs only, because ovb nodes are wiped right
after job finishes and collecting logs there requires a bit
different effort.
Depends-On: I7b7582469b01116bbe754af07c81cc698355d8c4
Change-Id: I600ade65052d28978c9d395323c8b86ed213fd38
Now overcloud deploy timeout is derived from DEVSTACK_GATE_TIMEOUT
which is always 170 and equal to 80. It's not appropriate for all
jobs. It will be calculated dynamically depending on how much time
remains in the job for deployment.
Pass end time of CI job to ansible playbook for calculating it.
Partial-Bug: #1738038
Change-Id: I89b743fc16ea4c100ba21ddbe29081fa3e5479e9
The content of the variable $FEATURESET_FILE
has changed, containing now the whole path
to the featureset env file.
Change-Id: Ie35b7055259866e0044c31502c47711e3c7d8d4a
This will change CI to only use quicktart.sh to bootstrap the
virtualenv. The ansible-playbook command will then be run
directly for the deploy and collect logs.
This is a first step in breaking the deploy into multiple
ansible-playbook calls so that we CI the ability to run them in
stages for development purposes.
Change-Id: Ie0a3729277fb608c653e7bc2ab85781d9b815880
This is the final step to cut over to the combined
playbook in tripleo-quickstart-extras, so that we can
use a common playbook whether there is a testenv broker
involved or not.
Change-Id: I3ed261e3660426e62ed608bc1bc7923f3912a508
Return subnit file for tracking all failed jobs in openstack health
system, even if they didn't reach step of running tempest tests.
Change-Id: If6709390aa5f10d94e7be86e5cc3a5ab4236f472
python-os-testr package isn't available anymore and we're switching ovb
jobs to use tempest anyway, so we don't need this workaround anymore
Change-Id: Ie3b37b17bf41b5f36bc60bfd0e4607ed4a3aaf6d
It was highly inappropriate to add new ci admins in this change,
especially without mentioning it in the commit message.
Note that strictly speaking we require a quorum of the
existing admins to approve adding new ones, although with the
number of admins growing we may want to revisit that policy.
As of this time it is still in effect, however.[1]
And even if it weren't, it shouldn't have been
piggy-backed on this change. Please resubmit as two separate
changes so the admin change can be properly reviewed.
1: Unfortunately we lost the documentation of this when the
admin list was moved from tripleo-incubator to tripleo-ci:
4de13b35d9/tripleo-cloud/README.md
That should be fixed too.
This reverts commit a4d1f8c960.
Change-Id: I6a5484dfb1c00431ae89ec20d9dd66b623b3e622
Debug unbound DNS queries in job for investigation of
DNS failures.
Dump unbound DNS cache server cache..
Depends-On: Ia76ac9b20d6b8402060b71e11e00e515bc74077d
Related-Bug: #1730931
Change-Id: Ic8b9e33067141366655fad1b99dee1adb40dfba3