b4fbecd93f056f52022b39f5a7c35a4175fdee7c
Commit Graph

522 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Matt Thompson
7db5634ebd pin version of ansible-lint we use for testing
Latest release of ansible-lint 2.4.0 has broken
role linter tasks by introducing a dependency on
openstack-ansible-plugins for all linting
While we may choose to adapt the linter tox env
in the future, for now we want to return to previous
linter behavior.
Change-Id: I4eea5b03321bb10ac5a367aa8c6c5ff460813682
2016年03月15日 15:37:39 +00:00
Jenkins
deaadfa096 Merge "[DOCS] Cleanup the role docs for consistency and clarity" 2016年03月11日 00:49:01 +00:00
Travis Truman
5bc9647ebb [DOCS] Cleanup the role docs for consistency and clarity
Utilizing RST includes to reduce duplication of documentation
effort. All contents of the Ansible defaults/main.yml are
now included in the documentation directly.
Change-Id: Ib5224208259bc50b80cff2613f487ecbe461719a
2016年03月09日 21:28:38 -05:00
Travis Truman
21f2409d6f Removing unneeded with_items usage for clarity
Change-Id: Ia277f45197f8faaf3ebc159e3321519bd0469687
2016年03月09日 11:01:00 -05:00
Travis Truman
f7f4e6a583 Removing unused default role variable
Change-Id: I52be3d82e11d3c74f5ec974e0dcc7a6bb4b628b8
2016年03月09日 10:58:19 -05:00
Jimmy McCrory
e4b7ae1787 Upgrade RabbitMQ Server to 3.6.1-1
Change the default install version of RabbitMQ Server to 3.6.1-1.
Additionally, the functional test playbook file has been split into
multiple, more focused, files. Tests to ensure that the expected version
of RabbitMQ Server is running and to upgrade from 3.5.7 to 3.6.1 have
been added.
Change-Id: I8907a3a71334be7b89ad743c3f2031e0a42a00f2
2016年03月07日 19:11:21 -08:00
Jesse Pretorius
9d9c523d02 Add curl to bindep requirements
Change-Id: Iec90783490208160caca075abdb9b02e0148411c
2016年03月04日 19:25:12 +00:00
Jesse Pretorius
bcccfa0361 Initial commit for bindep requirements
Change-Id: I16268bd66221ca1770da8474d6ec24e83106be88
2016年03月03日 15:17:11 +00:00
Bjoern Teipel
a90cd7e343 Adding ERLANG VM tuning parameters
This fix will add ERLANG VM tuning parameters with increased
default settings to support larger installations.
Following overrides have been added:
 rabbitmq_async_threads defaults to 128 (from 32)
 rabbitmq_process_limit defaults to 1048576 (from 256k)
Closes-Bug: #1549940
DocImpact
Change-Id: Ia0fab288db8aa287e667dfc843f02d7ec318a816
2016年02月26日 20:01:03 -06:00
Jean-Philippe Evrard
d33d9ec606 Only update apt cache if necessary
Workarounding the upstream ansible apt module bug
documented here:
https://github.com/ansible/ansible-modules-core/pull/1517
For the next versions of ansible we'll be using, we should
check if the apt bug is fixed. When it's fixed, we could
abandon this change and use the standard apt module
with correct cache handling.
Change-Id: I4b27e630757ca228ed3543bb1d30187d2ee4e73b
2016年02月15日 14:49:43 +01:00
Jenkins
f4c114c00b Merge "Update tox config and add bashate E006, E040 exceptions" 2016年02月12日 14:29:58 +00:00
Jesse Pretorius
801a780ff0 Update tox config and add bashate E006, E040 exceptions
This patch updates the tox.ini the same bashate exceptions as are
currently in the OpenStack-Ansible playbook repo.
It also ensures that the linters and all lint targets work
appropriately and normalises the tox.ini configuration to use
uniform formatting.
The use of ansible.cfg is removed as there is no way of being
certain which paths can be used without reverting to an ugly
sed hack in the commands. This is why it is preferred to make
use of environment variables which make use of tox's default
substitutions instead. It's a more reliable way of achieving
the goal for the purpose of gating and testing.
The switch to using a git clone instead of ansible-galaxy to
download the plugins is due to the path spec not being able to
work in Ansible 2.x. [1]
[1] https://github.com/ansible/ansible/issues/13563
Change-Id: I19d0a88574ca7bcb4d8709e14fbb5ffec5a8d021
2016年02月12日 11:57:39 +00:00
Jenkins
d28af8eef5 Merge "Update RabbitMQ to v3.6.0-1" 2016年02月05日 16:07:19 +00:00
Jesse Pretorius
c26f9d1276 Revise all lint tests and add consolidated 'linters' tox environment
OpenStack-Infra has requested that lint tests be pipelined into the 'linters'
tox target in order to make more efficient use of nodepool resources.
This patch:
- Ensures that a complete set of lints tests is available in individual
 tox targets.
- Adds a 'linters' target which executes all the other lints tests.
Change-Id: I98feb85a9a3a530f291c50bc46ec9c639327162a
2016年02月03日 13:22:50 +00:00
Jesse Pretorius
7162d0302e Update RabbitMQ to v3.6.0-1
Change-Id: I1529ef969605dab7ec6adfe23f02a1637d6a9ff0
2016年02月01日 09:11:36 +00:00
Kevin Carter
f7b1bfaf18 changed the rabbitmq command test
This changes the test for rabbitmq process checking to use
a command that would actually be useful.
Change-Id: I2b48df8dce4b77c0359ad8f28f544559c3e54f50
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016年01月05日 17:58:57 +00:00
Matt Thompson
c9773b9d9c Update SSL key / cert distribution
Currently, the key and cert files are not being distributed to
non-primary nodes. This commit does the following:
- references the primary node in rabbitmq_ssl_key_distribute.yml when
 referencing the key and cert facts
- uses a slurp in rabbitmq_ssl_key_distribute.yml so we can get exact
 copies for the key / cert files (previously the files would get
 created without trailing newlines)
- adds some basic tests to ensure these files are consistent across
 the cluster
- removes unnecessary with_items loops in
 rabbitmq_ssl_key_distribute.yml
Change-Id: I98bcd17dac9a47cc19e0d9ec90176945a6d7e355
Co-Authored-By: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2016年01月05日 16:01:01 +00:00
Jesse Pretorius
bc411c677a Ensure that SSL key/cert contents distribute correctly
Currently the contents of the key file are 'rabbitmq_ssl_key_fact'
instead of the actual key and the same goes for the cert.
This patch ensures that the contents of the file are the actual
contents of the fact, not just the fact name.
Change-Id: I3ce18697fa1d6e25678ec624f4e554ed1ff904d6
2016年01月05日 12:43:50 +00:00
Paul Belanger
822c6c5694 Switch to testenv:functional
This brings our tox.ini files inline with other OpenStack projects.
Change-Id: I6dd5066b6e6649b1e0ffca22c913fdc776fbc042
Depends-On: I376e51824c46f9b5eb4a4cff01aaa176632087dd
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015年12月18日 15:38:45 -05:00
Jesse Pretorius
41a71b150d Merge bashate/pep8 lint jobs in common job
Instead of launching two separate build jobs in our CI infrastructure,
one for bashate and one for pep8, launch a single one. While the jobs
are short, the setup of the images takes a long time, so this is
friendlier to our CI infrastructure.
Use the pep8 environment as common lint target and merge the bashate job
into it.
This patch also renamed dev-requirements to test-requirements to bring it
into line with all other OpenStack projects.
Change-Id: I19c4d9577ff86325fc87b9c03825f40defeeb273
2015年12月15日 09:57:15 +00:00
Kevin Carter
0779d1ecb9 updated repo pathing for new org
Change-Id: I68d7daf1fda3d8b5cd538f684e973366a3fd61c8
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015年12月10日 20:16:01 -06:00
Kevin Carter
ee03bfc5ba first commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015年12月09日 09:25:11 -06:00