Commit Graph

622 Commits

Author SHA1 Message Date
Erik Berg 80b245fd00 Remove temporary override for rabbitmq
Depends-On: I93965bd0abb44b306f4c25084511e5c17222c75a
Change-Id: I82fb3c877d8bc53231869f02659e06501988bc6b
2021-03-25 13:00:14 +01:00
Jonathan Rosser 0a967d6513 Update get-pip url
The old url no longer works.

Override pip_*_urls. We can't easily update pip_install role.
Override rabbitmq package urls.

Change-Id: I744d1336608e6c25b4d9c9c77fe45e4d6b5ff1d3
(cherry picked from commit 1b21abd3d0)
2021-03-24 16:12:27 +01:00
Dmitriy Rabotyagov f700c99a43 Retire repo_build and pip_install roles
Because of role retirement we need to drop them out of
zuul required projects. However this shouldn't influence role usage
outside of the CI as they are still required for services deployment.

Change-Id: Iac3a8eefcf231f735ff617d5605c6e1fda85b164
2020-04-22 19:54:32 +03:00
Mohammed Naser 3dcd7e3f46 zuul: drop opensuse-42
OpenSUSE 42 is hitting end of life soon and the jobs are failing
therefore this patch drops all of the jobs for it.

Change-Id: I360019c7ce5624bffc4b007050503a6b07737abe
2019-06-11 09:53:31 -04:00
Mohammed Naser 644edf49b2 sync: use proposal-bot + gerrit ssh API to pull projects
With the transition to OpenDev, we cannot rely on the old URLs
and this is a much cleaner solution that leverages the proposa-bot
user to get all the information we need.

Change-Id: Ie5dae335c12e178928186637b7b73f97c6a694ab
(cherry picked from commit 0f4872e823)
(cherry picked from commit 17a4ca8d83)
2019-06-06 13:34:04 +00:00
Logan V d70884be51 Restore CentOS voting job
Depends-On: I9fb16b7f046530efc124e760bc7870c13b4e8d32
Change-Id: I47faf47b1b8aa6c892337ee1e5eba4533bdfadf6
2019-05-20 13:25:31 -05:00
Logan V 2b711da33c Fix clone list for opendev changes
Disable CentOS gating to allow the galera_server percona-release fix
to merge[1].

openSUSE 42.3 gating is removed since it uses LXC containers and our
LXC build process is broken on 42.3, plus 42.3 is scheduled for EOL
soon.

[1] https://review.opendev.org/#/c/660141/

Depends-On: I09182143f4cf9adf186973dff513116da42e3f91
Change-Id: I67ebe9e813c95a3a8bcf204678ddccbcea7a45cd
(cherry picked from commit 7a3e528929)
(cherry picked from commit 458b26d4bd)
2019-05-20 13:25:29 -05:00
OpenDev Sysadmins d6be4234ce OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:31:45 +00:00
Mohammed Naser 2c0330d8ca Add MariaDB infrastructure mirrors
Change-Id: I49a744ee5c41279f4a17bc7d2339d12c3a132026
(cherry picked from commit 5fad1fdefa)
2018-11-23 10:00:22 +00:00
Jesse Pretorius 722f2b7b2b Update ansible to 2.4.6
Depends-On: https://review.openstack.org/614308
Change-Id: Ib71803e78d81e11a37b46c4d5118e52550171b9e
2018-10-30 17:13:32 +00:00
Markos Chandras 779a02e39c common-tasks: nodepool: Set openSUSE OBS mirror for OpenStack CI
The OpenStack infra are now mirroring the virtualization and cloud
repositories for openSUSE so we don't need to set the OBS mirror
to the official download.opensuse.org anymore. This also ensures
that the task for checking the presence of /etc/ci/mirror_info.sh
is delegated to the host since that file does not exist in the
containers.

Change-Id: Ia530a5901e3e8ec759ba6c79345cbd9a8b7d2b46
(cherry picked from commit c3cced9a1c)
2018-10-03 10:17:46 +01:00
Zuul 3dcf91a52e Merge "Revert "Revert "Run with KVM if we can in tests""" into stable/queens 2018-09-06 12:35:50 +00:00
Jesse Pretorius (odyssey4me) d4baa1d691 Revert "Revert "Run with KVM if we can in tests""
Instances are failing to launch on OVH in Tempest runs with the following:
KVM: entry failed, hardware error 0x0

Octavia team reporting the same.

This reverts commit 7961d67274.

Change-Id: I642982ac0363c3a1abec7de59aeccb36056896ac
2018-09-06 09:29:26 +00:00
huang.zhiping 26bfda703d import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I5b6e0013af889c2913fc447429a6aa7f2ceb5928
Story: #2002586
Task: #24319
2018-08-21 13:49:14 +00:00
Logan V 7961d67274 Revert "Run with KVM if we can in tests"
The nested virt issues we saw on OVH should be resolved now.
More information here: I980cdbc67d6e7b3a8a2520b2279ff3a1cdf68c4b

This reverts commit 748e3d2292.

Change-Id: If2adfc006ee9efb3f80e23d34311673b7c74d274
(cherry picked from commit a771ef5a03)
2018-08-06 13:33:31 -05:00
Jesse Pretorius c51368eab6 Add ceph-ansible library and callback path
The ceph-ansible project has created a new library which
is held in the root folder. We need to ensure that the
library path is included.

Additionally a callback plugins directory inside plugins/callback has
been added, along with an action plugins directory inside
plugins/actions.

Finally, the sed command we use to replace the default roles directory
was causing issues in that it applied to any lines that were not
necessarily the roles_path. This PR adjusts the sed to ensure it is only
the roles_path line that is replaced.

Change-Id: I0d30d749ef2e00c1d199e53a837462619a9b2650
(cherry picked from commit 0943a630bb)
2018-07-30 19:21:02 +00:00
Dave Wilde 3e516790a4 Update get-pip to version 3.3
Version 3.2 has a bug with it on some systems that can result in the
following stacktrace: [ http://paste.openstack.org/show/726064 ]. To
correct this issue the version of the get-pip script has been set to 3.3
which does not suffer from the same issue.

Change-Id: Ib551c8627351ba23d3c1a67a9631f58fdd2157a7
(cherry picked from commit 178506f624)
2018-07-19 20:44:39 +00:00
Jesse Pretorius b934d9cde0 Pin get-pip.py to 3.2
As get-pip.py evolves based on pip 10, while we're still using
pip 9, changes in the way it can be used are causing problems.

For example, the ability to use --download is no longer there.

As such, let's pin to a known good version and leave it at that
until we no longer need to use this script. Version 3.2 maps to
pip 7.1.2 which fulfills our needs.

Change-Id: I6aa297ee6e1ca3a76f016a6a0c3d4a735433a9b2
Closes-Bug: 1779534
(cherry picked from commit aa0a76ce9c)
2018-07-04 11:18:09 +00:00
Major Hayden 4ab3f6c00b Improve idempotency
These discovery tasks always show up as "changed" in the Ansible
output. This patch ensures that they are not labeled as changed
when they are run.

The patch also fixes the idempotency check grep so that it works
properly with multiple hosts. Previously, if *any* of the hosts
finished with no changes/failures, the entire job was marked as
passing the idempotency tests.

Depends-On: I17748b0dd2307fd9bee705140c67883140090298
Change-Id: Ie414d32d39fdeeedd77fe94b57a09ba344084ec1
Signed-off-by: Major Hayden <major@mhtx.net>
(cherry picked from commit 391a951f70)
2018-06-07 12:24:09 -04:00
Zuul c607b30c14 Merge "test-log-collect.sh: Fix log collection for host" into stable/queens 2018-06-01 21:59:19 +00:00
Zuul 09fb59cc9b Merge "Pin ARA for Queens" into stable/queens 2018-05-30 13:19:13 +00:00
Zuul 50f19defaa Merge "common-tasks: Do not sync preconfigured /etc/pip.conf file" into stable/queens 2018-05-29 19:11:36 +00:00
Jesse Pretorius c241d0eeac Pin ARA for Queens
To ensure that ARA continues to work for the lifetime
of Queens, we pin it to the current version.

Change-Id: I38c27607477c7274308abdd9aaa96941540cd906
2018-05-29 12:33:05 +01:00
Jesse Pretorius 8694efe27b Use upper constraints when installing ARA
Currently lint tests are failing due to ARA bringing in
extra packages unconstrained. Here we ensure that the
upper constraints are applied when installing ARA.

Change-Id: I35e3688ae632d5f7747f32dafc41d23883c033c5
(cherry picked from commit 2516484ffc)
2018-05-29 11:30:31 +00:00
Markos Chandras 13bf25dcbe common-tasks: Do not sync preconfigured /etc/pip.conf file
Zuul places a /etc/pip.conf file on the host as shown below

2018-05-02 11:48:59.945452 | TASK [configure-mirrors : Install /etc/pip.conf configuration]

However, we don't need that since we have our own role to configure pip
which overrides the Zuul one anyway. For the hosts which are not
configured with the pip_install role, this can actually cause problems
so we wipe the file and we let our own role configure it the way we want
to.

Change-Id: I45a900b056db1c8a173f9ed1dae1bd998915e9d4
(cherry picked from commit c2030ef974)
2018-05-15 11:49:55 +00:00
Markos Chandras daefb0a00a test-log-collect.sh: Fix log collection for host
The lxc_cmd variable is being set when we collect log information for
containers but it is not unset when we do the same thing on the host. As
a result of which, the host repo and pkg logs were wrong since they were
collected from the last container instead of the host.

Change-Id: If2d0a84b46538e44f383967108ca9f67e91f5054
(cherry picked from commit a6ed5f3dc6)
2018-05-11 18:04:05 +00:00
Jean-Philippe Evrard 93dc5b2f65 Remove python3 support
Queens branch is python2 support only due to other
upstream dependencies.

Change-Id: I4cc8c60e4c3099b6dbac2d5e571d49a2a8855ead
2018-05-02 17:50:56 +02:00
Jesse Pretorius 1366850df8 Remove zuul v2 shim
There is absolutely no chance that zuul will be reverted
back to v2, so let's remove the extra code.

Change-Id: Ia3e4c5ea6514f9caeeea936afd10fac9a54a09c8
(cherry picked from commit 8908a96546)
2018-04-30 08:31:54 +00:00
Zuul 36f55ba8c0 Merge "Add a rule to prevent passwords to be logged" into stable/queens 2018-04-30 05:26:03 +00:00
Jesse Pretorius bd8d5aaa84 Update Ansible to 2.4.4.0
Change-Id: I292a8dc25deae83251d0389f27451b18e23b1fbd
(cherry picked from commit 3987bd6493)
2018-04-26 11:06:02 +01:00
Zuul ac9b395132 Merge "Add python3 functional voting and non-voting jobs" into stable/queens 2018-04-21 10:44:05 +00:00
Andy McCrae 7ead0de490 Add python3 functional voting and non-voting jobs
In I4052547b5dc1e70a7fb079dcd13ec2a32d5efefe we're removing the plugins
job from the plugins repo and adding it to tests, this will allow us to
use these jobs for the ansible-config_template repo as well as the
openstack-ansible-plugins repo.

Change-Id: Id6c1bfb4b93e7d37c76c891dc537567d7df0d5c5
(cherry picked from commit 379e477685)
2018-04-20 13:46:19 +00:00
Jean-Philippe Evrard e90f91e3e0 Do not log passwords
This prevents data to be leaked into the callback plugin.

Change-Id: Ied6126021bc19fb842541a3234a1005fd16df619
(cherry picked from commit d2d8daae74)
2018-04-20 07:43:45 +00:00
Zuul e64c9620f8 Merge "Do not log passwords" into stable/queens 2018-04-17 14:55:03 +00:00
Jean-Philippe Evrard e3bf45b7f3 Do not log passwords
This prevents data to be leaked into the callback plugin.

Change-Id: I6f6b403df28f137336b7a5fd2749f2fb03b7eb7e
(cherry picked from commit 9b1a8eb9cd)
2018-04-17 10:18:03 +00:00
Jean-Philippe Evrard 096dab0e1d Do not log passwords
This prevents data to be leaked into the callback plugin.

Change-Id: Ic2b88c6442d5a8e76e7f4c7b7ee8686ef0070f5e
(cherry picked from commit 8641a0240c)
2018-04-17 10:17:43 +00:00
Jean-Philippe Evrard 41e2d77aa1 Add a rule to prevent passwords to be logged
Lint rule to make sure no module argument looking like "password"
will get logged.

Change-Id: I180b77faf7aaab57d1c48fc993e43f08c4fb16f6
Closes-Bug: #1760878
(cherry picked from commit c00ecb858d)
2018-04-17 10:16:41 +00:00
Zuul 8b9a5141fd Merge "Add Ceph experimental job for roles" into stable/queens 2018-04-10 08:32:53 +00:00
Zuul 187fbb5195 Merge "Extend linters time out" into stable/queens 2018-04-10 07:12:39 +00:00
Jean-Philippe Evrard 3874b043ee Use the right hypervisor name for ovh hosts
We set the hypervisor name to 'qemu' instead of qemu, so the
templated fact is "'qemu'", which is an incorrect hypervisor name.

Change-Id: Ib07a93db1d0f826701fd58f95243eb17ef017e4b
(cherry picked from commit 62c2b18f3f)
2018-04-09 19:48:15 +00:00
Jean-Philippe Evrard cae4669dba Extend linters time out
Linters are extended to 15 minutes. A few jobs have been just
reaching the 10 minute deadline, so using 15 minutes should
leave plenty of wiggle room.

Change-Id: I1473d55498d72f5611ae09e0d2e7b709954bb363
(cherry picked from commit d515c1074a)
2018-04-09 18:09:10 +01:00
Jean-Philippe Evrard 0d017ec3aa Add Ceph experimental job for roles
Some roles need to be tested with a full integration of the
openstack-ansible repo with the ceph scenario.

Change-Id: I1d1e15ed451c7142ac69b25dd9ec4e0de7361112
(cherry picked from commit eacf5b3220)
2018-04-09 16:12:59 +00:00
Jean-Philippe Evrard 41c59c7908 Run with KVM if we can in tests
We should not Set nova_virt_type.
This way detection steps in, and kvm is used.

However, we should use qemu for OVH hosts:
There seem to be a bug in some OVH hosts
causing 'hardware error 0x0' when trying to run with kvm.

Change-Id: I4f679815ac55095000dc1017cebbd1a8bf0f6c5f
(cherry picked from commit 748e3d2292)
2018-04-04 19:40:35 +00:00
Zuul f6adaecc67 Merge "Disable developer mode for tempest role tests" into stable/queens 2018-04-04 09:30:16 +00:00
Jesse Pretorius dcad46e455 Do not generate the html ARA report any more
In order to ensure a clean pick, this is a
combined backport of:
- https://review.openstack.org/550956
- https://review.openstack.org/557921

With [1] we no longer need to generate the html report,
so in this patch we change the log collection process
in order to use the new mechanism.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-March/128902.html

Change-Id: Ic05ac14ef8bc2f67c40f6d5356edbff32f5e6c5c
2018-04-03 19:02:44 +01:00
Jesse Pretorius 50fdec2086 Disable developer mode for tempest role tests
Combined backport of:
- https://review.openstack.org/557720
- https://review.openstack.org/558524

Given that tempest is in upper-constraints and its releases
are published to pip, we don't need to use developer mode
for our tests. Also, given that we're not really in a position
to closely track every move the QA team makes, perhaps it
makes better sense for us to just used the released versions
for our tests so that we only have to deal with those changes
whenever they release, implying the confidence that they have
completed their implementation changes.

Change-Id: Ibc191f6fc33ca9a1807c01a23f476c4dfe225f33
2018-04-03 18:50:15 +01:00
Zuul 521441257e Merge "Allow to run tests outside openstack infra" into stable/queens 2018-03-26 13:03:43 +00:00
Jean-Philippe Evrard b3a5751048 Allow to run tests outside openstack infra
The task run un-conditionally and the shell script
just echo empty strings which are then used for
ALL the deploys, breaking up deployments with wrong
repo urls.

Change-Id: I782bc40a6ce192b705d7d08a578fdf6275b9a13e
(cherry picked from commit 17439c210c)
2018-03-26 07:29:56 +00:00
Jesse Pretorius e5d9e351ca Add non-voting ubuntu-xenial functional test job
To cater for the option of running a non-voting functional
test on ubuntu xenial, we add the job.

Change-Id: I95f084c26bc3c8c00a326a45d3aa94a0ee539df7
(cherry picked from commit ed22d7046c)
2018-03-25 18:38:46 +00:00
Zuul 858d5b4095 Merge "test-prepare-host: Switch package state to 'present' on openSUSE" into stable/queens 2018-03-14 15:38:56 +00:00