594 Commits

Author SHA1 Message Date
ea1f94f748 Update reno for stable/queens
Change-Id: If010ba4ab0f4ad238390ec01378804ba34670ccf
2018-02-14 15:50:34 +00:00
Zuul
37eb776041 Merge "tests: test-swift-upgrades.sh: Drop Ansible verbosity" 17.0.0.0rc1 2018-02-09 14:12:43 +00:00
Markos Chandras
3d662f3080 tests: test-swift-upgrades.sh: Drop Ansible verbosity
The upgrade tests are very noisy since Ansible verbosity is set too
high. This makes debugging problems very painful so drop the verbosity
level and let users increase it if desired.

Change-Id: Id256efff664c58d62aaf7b9e23c7df6953032573
2018-02-09 12:09:05 +00:00
Zuul
bf9f251675 Merge "Use a venv with previous ansible version for upgrades" 2018-02-01 15:34:51 +00:00
Zuul
691ebecd24 Merge "Zuul: Remove project name" 2018-02-01 15:34:50 +00:00
Jean-Philippe Evrard
45bab4b6ac Use a venv with previous ansible version for upgrades
When doing the role upgrade, we run every playbook with current's
branch ansible. This is normal for the infrastructure bits (which
are running on current branch), but not for the installation of
the previous branch's role, which should use previous branch's
environment.

Depends-On: I7ebb045885dd645b820de2b7f75b46c755c015f6
Change-Id: I7069c906395b37e8af20db82d88d8a069faf5f79
Related-Bug: #1741471
2018-02-01 10:45:59 +00:00
James E. Blair
44afb55ef1 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: Ifff40bdf0aaf9020d3b3e44cfb15055f2824266e
2018-01-31 20:33:15 -08:00
Zuul
47b5f32ac8 Merge "Reinitialize the virtualenv" 17.0.0.0b3 2018-01-26 16:38:21 +00:00
OpenStack Proposal Bot
35a2ebdec8 Updated from global requirements
Change-Id: I82f5e36a081f7173217ca25c1b5ab56d2fc0917d
2018-01-24 02:12:24 +00:00
Zuul
0469f4ff53 Merge "Updated from OpenStack Ansible Tests" 2018-01-23 11:12:55 +00:00
Jean-Philippe Evrard
cbf01f694a Reinitialize the virtualenv
In the previous patch removing the virtualenv-tools, we've updated
paths to the proper binaries, but we don't reset the virtualenv
like what we used to do.

Change-Id: I33906abc0e145dc671c2781924c4c20e9df3ba48
Partial-Bug: #1741634
2018-01-22 17:36:04 +00:00
OpenStack Proposal Bot
af9940f7df Updated from OpenStack Ansible Tests
Change-Id: Ic4a40e05fa2059ee6d1c778a9cc8764e7447192c
2018-01-22 16:56:46 +00:00
Jean-Philippe Evrard
ae5def5f8f Fix upgrade test
openstacksdk was updated to 0.10.0 which has a different
connection.Connection object, which doesn't take our auth_url.

We should respect the constraints, install the tooling in a venv,
and restrict to a known version of the sdk until more robust code
is written.

Change-Id: Ibcfe3d69705833b0c743e6303feb351a464abdcf
2018-01-19 17:07:23 +00:00
Zuul
0f26b461f8 Merge "Replace virtualenv-tools by a script" 2018-01-16 13:24:18 +00:00
Jean-Philippe Evrard
d5ad55cf4c Replace virtualenv-tools by a script
virtualenv-tools has a bug which gets triggered in gates: it can't
change the shebang of a virtualenv python bin/ files if they
were generated with a virtualenv script whose shebang ends with
python2 instead of python.

Because we can't modify virtualenv-tools, we use shell scripts
instead.

Change-Id: I2dc9a507162fcd2323e19a3a2daa97c6db9cdcdb
Partial-Bug: #1741634
2018-01-15 14:17:07 +00:00
Markos Chandras
a7b4d86599 tests: test-swift-upgrades.sh: Remove the exit trap
We are already collecting logs as part of the post-run playbook so we
don't need to do that as part of the exit trap. This avoid collecting
and compressing the logs twice.

Change-Id: Iacbdd102e8889ae09ee2c93e300a87ba4ffc4842
2017-12-16 13:34:26 +00:00
Zuul
f31217bb09 Merge "Allow the experimental trigger of the integrated repo" 17.0.0.0b2 2017-12-06 14:51:17 +00:00
Jean-Philippe Evrard
ae5a71c26c Allow the experimental trigger of the integrated repo
This would allow someone to test its change with an AIO.

Change-Id: I0ae5627f8265933c1f34d0c401db409a689416e7
2017-12-06 08:23:24 +00:00
OpenStack Proposal Bot
331e31941a Updated from OpenStack Ansible Tests
Change-Id: I7f028eb7aa164600949741fae5dbf11a34056a58
2017-12-06 00:06:39 +00:00
Zuul
f2ac934e92 Merge "Remove pip_install dependency" 2017-12-05 15:23:41 +00:00
Jean-Philippe Evrard
e875054dbc Remove pip_install dependency
With addition of pip_install on every node, we don't
need to have pip_install as a meta dependency.

Depends-On: If3412bb888ebb854874bbc43eb76bfcb3e4a7868
Depends-On: I79ff70c438b44753be2a93f004ebbc46de0a963d
Change-Id: I2a59d22cd7d073fbc4af711aa6d9be92a2c07e54
2017-12-05 11:56:17 +00:00
Zuul
22933baec9 Merge "Remove jinja2 delimiters from when" 2017-12-01 18:47:40 +00:00
Major Hayden
97f29d75c0
Remove sleep option from service handlers
The systemd module doesn't support the sleep option and this patch
removes it from the handlers.

Closes-Bug: 1735786
Change-Id: Ida1d83903dc4d3cd85029735a0882bf342d21dca
2017-12-01 10:27:43 -06:00
Major Hayden
6cd15acb26
Remove jinja2 delimiters from when
This patch removes Jinja2 delimiters from when clauses and fixes the
capitalization of task names to match the other tasks in the file.

Closes-Bug: 1735785
Change-Id: I16334a11c551026c593b1872a44ed68f786719a5
2017-12-01 10:24:05 -06:00
Zuul
b6e91593e2 Merge "Update PyPy version" 2017-12-01 08:51:59 +00:00
Jean-Philippe Evrard
7edad7c2b4 Fix Ansible Lint
Change-Id: I4dee9fc51cabf0923e479605a02f6fb462815943
2017-11-27 12:20:50 +00:00
Jean-Philippe Evrard
33505b9482 Update PyPy version
This is the time of the cycle where we update all the static
elements in the roles. PyPy has a static file version, so we
bump it.

Change-Id: I15c21c177c32dcae0a7f2710b50f91829be09586
2017-11-27 09:41:08 +00:00
Andreas Jaeger
5ac157cf39 Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: I7df0385b62d118b535179dd42d7aa576897815ca
2017-11-17 08:04:47 +01:00
OpenStack Proposal Bot
4858c02c14 Updated from OpenStack Ansible Tests
Change-Id: Iabff3a25211b5b4f63310ad0167dd8de4db44478
2017-11-10 13:17:48 +00:00
Jean-Philippe Evrard
ffe98974b3 Add OpenStack-Ansible metadata
We need to add openstack ansible information in the role
metadata to be able to track role maturity. With it,
we can create a role maturity table and take decisions about
role deprecations.

Change-Id: Iafdf127465e9c5c5bfd60fa6951ef12f76864a22
2017-11-02 08:20:04 +00:00
Jean-Philippe Evrard
c0e9362268 Temporary make CentOS non voting
Until the bug #1729263 is resolved, we should move back to
non-voting centos, to avoid an useless series of rechecks.

Change-Id: I930a0458c10625e2f795f4fba76675f5b93a6f7d
2017-11-01 10:54:47 +00:00
Kevin Carter (cloudnull)
988fea87b5 Revert "Don't run sync in upgrades"
Swift fails to deploy when using >1 storage node. The fact `need_sync`
was being set using information from ansible_local in an effort to
support rolling uprades sometime in the future. Sadly this variable
causes storage nodes to be removed from the key sync which results in a
failed build. If we decide serialized rolling uprades are required for
swift we can revisit this however until then we need to remove this
constraint and ensure we're allowing successfule deployments and
upgrades of swift.

This reverts commit 176452bebf7e1ceabd2cf72a89c558c0fc7f1420.

Change-Id: I21318d7c737c2415ef760b46176c3f9b372bb634
2017-10-30 14:52:02 +00:00
Jesse Pretorius
ddf6b2c1db Remove unified queue from gate pipeline
Initially the intent for adding this was to better test
any patches for roles together before they merge, but it
has had the unintended side-effect of causing patches to
take much longer to merge (because they all get lined up
in a single queue, rather than independent queues) and
a lot more infra resources are used (because a patch
that fails at the top of the queue will result in all
subsequent patches restarting all their tests).

As discussed in the channel, we'd prefer to revert back
to the previous independent queue method of testing. It
has served us well.

Change-Id: I717e111e8cc85f8396bddf317a2a27969a5728e7
2017-10-23 11:27:03 +01:00
Jesse Pretorius
a622996b2b Add openstack-ansible-linters test
Currently the linters test is in the project-config
repository, but those are meant to be used for standard
jobs which do not require any repository other than the
one given. Our lint tests use the 'openstack-ansible-tests'
repository, so we should rather use our own job definition.

Change-Id: Ie7416e87851463e94bc11147faa277b5bf60e106
Depends-On: I0391ec310c4eede436011a48490e3c524c8ddf4d
2017-10-18 17:50:02 +01:00
Jean-Philippe Evrard
0147d155d4 Update upgrade role for Queens from P
This changes the a-r-r with the proper version, and fixes
the repo path for role upgrades:

The role will, during test-upgrade-pre, have its current branch
checked out, and will deploy the current branch infrastructure,
including the generation of the constraints.

Then, the installation of previous branch of the role will use
the constraints for its previous version, but will have no
constraints for it, and fail.

We need to generate the constraints for the previous version too.
This should do it.

This patch also implements an initial set of jobs intended to
match the current job execution method. It does not intend to
improve how the jobs are executed - only to replicate what is
currently in openstack-infra/openstack-zuul-jobs and provide
the platform to iterate on.

Change-Id: I4aa7591c931501490e706b9d61ba0bc12c006baa
17.0.0.0b1
2017-10-17 20:52:25 +00:00
OpenStack Proposal Bot
b8bec262f8 Updated from global requirements
Change-Id: Ic5aeeb13a7e1edfb69c6e7e353d7144af9d6a2fb
2017-09-20 03:41:14 +00:00
OpenStack Proposal Bot
1b0334e119 Updated from OpenStack Ansible Tests
Change-Id: I2210f4ab0c9f1fe06513f850c6258af8e2ca1638
2017-09-04 13:05:27 +00:00
Jenkins
729277d436 Merge "Revert "Flag service for restart if the venv changes"" 2017-09-03 06:18:37 +00:00
Jenkins
08787f9c85 Merge "Suppress rsync warnings w/command" 2017-09-03 04:45:28 +00:00
Major Hayden
20801aa010
Suppress rsync warnings w/command
Ansible throws warnings when we use rsync with the command
module. This patch suppresses those warnings.

Change-Id: I42652318f128120b1ecec4781066c89ee9023636
2017-09-01 09:39:40 -05:00
Jesse Pretorius (odyssey4me)
5b8e343821 Revert "Flag service for restart if the venv changes"
This fact is set, but never used.

This reverts commit 49b82a3573be1e8e56986b73d53da62c3953d08e.

Change-Id: I63e115b37dc89800a68d3c71e8b08cef0e971df6
2017-08-29 11:26:13 +00:00
Jesse Pretorius
1837d9bca6 Update upgrade role for Pike
Change-Id: I6e672c0d6b9c9a5ebca7cf47dea9f417f2201b46
2017-08-23 13:14:21 +01:00
Jenkins
38c6379524 Merge "Flag service for restart if the venv changes" 2017-08-22 17:23:28 +00:00
Nolan Brubaker
49b82a3573 Flag service for restart if the venv changes
Depends-On: I73ff5c97de03cab0cc040f7869379f18c1448b0a
Change-Id: I837e31e5f17b31d4cd6191df196acd3c91bfc91e
2017-08-22 14:50:07 +00:00
b4330eaa56 Update reno for stable/pike
Change-Id: I1ff7d69550a8080441906704130499052efea4ba
2017-08-21 10:34:17 +01:00
Markos Chandras
546378a730 tasks: swift_install: Fix virtualenv-tools issue on openSUSE
openSUSE is also suffering from the same virtualenv-tools issue so
we need to remove the existing python-2.7 symlink.

Link: https://github.com/fireteam/virtualenv-tools/issues/5
Related-Bug: #1637509
Partial-Bug: #1644629
Change-Id: I9011007d949ba4848c4e767b6cfab42e10eb1128
2017-08-17 11:09:03 +00:00
OpenStack Proposal Bot
3ad1be916f Updated from OpenStack Ansible Tests
Change-Id: Ic964ca1e38425dc799b1f50ef339c57702395f96
2017-08-17 05:00:39 +00:00
Major Hayden
76bdb799bf Add dnf support
This patch adds dnf support for CentOS.

Implements: blueprint centos-and-dnf
Change-Id: I8114ce7105ba252539c71c0b7fe1ddf73a672d29
2017-08-15 03:11:49 +00:00
Jenkins
4bd2bea7ec Merge "Use a list instead of a dict for filtered_services" 16.0.0.0rc1 2017-08-14 23:42:44 +00:00
Major Hayden
fa9f41f823
Optimize swift gate
This patch contains five combined improvements.

1) Remove RabbitMQ from the gate

RabbitMQ is only needed in the swift gate if the ceilometer
middleware is being deloyed. This isn't enabled in the gate
job, so let's save some time and deploy memcached/galera
without RabbitMQ.

2) Bindep pyOpenSSL change

This commit also includes the pyOpenSSL bindep change in the
hopes that we can get the swift gate moving along again. ;)

3) Disable erasure code test for CentOS

Due to #1707220 we are running into issues with CentOS 7 running Erasure
Code storage policies on RAX hardware.

This patch temoprarily disables EC testing for CentOS 7, but we can
re-enable that once the package is backported to stable/ocata branch.

4) Pass packages as a list

This patch passes a list of packages to the package module
rather than using "with_items" and it should speed up the
package installation process.

5) Set package state to present

Change-Id: Ic7b13853ce00b0f8ac2181e46e2bd8dea5ce377e
Co-Authored-By: Andy McCrae <andy.mccrae@gmail.com>
2017-08-09 08:43:25 -05:00