Commit Graph

531 Commits

Author SHA1 Message Date
yatinkarel 28382fcf1e Switch legacy-tempest-neutron-full-stable to focal
legacy-tempest-neutron-full-stable deploy's stable/wallaby
and is running on ubuntu-bionic(py3.6) and failing in tempest
setup as tempest master no longer works with py3.6.

Master is dropping py3.6 support, currently oslo.log has already
dropped the support and it's latest release is not installable
on py3.6.

Pin Markusafe, as since version 2.1.0 it dropped
module 'soft_unicode' which is required by Jinja2.

Also update ansible version to 2.9.6 as of focal
which should auto discover python as per distro.

So let's switch this job to ubuntu-focal which is py3.8.

Change-Id: I37887bf430b4bce2b9d2179b2d6dd6c050bb1768
2022-05-25 11:31:28 +05:30
Clark Boylan 8e3d669ada Pin Ara install deps
The old version of Ara used by d-g doesn't cap off dependencies which
are now no longer working together. We manually cap things off in our
Pip install step.

Note users should stop using this tool. There are alternatives like
zuul-jobs' ensure-devstack role [0] for Zuul/Ansible users. The issue is
that d-g is not very maintainable and on its last legs for the openstack
until the Xena release is no longer maintained. This is noted in the d-g
README.rst file.

[0] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-devstack

Story: 2009973
Change-Id: I781ce6e2be88d6724c6908490e17ba8acaa3b911
2022-04-07 08:46:03 -07:00
Zuul a26706bb29 Merge "Retire django-openstack-auth" 2021-08-03 19:30:00 +00:00
Elod Illes 7caf665cf6 Remove neutron-lbaas from PROJECTS list
neutron-lbaas was retired [1] and old branches that still use
devstack-gate started to fail with the following error:

functions.sh:setup_workspace:L461: rsync -a '/home/zuul/src/*/openstack/neutron-lbaas/' neutron-lbaas
rsync: change_dir "/home/zuul/src/*/openstack/neutron-lbaas" failed: No such file or directory (2)

This patch removes the neutron-lbaas from the PROJECTS list to fix the
stable gate jobs that are based on devstack-gate.

[1] I04bf076a051e0bf8333f5dc7c000952048dcb523

Change-Id: Ia62245bbeaf4f1a4b50c07efe14b58b550a9817f
2021-08-03 15:53:41 +02:00
manchandavishal 9e22c31171 Retire django-openstack-auth
``django_openstack_auth`` code was merged into the main horizon
repository during the queens release. This repo is already
deprecated and now we can retire it. This patch removes all
references of ``django_openstack_auth`` as mentioned in [1].

[1] https://docs.openstack.org/project-team-guide/repository.html#retiring-a-repository

Needed-By: https://review.opendev.org/c/openstack/project-config/+/800532/
Change-Id: I556f97e1dded51a6be4f9f9be64ad7eb64d5aca2
2021-07-13 22:55:23 +05:30
Ghanshyam Mann ccdfff263e Update grenade setting for stable/wallaby
There are still grenade legacy jobs in few projects,
so for them we need to update the grenade setting in d-g.

Hope this is last release we need to support in d-g.

Depends-On: https://review.opendev.org/c/openstack/devstack/+/784974
Change-Id: I5f98212be14ac3ebad961595e60a099c58fedada
2021-04-06 11:08:38 -05:00
Ghanshyam Mann 22b0f318ca Update grenade setting for stable/victoria
Depends-On: https://review.opendev.org/#/c/755333/
Depends-On: https://review.opendev.org/#/c/755230/
Change-Id: I71f9f1018dde422b80693b018c08e23a8dca3d5c
2020-10-02 15:47:36 +00:00
Ghanshyam Mann b08dd82400 Update grenade setting for stable/ussuri
Depends-On: https://review.opendev.org/#/c/723599/
Depends-On: https://review.opendev.org/#/c/723605/

Change-Id: Ib593eaa5b356b2779d3e8abfbe7536d18e52732e
2020-04-27 17:23:25 +00:00
Zuul 4d64b8529d Merge "Just use the pip from the virtualenv" 2020-02-13 13:53:15 +00:00
Monty Taylor baa4cd731e Just use the pip from the virtualenv
There is only one python, so there is only one pip.

Change-Id: I31bc5a7bad603f3f58a3d2ac1501271935830cdd
2020-02-12 16:48:15 -06:00
Ghanshyam Mann ecf9df2e93 Cap virtualenv to a version < 20
There are errors with the recently released
virtualenv 20 for example: https://github.com/pypa/virtualenv/issues/1551

It has been capped on devstack side also
I3b447557f013934719aa357efeffb093c7f6bd95

Let's use the lower version and we can move to
latest once issues are fixed.

Change-Id: I341437856c709e1e0e281357b96901ae6ef7cd00
2020-02-12 18:03:13 +00:00
Eyal 579487f20b Use python3 for virtualenv if exists
Depends-On: https://review.opendev.org/#/c/702162/
Change-Id: Ib07ea45bf0a6e202751f6ddf7fcb159da310f5c8
2020-01-14 12:29:08 +02:00
Matt Riedemann 0443da119f Bump ANSIBLE_VERSION default to 2.7.14
devstack-gate is still used for grenade jobs and restricts
ara<1.0.0 and defaults ANSIBLE_VERSION=2.5.7.

ARA 0.16.6 dropped support for ansible < 2.6 [1]. As such,
grenade jobs are failing because ara 0.16.6 cannot be installed.

This bumps the ANSIBLE_VERSION default to 2.7.14 which is current
as of Ubuntu Xenial 16.04 which should be sufficient for the
branches still supported in upstream OpenStack CI (mainly Ocata+).

[1] 872ba818fb

Story: 2007028
Task: 37825

Change-Id: If7874f6e74606fe8a79fbff48abf764cc41c4a3b
2019-12-18 08:45:07 -08:00
Thierry Carrez 13972f3a9b Update grenade settings for stable/train
Depends-On: https://review.opendev.org/687241
Change-Id: Ic731b6176908aa49af49bc57c12d7dd8c6ad6769
2019-10-08 10:32:18 +00:00
David Moreau Simard 83b7f4f3c7
Pin ARA to <1.0.0
ARA 1.0 will be released in the near future and isn't backwards
compatible. Pin it so it doesn't break things unexpectedly.

Change-Id: If40616a433c32ce23eca3b06c27050950c62e250
2019-06-03 08:57:22 -04:00
Luigi Toscano 9459f44cb5 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Port of the present changes are needed to fix some errors in legacy jobs when
opendev.org is used as git base URL, as devstack-gate tries to clone
openstack-dev/devstack and it fails (the redirect works only when
git.openstack.org is used).

Change-Id: I81f6e00aa10ef7f93d0dead2f76369035a18a81b
2019-04-20 14:52:19 +02:00
ghanshyam 9f816121cb Update grenade settings for stable/stein
Change-Id: If206584f53e2b801cf911b750e9ee9836a240cae
2019-03-26 19:41:16 +00:00
Zuul 907c1f999d Merge "Enable process_stackviz function to be optional" 2019-01-10 05:43:53 +00:00
Arx Cruz 591fd44300 Enable process_stackviz function to be optional
This patch keeps the proccess_stackviz function default to true, but
allow it to be optional called, if you set PROCESS_STACKVIZ to 0.
This is required because not all the projects run tempest in the same
way.
One of the examples is the tripleo project, that has a particular way
to run tempest (in undercloud) and it's being impossible to have the
stackviz results in the logs/stackviz because the cleanup process
overwrite the stackviz data there.

Change-Id: Idf4f360ecba618900ef939d94db2ffb73e16b11a
2018-10-11 15:19:28 +02:00
Matt Riedemann 81ed118c2a Include openstack/placement in PROJECTS starting in Stein
The openstack/placement repo is required for devstack/grenade
runs starting in Stein so this adds a conditional based on the
branch to include the openstack/placement repo in the default
PROJECTS list.

Needed by https://review.openstack.org/604454/

Depends-On: https://review.openstack.org/608266/

Change-Id: I71cffffc88c329052c4067d6a9406f42856c69c6
2018-10-05 09:55:25 -04:00
Zuul 95fa434310 Merge "Update grenade settings for stable/rocky" 2018-09-07 18:39:55 +00:00
ghanshyam bc9c5d5b4c Update grenade settings for stable/rocky
Depends-On: https://review.openstack.org/600196/

Change-Id: I940a705d4b8269fbf3bec9f107f179e9191b5a42
2018-09-06 19:09:28 +00:00
Paul Belanger 87b3df3169 Bump ansible to latest 2.5 version
This is the same version run by zuul.

Update devstack callback for ansible 2.5.

Change-Id: Ic0d2559346570e60025838166b9bd0081eee331a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-08-30 19:05:16 +00:00
Dirk Mueller 8575ba663a Remove support for devstack exercises
These seem to be not run for quite some time and they don't
succeed anymore - drop the code to avoid somebody accidentally
running it and wondering. A good example of "if it isn't tested
its broken".

Needed-By: https://review.openstack.org/#/c/581377/

Change-Id: I68d7099e6f5be502f8a578818b5e2e4c82889c15
2018-07-17 10:30:37 +02:00
Clark Boylan 63e5e1dd96 Cap cmd2 to < 0.9.0
cmd2>=0.9.0 now require python3.4 or greater. We install ansible under
python2 (for now) so we need to cap the cmd2 install to make the ansible
installation function.

Upstream bug at https://github.com/python-cmd2/cmd2/issues/421

Change-Id: I5ec830e092646a3626cacea264de9ad81fcdd124
2018-05-28 13:22:11 -07:00
Clark Boylan 289c0ed27e Remove retired tripleo-incubator from PROJECTS list
tripleo-incubator has been retired so we don't cache it on our images
but if it is in the PROJECTS list we will attempt to rsync it. Just
remove it as it is no longer used.

Change-Id: I3ad57d247a02881ba8a6757f2a058d03884eaf35
2018-05-07 13:34:54 -07:00
Zuul 649d1ae775 Merge "Revert "Work around cffi install error"" 2018-03-11 13:19:44 +00:00
Sean McGinnis c41b7cf772 Update grenade settings for stable/queens
Change-Id: I2709f5527552fd4fc406f870ef35c4b6e4b9dae9
2018-02-15 07:27:02 -06:00
Andreas Jaeger e0666bd81b Remove tempest-lib
tempest-lib was reintegrated into tempest in 2016, there's no need to
check it out anymore. Remove it from PROJECTS list.

See also
https://specs.openstack.org/openstack/qa-specs/specs/tempest/implemented/reintegrate-tempest-lib.html

Change-Id: I3ed33ad9cf4097bc48ab71a666c2ce95b26c3329
2018-01-20 18:19:52 +01:00
Andrea Frittoli (andreaf) 3d0fc8bf6d Create a test matrix role
Modify test-matrix.py so that is can be used as an ansible module.
Add a role in d-g that runs test matrix for the given branch,
role and features file.

Change-Id: Ie36ba0cd7cfcd450b75000a76a64d856f2a83eba
2017-12-06 11:27:41 +00:00
Zuul 3ad3f8fa39 Merge "Use = for string comparisons" 2017-11-29 03:34:07 +00:00
Jens Harbott (frickler) a64d6b1e60 Revert "Work around cffi install error"
This reverts commit e473fdec13.

Change-Id: Iff8d3c4b8f514bd66649cc7c4f788302af32cbc4
2017-11-01 07:35:31 +00:00
rabi 837072abbc Don't set CEILOMETER_BACKEND in localrc
mysql backend is not supported anymore. default is
gnocchi.

Change-Id: I2d1e31e386a2576b3a44ec5b8e15dc49d2a474d3
2017-10-27 20:38:43 +05:30
Jeremy Stanley 9d7be09fa9 Use = for string comparisons
Change I384e4c376076051e7a4a8b2d704107cbe3ac08ad introduced
comparisons of $DEVSTACK_PROJECT_FROM_GIT against a couple of
hardcoded string values in a bash [[ ]] expression, but incorrectly
used the -eq integer comparison operator. This seems to work under
normal circumstances, but actually breaks if the string value of the
variable contains a "." since the equivalence test tries to fail
early if it detects what it thinks is a float value (because it's
intended only for integers). Instead of -eq use = for string
comparisons here, because that's what the POSIX test(1) utility
mandates.

Change-Id: If33d7aea9142e650b57c0f58c14e2a4434e30bf0
2017-10-05 19:32:31 +00:00
Jens Harbott e473fdec13 Work around cffi install error
cffi-1.11.1 was released without wheels so we cannot install it because
of missing libraries. Install 1.11.0 as a workaround.

Change-Id: I6e0eab8e6ea126eec4c2c0767229cb915338e486
2017-10-04 10:13:37 +00:00
Jenkins b91005fc52 Merge "Allow for arguments to DEVSTACK_GATE_SETTINGS." 2017-09-05 17:11:59 +00:00
Jenkins 0ea4c4ef60 Merge "Update Ansible from 2.2.0.0 to 2.3.2.0" 2017-09-04 07:22:12 +00:00
Jenkins 98e54a6823 Merge "Unpin Paramiko" 2017-08-29 23:56:48 +00:00
David Moreau-Simard 1cd4a307c0 Add the private_ipv4 hostvar to primary and sub nodes
This will allow us to reliably set up the bridge on the right IPs
in the follow up network overlay patch.
The private_ipv4 key is inside the nodepool dict to be forward
compatible with the hostvars provided by zuul v3.

Co-Authored-By: Clark Boylan <cboylan@sapwetik.org>
Co-Authored-By: David Moreau Simard <dmsimard@redhat.com>

Change-Id: I34663fc482d71781d1e05455edb18c4a86aa5afb
2017-08-28 19:17:35 -04:00
David Moreau-Simard c357066a9d Export ANSIBLE_CONFIG so we can make sure it's used by Ansible
Ansible will read the configuration file found at ANSIBLE_CONFIG
automatically, regardless of location.
This ensures that scripts that run in the same context as
devstack-vm-gate-wrap.sh inherit from the same Ansible configuration.

This fixes the fact that network overlay playbook runs were missing
from the ARA report as they were running from "devstack-vm-gate.sh".

Change-Id: I53c30bc72477671f38b04f0331862e2bbfaed4d2
2017-08-25 10:09:23 -04:00
David Moreau-Simard a992bfac8b Update Ansible from 2.2.0.0 to 2.3.2.0
Let's update Ansible to the latest version, 2.2 is bound to be
end of life shortly after 2.4 releases sometime next month if all
things go according to plan.

Change-Id: I2a59e22a38918ae45e0518b0af85ad6e8bc9423c
2017-08-22 14:37:39 -04:00
David Moreau-Simard e655e8eed0 Unpin Paramiko
We pinned paramiko [1] because libffi-devel and libopenssl-devel
were not included in the default CentOS images. This is now done
and part of the redhat-common default element so let's unpin
paramiko.

[1]: https://review.openstack.org/#/c/311755/

Change-Id: I390737875fbef71792378981b202c2ae626fa5bb
2017-08-22 14:37:39 -04:00
Thierry Carrez a79e66d2bb Update grenade settings for stable/pike
Depends-On: If4c82ca12fe7b8b1ca7cfd8181d24dbd8dad3baa
Change-Id: Ifb7f7c336523f86fd7a2c18def2ddbbbf656f2fb
2017-08-16 13:19:48 +00:00
Clark Boylan a1a4006604 Revert "Use caching reverse proxy for pypi"
This reverts commit 18cfa2598c.

This didn't catastrophically fail but we are seeing that when new
releases to python packages are made our cached indexes for these
packages are lagging in noticeable ways. We can likely get away with
this for the most part but it desynchonizes the afs volume releases
across regions and could possibly cause problems with timing as we get
into release time.

Change-Id: Ib50545f9cab0ba583127450e2c83a0c464c6f68a
2017-08-04 13:31:33 -07:00
Jenkins 9e61eb1c3f Merge "Use caching reverse proxy for pypi" 2017-08-03 03:42:19 +00:00
Clark Boylan 18cfa2598c Use caching reverse proxy for pypi
Test whether or not the pypi reverse proxy cache functions as expected.
We will want to keep an eye on two datapoints in particular. Reliablity
of devstack-gate with the reverse proxy cache rather than afs cache and
job runtimes.

We put this in d-g rather than on the images directly to have an easy
revert path. If we decide to do this long term because it is faster
and/or more reliable we will want to edit out images instead.

Change-Id: I92b63324b1f1c7bd5a41063f56c982ef7c1f1b01
2017-07-31 14:40:09 -07:00
Jenkins 94602b3cd5 Merge "Do not use *_ssh ironic drivers by default" 2017-07-28 14:29:10 +00:00
Pavlo Shchelokovskyy dbb9913ecd Do not use *_ssh ironic drivers by default
SSH-based power and management driver interfaces and drivers that use
them have been declared as unsupported in ironic before Newton release,
and are aimed to be removed from ironic code in Pike release.

This patch switches default for DEVSTACK_GATE_IRONIC_DRIVER to pxe_ipmitool,
and removes *_ssh driver from default enabled drivers.

Change-Id: I9b60c9fa24652e9e64e787cd4e5b0152f51e7a28
Depends-On: I74e26943862018b2beecc0b53ba1fb0183a6adf1
Related-Bug: #1570301
2017-07-05 17:40:32 +03:00
Colleen Murphy 451eb94987 Group all horizon-related projects together
If django_openstack_auth or manila-ui are the projects being tested,
DEVSTACK_GATE_HORIZON may not be explicitly set for some gate jobs. For
instance, the tempest-dsvm-neutron-src job is run for
django_openstack_auth. Special case horizon-related projects to make
sure horizon is set up for them. Also further condense these projects in
the PROJECTS list to reduce the number of git repos we need to configure
in the default case

Co-Authored-By: Clark Boylan <clark.boylan@gmail.com>
Change-Id: I384e4c376076051e7a4a8b2d704107cbe3ac08ad
Depends-On: Iafebfc92017d859cd3062fc4b6fab2986dfc5c98
2017-06-26 22:44:18 +02:00
Jenkins cc10fd1db9 Merge "Allow manual request for overlay network in multinode" 2017-06-15 17:22:29 +00:00