Mirror promoted images from RDO server to RH1 cloud
Rename all ipa_images.tar to ironic-python-agent.tar
Remove old promotion code from mirror-server
Change-Id: I44a170cfa23e568d31726f55cea8906ad2c8e146
The image upload is now going to be handled by the periodic jobs on
rdocloud and the promotion by the dlrnapi_promoter script.
Depends-On: Id9e08bc5938a8d8daad0203293ac1e266aa65326
Change-Id: I8a83c1a47e0a8a5ba0a11fee6f9fed3edd97af76
We shouldn't be using packages from any of these, and they can cause
package conflicts with the delorean repos we do want to use.
For some reason centos-release-* also matches the base centos-release
package, so we need to explicitly match only packages where the
following characters are a-z.
Change-Id: I928a0efc9d75e584889967e262155e576452632d
Closes-Bug: 1685814
We should stop the dstat process that was previously started in
toci_gate_test.sh, so that processes aren't left running from tripleo-ci
jobs.
Change-Id: I200fe5f99d371fdde3b20518ffd10197680d46dd
Currently, tripleo-ci scrips clean up repos removing rdo-release
rpm, but https://review.openstack.org/#/c/453325 moved base image to
use centos openstack release rpm instead of rdo-release.
This patch removes all centos-release-openstack packages in addition
to rdo-release. Note that yum returns 0 even if no matching packages
are found so this should be ok.
Change-Id: I825038eeb134590fe9bb68697a193e5c6626f991
Closes-Bug: #1685418
When running CI scripts locally it fails because REMAINING_TIME is
propagated by infra before the job starts. This patch sets it to
some default value if it wasn't set before.
Change-Id: I0050046db17e50ddd17a7115e46c4684afa87b2f
Stop deployment if it exceeds maximum timeout so that logs
could be collected.
Change-Id: Ia4e1ef2a10987b06406b343353066ea9d76f8e28
Related-Bug: #1649742
It seems that trying to use http for CBS repos causes a lot of
spurious failures due to the forced redirect to https. Since we
only care about using http for the delorean repos that allow it,
limit the repo sed to just those urls.
Change-Id: I55ebe1d3963055d27c37cd5e9a299dcf929c84ec
Partial-Bug: 1674681
OpenStack Infra provides images with rdo-release and puppet packages,
which is something we don't want in TripleO CI because we already have
our own packages from local mirror, depending of the version of
OpenStack that we want to test.
This patch makes consistent the cleanup on both OVB & multinode jobs to
remove puppet & rdo-release packages.
Closes-Bug: #1670015
Change-Id: I5f6b6be6f07dfd7d27189547db9daf1594db8c85
After we started collecting images for stable branches we can
download them and save time on building.
Change-Id: I3a70b38392476a03ac66a984e088c372e879487f
This deploys novajoin in the fakeha-ca-server job which deploys
TLS-everywhere.
bp novajoin
Depends-On: I4c055e4b4086b02fa706380f01911f499966dfc1
Change-Id: If2d392caa54a0090da5f2654d37742d5aecaa4b0
I noticed that we had a warning message about this repo being
present twice in a recent job. I'm guessing this workaround is now
being applied in dlrn, so we don't need to do it.
Change-Id: I2c08b798f9ce64a3015ddaf74ac59fb7a13b6bfc
Right now, most metrics are recorded the same regardless of branch,
and some ignore the job type as well. Since many of the metrics
can vary significantly depending on those details (mitaka jobs take
far less time than master, for example), let's separate out the
metrics more.
This change adds a .release.jobtype specifier to most of the
metrics. The notable exception is the testenv wait time because
that is not release-specific. Also, the image metrics do not
actually need to be split based on job type since they don't vary,
but for consistency with the other overcloud metrics I did anyway.
With this change we do not lose the ability to look at broader
aggregate numbers either. We can still combine these newly
separated metrics back together in the Graphite UI.
Change-Id: I1df58f3a0c44708728e6ea1d705a6e8bf49ef330
Save images which are uploaded from promotion jobs in different
folders, according to their branch.
Change-Id: Ia76db45546c469a8245b388dc4a81fdc6ab27217
We can't cache https urls in squid which hurts our job runtimes and
is probably driving excessive amounts of external traffic from the
cloud. For ci purposes, let's use http instead.
Unfortunately, this doesn't entirely solve the problem. The
delorean-deps http repo redirects to https. That's something we'll
need to discuss with the people in charge of the repo, but in the
meantime we can start pointing at the http url and if/when we get
that working on the repo side we'll start to benefit from caching
of that repo too.
Change-Id: Icb88b7111f09ed302ace0800f4f6e2a898e0b450
the script to check if the change is allowed to promote was not
considering the set -u, so when ZUUL_CHANGES was empty CHANGES[@] was
unbound.
Adding fallback to empty for the variable in the loop
Change-Id: I16fc10358147b2bd54502d15f7e96cc94cccac63
Start image promotion process only if
- we are launching a periodic job (no changes)
- we are testing a maximum of 1 change
- all the changes come from tripleo-ci
Change-Id: If567cdf6fc0c36aed56e2927d66953e8e5ab6f7c
There is a conflict between the base and ceph repos that we use on
the mitaka branch. One solution is to use a repo priority to make
the ceph repo take precedence. Until this problem is fixed by the
ceph people, let's do the priority workaround ourselves to get the
mitaka jobs passing again.
Change-Id: I6bd245852ac621272ffdaa879214b3f88590a489
Partial-Bug: 1654611
This seems to avoid the problem with the nested pingtest vm not
starting in our mitaka jobs. I'm not sure whether we _should_ be
using the ev repo in mitaka so I'm adding this as a fixme for now.
Change-Id: I8401eeced32c957d7a192091a19b39a734804c31
Partial-Bug: 1654615
This will be used by the TLS everywhere job on the CA setup part (which
runs before the undercloud install), and is also used by the undercloud
anyway, so we install this from the start.
Change-Id: I471dc7d872fda11dc4e48ec23d412ab0256c666d
Zuul will usually set this value, however, if we're running these
scripts outside of CI, we might not need this and it will fail if the
variable is not set up. So we set a default for this case.
Change-Id: Ice808680f79a810c3b5a646d45bd81ea56dfbebf
https://bugs.launchpad.net/tripleo/+bug/1654032/
Reverting a Neutron patch until it's fixed upstream.
Note: do not revert when the job run in Neutron's gate.
Change-Id: Ic3ea505e877608bc9d9c529b698a5068a67461a4
Move qemu-img after setting up the repos. Nova depends on a version
that conflics with the one installed for setting up images before
deploying.
Moving install after repo ensure we install the version nova would
install as dependency anyway
Change-Id: Iee9a8553abdaeb67816e3242a856108f95fcab4d
Closes-Bug: #1631929
When we do tempreverts now, we need to ensure we signal to delorean
that it needs to rebuild the affected package.
Change-Id: I3e36398091357fadc6ff0f4e1eef5d673d3041f1
When we deploy with SSL we do so via haproxy. So just as we do for
the undercloud services IP, we need to add that one to the no_proxy
list.
Change-Id: If158033663878e621c8683c7754b87c227550c75
The metrics from a failed job are likely bogus anyway and just
create noise in the Graphite data. Let's only store the runtimes
from successful jobs.
Because we do some funny business in the trap, we need to first
store the previous exit value and pass it along to postci.
Otherwise by the time we get to postci the exit value we care
about is long gone.
Change-Id: I55db493ce5a1cdc38185d1f805adf4e89e5cbb9c
Currently we always build from source, but the latest master is now
available via delorean-current since o-p-m was broken into per-module
packages.
This should reduce the time taken to install everything from source,
and also provide a better path wnen upgrading as a simple
openstack undercloud install or yum update will update to the latest
puppet modules (currently failures happen if you forget to run via
tripleo.sh because the puppet modules aren't upgraded but things
that depend on the puppet modules are).
Also disable usage of the overcloud image cache as I have no idea what
will happen if we mix an image with puppet modules deployed from source
with ci scripts trying to install packaged modules.
Change-Id: Ie4cae6b884b2e539545371b9f716903b8fe5cf1f
Closes-Bug: #1597438