Commit Graph

17 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
Steve Baker 41f07fbe1c Do not hard-code overcloud-full image name
The var overcloud_image defaults to overcloud-full, and will until the
switchover to the whole-disk overcloud.

Change-Id: I64c0d9f97b34e9145be70af7c489bb5b706baf8a
Blueprint: whole-disk-default
2021-09-10 13:52:21 +12:00
Chandan Kumar (raukadah) 4c225d6465 Move build-test-packages as a part of undercloud setup
https://review.opendev.org/c/openstack/tripleo-quickstart/+/790701
removes tripleo-operator-ansible from TQE requires and will be get
installed from rpm as a part for undercloud deps.

In current setup, dlrn build the rpm packages just after undercloud
rpm packages installation but tripleo-operator-ansible is used before
that so that dlrn needs to build the changes early before undercloud
deps installation so that we can consume the changes in the deployment
via updated rpm installed from gating repo.

In order to do that, it moves build-test-packages roles task after repo
setup to install latest packages.

It also removes tripleo-operator-ansible from cloning on nodepool.

Testing different scenarios:
1. https://review.opendev.org/c/openstack/tripleo-heat-templates/+/801296
2. https://review.rdoproject.org/r/c/testproject/+/34676

Patch for moving remove_tags to skip_tag_list:

Depends-On: https://review.opendev.org/c/openstack/tripleo-ci/+/803919

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I4f9f3f13346761d3dec35844234cb6ae03ad4107
2021-08-10 03:43:13 +00:00
Sagi Shnaidman bf4422956c Set DNS for jobs dynamically in OVB
Change-Id: Ib4013493a0bb1e55edac5a2bb3850da5aa935d64
2019-02-13 12:14:03 +02:00
Sorin Sbarnea cc82349363 Adapt code to newer code style (linters)
Makes those files conformant with current linting rules and avoids
linting errors when we need to toch them again.

Previous doing "pre-commit run -a" uncovered these errors, now is no
longer reporting any other errors.

Change-Id: Ie4cf229c8f11c2b55b323eac23c89483b26d3781
2018-11-16 12:42:51 +00:00
Sorin Sbarnea 2ded6f1df1 Make build-test-packages more resilient
OVB failures due to
- ansible_user variable was used instead of ansible_user_id, the first
one being unreliable as is may only be user defined (or undefined).
- lack of become on tasks that needed it

Fixes problem identified by molecule testing
- lack of idempotence on few tasks
- failure when ansible_user variale was not defined

Change-Id: I11adec7104a59bfa29b00c702eb9b7eb6a5c6766
Depends-On: Iade08ee92d7f48e07a625678d2a1c6ac1cd1982b
Partial-Bug: https://tree.taiga.io/project/tripleo-ci-board/task/358
Closes-Bug: #1802825
2018-11-14 19:01:46 +00:00
Sagi Shnaidman 5215572299 Run atop for monitoring deployment
Use atop[1] tool to monitor the whole job process.
Atop generates binary output that could be downloaded
and then investigated locally.
Using atop -r /path/to/atop.bin you can read the file
and by pressing "t" to move 10 seconds futher or by
pressing "b" to jump to specific time in job and to see
what happened on host in this time. It allows to track
all resources in specific time.
It allows also tracking of containers separately.
For more info you can visit the site[1]
If atop installation fails it shouldn't fail the job,
so ignore_errors is added.
Currently it's for undercloud in OVB and all nodes in
multinode.

[1] https://www.atoptool.nl/

Change-Id: I7e17db3e376218f620a18db7ea7ca82d7578f618
Depends-On: Ibcdcfb4d8c5c94e1a06c7e635b0b6778ad318094
2018-11-08 01:27:33 +02:00
wes hayutin b4e000cc6d Revert "Don't trigger repo injection if nothing was built"
This reverts commit 6fd5393cbd.

Closes-Bug: #1781752
Change-Id: I398980184f3c2ae2057b7cc5c56a6a1f42774be0
2018-07-14 23:44:57 +00:00
Sagi Shnaidman 6fd5393cbd Don't trigger repo injection if nothing was built
Currently we have a few possible places for building package in
the job. It requires logic change in order to differentiate
between injection cases.
build-test-packages role can run and not to build anything bc of
various reasons, in this case we need to avoid running
install-built-repo role, that's why we set compressed_gating_repo
to empty string and check in every case if it's empty or not.
If compressed_gating_repo is emptry - we didn't built *last* time
anything, so nothing should run.

Change-Id: Ib19addc66678804abb86f36006fb35f3f1f1d471
2018-06-20 08:37:00 +00:00
Derek Higgins fac419ab97 Revert "Temporary disable update of IPA image in jobs"
This reverts commit a835a69e3b.

Change-Id: I0fdf09f7488abbcfdd80c3b7dfe66bc2bbdb7b0a
2018-05-18 16:09:13 +01:00
Sagi Shnaidman a835a69e3b Temporary disable update of IPA image in jobs
Don't update IPA image, use the provided from promotion.
Introspection fails when we unpack and pack again IPA images,
let's use promoted one in jobs until bug 1770972 if fixed.

Related-Bug: 1770972

Change-Id: Iab5565d1743d7a6d9aa9fdb5473b3b3e5fea7c62
2018-05-17 21:59:36 +03:00
Zuul cabc5f6d3a Merge "Add undercloud to inventory before undercloud-setup" 2017-11-20 14:37:32 +00:00
Ronelle Landy a05e1f7622 Fix devmode run of quickstart
Set undercloud inventory before it's used in next playbook.
Fix images update issues and set centos images to newest.
Set 'libguestfs_mode: false' to avoid running virt-customize
on initramfs.

Closes-bug: #1730997

Change-Id: I46dce77166ecb828d4186b3f2ffa56cf9aa9d31e
2017-11-09 13:05:21 +00:00
John Trowbridge a3e0c181a5 Add undercloud to inventory before undercloud-setup
Change-Id: I21568d3547cc1ed43cd7280ee55a18fc06812f64
2017-10-26 12:51:14 +00:00
John Trowbridge 550be2b780 Add steps needed when using OVB with a testenv broker
This continues the work to merge the OVB playbook in tripleo-ci with
the OVB playbook here. This should again be a no-op change, with the
only new behavior turned on by setting use_testenv_broker=true.

This change completes the differences between the two playbooks before
the undercloud is installed. There are also slight differences in what
we do after the undercloud is installed in the
baremetal-quickstart-extras playbook. Those will be addressed in the
final patch of this series.

Change-Id: Id24b8c4866f46dcb37a98b682f54101a341f9adb
2017-10-25 19:51:22 +00:00
John Trowbridge d77ea8c6d8 Translate tripleo-ci logic of when to build images to ansible
In order to combine the tripleo-ci OVB playbook with what we have
here, we need to implement the logic around when to build images[1].

We default to fetching pre-built images. However, in the case we are testing
a change to a project that can affect the image build or the case we are
running a periodic job, we want to build the images.

[1] https://github.com/openstack-infra/tripleo-ci/blob/master/scripts/to_build

Change-Id: I72169d4c6ae891397916f831e56eb883d047c89b
2017-10-23 18:08:28 +00:00
John Trowbridge 5cc18e2bca Split general OVB setup tasks from the the stack create
This is the first step in combining the upstream playbook used
for OVB jobs with this one. This should be a no-op change in terms
of what gets run, however the part that is split out is common to
the upstream jobs which create the stack via the testenv broker.

We can then iterate on adding in the testenv broker steps (guarded
by some option) in follow-up patches.

Change-Id: I7cad64e83ed0fbf791b26bdf0e381599d177de7b
2017-10-17 20:39:32 +00:00