Commit Graph

261 Commits

Author SHA1 Message Date
Arx Cruz 4db10e39a4 Remove pingtest from tripleo
Ping test is no longer being used in the last 5 years and was replaced
by tempest. However there are still pieces of code being executed, and
replacing some files, for example the testrepository.subunit file that
tempest generate and it is being used by the ci logging scrapper to
collect data about tempest.

Change-Id: Ia2b18f88652f144d5b593c5d209a9acf2d0374c8
2022-10-05 11:51:33 +02:00
Jason E. Rist 08dee62629 Retiring TripleO-UI
The TripleO-UI related tripleo-ci stuff is being removed because
of the retirement of TripleO-UI.

Change-Id: I1a7ca305a6885c5faeea6db874edf84cf91f6ddd
2019-05-24 16:17:20 -06:00
Wes Hayutin 407ffce875 update openstack.org -> opendev.org
Change-Id: I3c943d837fc2deeadbdefddeca6532f702d22e32
2019-04-22 13:31:45 -06:00
yatin 93768b46ee OpenDev Migration Patch 2
These changes were missed by Sysadmin's proposed
Migration Patch, this patch takes care of these
missings.

Also updated kolla review pull task to use
review.opendev.org instead of opendev.org as
remote url because opendev.org currently don't
have review refs/changes synched due to gitea bug.

Related-Bug: #1825732
Change-Id: I30646b0c5b95f391e9ab4bd767b468280ccb3842
2019-04-22 11:04:00 +05:30
Sorin Sbarnea ed27a979d5 Adopt use of pre-commit linting
Follows the same configuration that was used on
tripleo-quickstart-extras and documented use on tripleo-docs.

Change-Id: Iba8a2db92137f9f6ad28f498627eb1b87039d99f
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
2018-12-14 15:50:06 +00:00
Zuul 262c4af22d Merge "[Core] Remove mitaka." 2018-11-16 19:05:56 +00:00
Javier Pena 00d9f762d3 Replace call to map-project-name script with rdopkg
The map-project-name script has not been used by DLRN for a long
while, since it moved to using "rdopkg findpkg" to map project names
to package names. We should do the same in tripleo.sh, so the
unmaintained script can be removed.

Change-Id: Ibd9d71043dc92c924ba0cdd17ca1ea03e63bb7af
2018-11-14 13:40:55 +00:00
Natal Ngétal dbc129238e [Core] Remove mitaka.
The mitaka release is no longer supported by the community.

Change-Id: Iba4ed16f5d91973e43d3be040ce7e0eaf7396c73
Closes-Bug: #1722602
2018-11-14 11:14:06 +01:00
Emilien Macchi 3b77a6a84d Add support for NODEPOOL_CBS_CENTOS_PROXY variable
This variable is exported on Infra nodepool servers, and for RDO CI
we'll need to export it in tripleo-ci.

Change-Id: Ic0bf6745b007681c44bdc079b37b34299971c7d3
2018-09-07 01:54:20 +00:00
Marios Andreou d2e5725fea Remove tripleo.sh --bootstrap-subnodes from toci_gate_test.sh
In https://review.openstack.org/583195 we are removing the bootstrap
subnodes invocations for the zuul v3 jobs and the templated version
of toci_gate_test.sh.j2. Here we do the same for the legacy bash
version of toci_gate_test.sh and add a deprecation note on the
tripleo.sh --bootstrap-subnodes function itself.

The invocation of tripleo.sh is removed with the now unused functions
echo_vars_to_deploy_env_oooq subnodes_scp_deploy_env

Instead the creation of ceph /dev/loop3 is handled in the base job
pre.yaml added in the Depends-On below

Depends-On: https://review.rdoproject.org/r/15000
Depends-On: Ib95b02767488aaddfe95633d03cb118dd492a700
Change-Id: I039388e4c3d4959270c45e827e76993636bd2990
2018-08-22 19:56:19 +00:00
ghanshyam f28ca28ae7 Remove deprecated config options usage
Tempest has deprecated the allow_tenant_isolation config option
of auth and compute groups since 3 years in I78a4884e980ef7d0103639cb3792a54c69fb7761.

Now Tempest patch - https://review.openstack.org/#/c/582698/ is removing
this deprecated options.

This commit remove the usage of deprecated or already removed
tempest config options from tripleo.sh.

Change-Id: I122a52a04ae7186163a0f027edce3bce8f0d8116
Needed-By: https://review.openstack.org/#/c/582698/
2018-07-17 06:02:01 +00:00
Javier Pena b1e5327eb2 Prepare for DLRN modular build driver structure
Previously, the delorean_setup function modified DLRN's build_rpm.sh
script to make sure that the built rpms would not be installed as
part of the mock build in its chroot.

Since [1], DLRN will change the way it builds packages to use a driver
structure, and the build_rpm.sh script will no longer exist. On
the flip side, the default mock driver gives an option to skip
installation in the mock call, so we can simply use it.

[1] - https://softwarefactory-project.io/r/12039

Change-Id: I278da2ddf15a0b23ab522e63ac58c93043c4816f
2018-05-04 14:02:01 +00:00
Zuul ba0073015a Merge "Remove old undercloud-container bits" 2018-03-08 14:47:34 +00:00
Zuul d2294518b5 Merge "Fix deprecation warnings" 2018-03-08 11:35:51 +00:00
Zuul 0270f9f06c Merge "Fix sub_nodes and sub_nodes_private with multiple nodes" 2018-03-08 03:57:14 +00:00
Emilien Macchi 3a8922988f Remove old undercloud-container bits
The bash code isn't used anymore, we now use TripleO Quickstart to test
a containerized undercloud.

Change-Id: I024631f9b31a651ace2ca3b3b5840749afbe2606
2018-03-05 22:20:47 +01:00
Sergii Golovatiuk db75d9fea1 Fix deprecation warnings
As a technical debt this change replaces "heat stack-show" with "openstack stack
show" as well as "heat stack-delete" with "openstack stack delete" to remove
deprecation warnings such as 'WARNING (shell) "heat stack-show" is deprecated,
please use "openstack stack show"'

Change-Id: I7bcc18445f3263128a9bff29a057f172af143c90
2018-02-23 14:27:06 +00:00
yatin 5bf07a20c2 Add bits to support stable/queens
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
2018-02-20 19:55:12 +05:30
Zuul d9a6752807 Merge "Need to add openstack-selinux with OVS" 2017-12-14 09:52:28 +00:00
Zuul 9d7f3fe78e Merge "Add ironic-inspector to the undercloud-containers job" 2017-12-10 01:13:49 +00:00
Carlos Camacho f772f10ef1 Need to add openstack-selinux with OVS
We have this fix in OOOQ but we didn't
apply this to tripleo.sh

Change-Id: Ie6dc1d943e32c071e62f02dfb88b83de30ac4432
2017-12-07 17:09:44 +01:00
James Slagle c00df34f2e Fix sub_nodes and sub_nodes_private with multiple nodes
When you use this function with multiple sub nodes, we weren't getting
all the nodes into the /etc/nodepool/sub_nodes and
/etc/nodepool/sub_nodes_private files because the loop walked the values
one by one, and did the rsync in the same loop.

Create the files first in a separate loop so that all the values will be
there before we call rsync.

Change-Id: Id85218da7b8424acd6d1e7eac318d7ab8527dcc0
2017-11-28 17:25:13 -05:00
Sergii Golovatiuk 2ff8b38490 Introduce TRIPLEO_HEAT_TEMPLATES_ROOT
Removing hardcoded /usr/share/openstack-tripleo-heat-templates. This allows
operator to specify TRIPLEO_HEAT_TEMPLATES_ROOT later. This is very helpful
when you have a scenario when undercloud is upgraded to N+1 version while
overcloud is still N version. Since /usr/share/openstack-tripleo-heat-templates
is overrided the only way to test is to git clone -b stable/<version> and
export TRIPLEO_HEAT_TEMPLATES_ROOT. This will allow operator to test overcloud
before upgrade procedure.

Change-Id: I69490b555cb1ef2a21313a6fac1eee4fa1a33423
2017-11-28 18:42:19 +01:00
Dmitry Tantsur 1684221534 Add ironic-inspector to the undercloud-containers job
Depends-On: Ib3eab702c0ca5219ef6eb52861589d82f54c6db1
Change-Id: Ide271608de42f0f5fbba70b2e5532b55f6d6b902
2017-11-13 10:38:04 +00:00
Thomas Herve 16ba89f9f2 Fail on curl error when setting up repo
If the repo raises an error, there is no reason to be silent, setup will
fail later on. Let's fail explicitely when curl is called.

Change-Id: Ief5b319082a90b45b912ae3efcfbe2d2e77906e0
2017-10-27 13:56:19 +02:00
Zuul 0867e5ae4f Merge "Use infra proxy server for trunk.r.o in delorean-deps" 2017-10-26 12:45:20 +00:00
Emilien Macchi 17fe2846ab Do not rely on openstack-puppet-modules in Queens and beyond
We are removing openstack-puppet-modules package since we now have
individual packages for each Puppet module.
We can still rely on puppet-tripleo module to deploy all dependencies.

Note: this patch will probably break undercloud-container on pike, but
this is fine as we target the feature for Queens, and the job is not
voting anyway.

Change-Id: I86a24516b457c81056942c903d020a5654142dc6
Related-Bug: #1676998
2017-10-23 17:02:08 +00:00
Alfredo Moralejo 1396b03fad Use infra proxy server for trunk.r.o in delorean-deps
RDO is moving dependencies repo to trunk.rdoproject.org for
master repos as part of a dependencies improvement effort.

This patch replaces trunk.rdoproject.org by the local proxy
in the delorean-deps.repo.

Change-Id: I67fcaae9e773f729f0245eea40109f18ffd07b22
2017-10-19 21:08:03 +00:00
Jenkins 98f88cdf5b Merge "Don't do pre-pingtest cleanup with --skip-pingtest-cleanup" 2017-09-12 04:20:37 +00:00
Alex Schultz 38036e5804 Use wildcard in delorean-current whitelist
The current list omits tripleo-validations, and I can't think of a reason
we'd want any future openstack-tripleo* thing not tested from trunk with this
release option, so lets use a wildcard instead.

Change-Id: I8fe50c65e7a573d47892b2a869641134828396cd
Closes-Bug: #1715625
2017-09-08 15:04:39 +00:00
Jenkins 3ef026abc3 Merge "In-tree ovs_vxlan_bridge function from devstack-gate" 2017-08-31 03:23:01 +00:00
Paul Belanger 30adefd009
In-tree ovs_vxlan_bridge function from devstack-gate
With the incoming migration to zuulv3, devstack-gate is being
reworked. As not to break tripleo-ci, we need to start including this
function in-tree.

Once zuulv3 is live, we can work towards using ansible to setup this
logic.

Change-Id: I8da13529ef10b80da72608fbc60003aecb65b3fd
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-08-30 12:50:15 -04:00
Steve Baker dcb02ccca7 Don't use docker-network.yaml env
All this network config does is create br-ex, which is now done in
docker/services/neutron-ovs-agent.yaml regardless of what network
config is used.

Change-Id: Ieb91ac7d7a799e303c3050f340c89103f2aeab55
Related-Bug: #1691403
Depends-On: Ie425148b0ad0f38e149c5fa0a97d98ec35d0a5bb
2017-08-30 04:43:25 +00:00
Jenkins 6860a9967c Merge "Use prepare command to build container images env file" 2017-08-14 03:59:18 +00:00
Alex Schultz f06d7bbea3 Switch to use local buildlogs mirror
We're still trying to pull packages from buildlogs.centos.org for the
delorean-pike-testing repo. This change will swap out for the local
buildlogs mirror if available.

Change-Id: Iae48b4c9f11bbfed42f32ab0b4f8936284a3d44c
Related-Bug: #1709327
2017-08-10 21:17:00 -06:00
Steve Baker bc60d9f933 Use prepare command to build container images env file
This change replaces the manually maintained
docker-centos-tripleoupstream.yaml with an equivalent file generated
by running "openstack overcloud container image prepare". Note that
the file containers-default-parameters.yaml is already generated with
this command thanks to I6a5796428c224584359b2a434d7fc80878d5f038.

Change-Id: Ie6dfd97526569753382e1f006abd8e9be7843dd1
Partial-Bug: #1696598
2017-08-06 20:53:50 +00:00
Ben Nemec cb87062a52 Don't do pre-pingtest cleanup with --skip-pingtest-cleanup
--skip-pingtest-cleanup is primarily used in ci as a way to avoid
wasting time cleaning up resources that will be deleted along with
the overcloud anyway.  There's no need to spend time looking for
resources to clean up beforehand either in that case.

Change-Id: If6a51a966ffb463ee0b95cf7c6c987f1e9bd45aa
2017-08-03 21:38:29 +00:00
Emilien Macchi 6cf056cc68 Add bits to support stable/pike
Add missing bits to support stable/pike branch in TripleO;
Some adjustments might be done later but this is a first iteration.

Change-Id: I408a6b116b611b67b67f98e1bf7bc533ce22435c
2017-08-03 06:23:37 -07:00
Ben Nemec 268abf1fd9 Let the pre-upgrade hook stop services in pike+
The undercloud and client can now work together to automate more of
the undercloud upgrade, so we don't need to do this step in pike and
later.

Change-Id: I158084d6ac3c0bf0970f096962a058e4e352de01
Depends-On: Icb3fe2c1285f8f8574aad583d08c557936ffabe5
2017-07-26 13:36:27 +00:00
Jenkins 4fb43f12a8 Merge "Default OVB variable" 2017-07-26 13:22:23 +00:00
Jenkins 7ff9cd7f12 Merge "Conditional nodepool logic" 2017-07-25 11:03:21 +00:00
Jenkins d3f7cf887a Merge "Nic config for containerized undercloud" 2017-07-24 18:41:13 +00:00
Jenkins 02f5c0ced6 Merge "Install ceph-ansible in the undercloud" 2017-07-18 02:12:16 +00:00
Jenkins c4045e3c16 Merge "Add a new docker centos Heat environment" 2017-07-13 01:42:24 +00:00
James Slagle 7c5acb6fdb Conditional nodepool logic
Make the logic around reading the generated nodepool files conditional
based on the presence of /etc/nodepool/provider. When using these
scripts outside of nodepool, these files are likely not present, so this
code should handle that case gracefully.

For tripleo.sh --setup-nodepool-files, remove the generation of
/etc/nodepool/provider so that the conditional is not unintentionally
triggered.

Change-Id: I13d78d371b3157a151a7ef861cfa7a293a39f2a2
2017-07-05 14:53:52 -04:00
Emilien Macchi 21e72f9da8 Fix undercloud-upgrade job for Newton to Ocata
Several love fixes needed here:

- We forgot to override STABLE_RELEASE so
  the upgrade was failing because it was
  deploying repos from Pike instead of Ocata.

- Allow only to check that Ironic API is running
  on Newton or Ocata.
  In master we can check that ipmi driver is
  available.

- On old relases like Newton or Ocata we will
  use the old heat calls on get host info.

Change-Id: I558e86f5cec139cef165b0908bb3861434c7c8bc
Depends-On: Ie79dfff667437305ff4109da5a9c42ae358b1a3e
2017-06-30 21:10:55 +02:00
Dan Prince d7d20c1820 Add a new docker centos Heat environment
We are unsetting the t-h-t default params for containers in
Ice7b57c25248634240a6dd6e14e6d411e7806326. As part of that
we need to specify a new environment file explicitly
for tripleo-ci to continue using tripleoupstream containers.

Co-Authored-By: Ian Main <imain@redhat.com>

Change-Id: I4438d50f105000cbe38e017f1657d3ec6244c378
Depends-On: I125137ba45f608cf84ea0a7146edd744a549d23b
2017-06-30 14:54:41 -04:00
Ben Nemec 1fd847a420 Default OVB variable
Otherwise this will fail in local environments where OVB is not
being set.

Change-Id: Ie48dce67a1be89bca77a18b6df60db6575fac5cb
2017-06-30 14:36:40 +00:00
Giulio Fidente a636c0fad3 Install ceph-ansible in the undercloud
To deploy Ceph in the overcloud using ceph-ansible it is necessary
to have it installed in the undercloud.

Change-Id: Ia9cf977e3350790db1511963f1b40b5c11d2bf67
2017-06-29 17:45:52 +02:00
Jenkins fcfc01da7e Merge "Add a driver-list call to the undercloud sanity check" 2017-06-27 04:28:58 +00:00