22fb8e99e21535cdf533ffc74de63c38a5e62923
168 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Markos Chandras
|
22fb8e99e2 |
tests: test.yml: Allow RabbitMQ version overrides
Make the old and new versions for RabbitMQ configurable to allow distributions to test different upgrade paths. Change-Id: I32f9348405f3b6bedd0529bf027536af56d024d7 |
||
|
Markos Chandras
|
a5e5d7a614 |
Sync test files with the openstack-ansible-tests repository
In preparation for adding support for SUSE distributions, we sync the test files from the openstack-ansible-tests repository so the upcoming commits can be tested on all supported distributions. Change-Id: I60520541bfe0fd7a3cb25e8c5b275c16ea136c95 |
||
|
Markos Chandras
|
aec44599f8 |
rabbitmq_cluster_join: Retry if starting the RabbitMQ application fails
Sometimes starting the RabbitMQ application could fail with the following error: container2:~ # rabbitmqctl start_app Starting node rabbit@container2 ... BOOT FAILED =========== Error description: enoent Log files (may contain more information): /var/log/rabbitmq/rabbit@container2.log /var/log/rabbitmq/rabbit@container2-sasl.log Stack trace: [{erlang,open_port, [{spawn_executable,false}, [{args,["unix-sendto:/run/systemd/notify","STDIO"]}, use_stdio,out]], []}, {rabbit,sd_open_port,0,[{file,"src/rabbit.erl"},{line,345}]}, {rabbit,sd_notify_socat,1,[{file,"src/rabbit.erl"},{line,351}]}, {rabbit,maybe_sd_notify,0,[{file,"src/rabbit.erl"},{line,291}]}, {rabbit,broker_start,0,[{file,"src/rabbit.erl"},{line,283}]}, {rabbit,start_it,1,[{file,"src/rabbit.erl"},{line,403}]}] Error: enoent This seems to go away if we retry so it's probably a race condition somewhere. As such, try a few more times before giving up. Change-Id: I7b9a6f6cedd5e9a6494e4a2ca129601638cfafd5 |
||
|
Markos Chandras
|
f57dbb1929 |
tasks: rabbitmq_started: Signal rabbitmq-server init failures
It is important to know that rabbitmq-server was started properly otherwise subsequent rabbitmq commands will fail. As such, we drop the 'failed_when' statements and let the service module signal potential failures. Change-Id: Ib02a538f33fc6d7b21edbcbfe6c2a5bd06a21045 |
||
|
Markos Chandras
|
06a95841e2 |
tasks: rabbitmq_upgrade_check: Fix tag for rpm query
When querying using the 'rpm' tool, the tag needs to be rabbitmq-yum-packages instead of rabbitmq-apt-packages Change-Id: Ibcf72c8b0e1af04df941c0b9f38a1c799cb1850e |
||
|
Kevin Carter
|
83a95efda1 |
Install specific version of Erlang from ESL
The RabbitMQ community and project recommend erlang 19.3.x for the best, most stable, results. This change downloads the recommended version of erlang [ https://www.rabbitmq.com/which-erlang.html ] from ESL and moves the erlang packages for distros into a specific list installed only when the ``rabbitmq_install_method`` variable is not set to "file". Change-Id: Ief57b1fdcb791f0f8ed20c1cbb54ea19d4373f81 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com> |
||
|
OpenStack Proposal Bot
|
a1fec14374 |
Updated from global requirements
Change-Id: Ie460506d0c00a3231e4963db2e2008f1f6c682df |
||
|
OpenStack Proposal Bot
|
b9213cf9fa |
Updated from global requirements
Change-Id: I1fab1a09d2ddb8be752cb2113dfd5a45d0052cc1 |
||
|
Jimmy McCrory
|
c82d711fae |
Dynamically include install task file
Dynamically include the correct install task file based on the ansible_pkg_mgr variable. Change-Id: Id88687f7db96a49314ee4da0b259fbeaac0dda95 |
||
|
Jesse Pretorius
|
7f79ea2c69 |
Ensure that role tests pin pip/setuptools/wheel
Currently the role tests use whatever versions of pip, setuptools and wheel are already installed on the host. When a version of these tools changes it often causes problems for our testing. This will ensure that we use a known good set of pins which is maintained in the general SHA bumping process. Change-Id: I8a14c63d82956406f63b6ae810f3dd4eb2fb1cd2 |
||
|
OpenStack Proposal Bot
|
9cddb12067 |
Updated from global requirements
Change-Id: Ia5d52a773498c7ddbaabdb3426b0d859456c7ba2 |
||
|
OpenStack Proposal Bot
|
abaca36618 |
Updated from global requirements
Change-Id: I017698f2d8184c1274ed796fb03efe5c8896064b16.0.0.0b2 |
||
|
Jesse Pretorius
|
8f54d6b9a5 |
Use zuul-cloner for tests repo in OpenStack-CI
When executing the tests repo clone in OpenStack-CI, use zuul-cloner instead of git to enable cross-repo testing. This ensures that if a dependent patch from the tests repo is noted using 'Depends-On: <change-id>' in the commit message, that patch will be included. Depends-On: Idce7abebf32f24c356a27e099fbca954d917402b Depends-On: I5da7802d61d2ab6b03908138e3a3ed2db22e3d29 Change-Id: I469bef1a5aad2b1c31972ec8f8ac3d7c0cdf4cc7 |
||
|
Jesse Pretorius
|
7e6fb6845c |
Fix role gate tests for Ansible 2.3
Add 'become' and root 'user' options to the playbook instead of using 'ansible_become' through an inventory variable. Change-Id: Ic89c3786b51d6b3416e4d3903fde4d46dbe7ade2 |
||
|
Jimmy McCrory
|
4dd83ccf6d |
Use Ansible blocks
Add blocks around tasks that add repo keys, create or join the cluster, and set the Erlang cookie. Change-Id: Iebae6f829013537c3eb25a3caf65d42a5a9e56b7 |
||
|
Jimmy McCrory
|
3964388c50 |
Use checksum option when downloading RabbitMQ
The 'sha256sum' option for the get_url module has been deprecated and replaced with 'checksum'. The download is skipped if an existing file already has the expected checksum, making the task to remove an existing RabbitMQ package file unnecessary. Change-Id: Icd41e6a316f319bbdfae303592f0f8fde919a312 |
||
|
Jimmy McCrory
|
b64d6bd168 |
Update RabbitMQ to v3.6.9-1
Change-Id: I921084fd063e2e4a10d0818b508d01e439c357a316.0.0.0b1 |
||
|
Major Hayden
|
9b0ce64fe2 |
Remove EPEL installation on RabbitMQ
The RDO repository has all of the necessary packages for RabbitMQ and EPEL should not be used. Related-bug: 1670012 Change-Id: Ic964b3662218362b63708cdc54e49968fb346281 |
||
|
Logan V
|
93160e01dd |
Install python2-pyOpenSSL package on CentOS
Package pyOpenSSL is obsoleted by python2-pyOpenSSL. Change-Id: I7953a8eafb2d9595f7c3758cddeb3f513246bfc8 |
||
|
OpenStack Proposal Bot
|
f02d890466 |
Updated from global requirements
Change-Id: Ifaf2bf7f38853e57d9a1bddc20adf979f22d514c |
||
|
OpenStack Proposal Bot
|
b6f360a5dd |
Updated from global requirements
Change-Id: Ic257c9ec02ff9e7508ea60acb10a31833336197c |
||
|
OpenStack Proposal Bot
|
da549dee7d |
Updated from global requirements
Change-Id: Ib308ed698b7c09ef3277fe74957f1ed91aa1b9da |
||
|
Jesse Pretorius
|
4f36ee4cae |
Update RabbitMQ to v3.6.6-1
Change-Id: I4847382d614f582944e8711ab7b5b37740f9b3ce |
||
|
Cuong Nguyen
|
0f155e22c1 |
Install python2 for Ubuntu 16.04 and CentOS 7 in Vagrant
- Install python2 for Ubuntu 16.04 and CentOS 7 before executing test script. Change-Id: Ia7ee14f8464799e692c93e55be3f18fe4dda0fbc |
||
|
ji-xuepeng
|
bb6ab783c2 |
Use https instead of http for git.openstack.org
Trivialfix Change-Id: I96d954332991745dcbaf6d5f0ec4ef50c41aba72 |
||
| 0cf67be11e |
Update reno for stable/ocata
Change-Id: Idd9f0ace812af9c4a244b35c3d8cb2fe71e2bc52 |
|||
|
Jenkins
|
9c09b4a065 | Merge "Allow configuration of listening on non-ssl port" 15.0.0.0rc1 15.0.0.0b3 | ||
|
Andrey
|
84d75078cf |
Allow configuration of listening on non-ssl port
Deployers can override the `rabbitmq_disable_non_tls_listeners` variable, setting a value of `True` if they wish to enable this feature. Change-Id: I4fe39099dbe8973d2655845c19882c404d4f20b1 |
||
|
Jean-Philippe Evrard
|
4dd1ca8a29 |
Allow definition of repo filename
If a deployer wants to co-locate his rabbitmq mirror with another content in the same repo, (s)he probably also wants to define the same repo filename, to avoid clashes. This commit brings this feature optionally, and follows the same pattern as other roles. Change-Id: Id4d2198eebf05a8dc48949e4a129491c75037c79 |
||
|
Jenkins
|
08614933c0 | Merge "Bring consistency to tags" | ||
|
Jean-Philippe Evrard
|
bdf26ec72c |
Bring consistency to tags
Some tags were not applied on the highest level and forced duplication. We apply here our practices to have role_name-(config|install) [1]. [1]: http://docs.openstack.org/developer/openstack-ansible/developer-docs/contribute.html#ansible-style-guide Change-Id: I93c7b6854ea3a6b4e255c1405767c80abcbdee1d |
||
|
Jenkins
|
c9016f22a5 | Merge "Add repo installation method" | ||
|
Major Hayden
|
a14ab1b8d5 |
Update and clean up run_tests.sh
The run_tests.sh script fails when it is run multiple times on CentOS. The `bindep` run returns an empty list of packages and then `yum` exits with an error since no packages were provided to install. This patch checks the length of the `bindep` output and skips the `yum` installation when the package list is empty. The patch also cleans up some of the old cruft left over from previous scripts and avoids repetition. Change-Id: I34c8766bbfcf982310ae528663a3100908603801 Signed-off-by: Major Hayden <major@mhtx.net> |
||
|
Andy McCrae
|
3f050ab3da |
Update repository with reference to role git location
Change-Id: Ie3c4ac3a58d7b1157f56193a42ab4e5bddf599a3 |
||
|
Andy McCrae
|
2e82ac9652 |
Remove Trusty support for rabbitmq_server role
Change-Id: I8fd756108188b887d343c67ad48c7aed1680c421 Implements: blueprint trusty-removal |
||
|
Jean-Philippe Evrard
|
84ede176b9 |
Add repo installation method
In some cases, deployers may want to use a repo instead of a deb file (limited connectivity, repo mgmt tools already in place, ...) This commit introduces this behavior in an optional manner: The default behavior is still using a deb file. If using an external repository, the repo used will be RabbitMQ recommended one hosted on packagecloud.io. Change-Id: If366d7411cffd59e4988ceba6fc47eac2b384ddf |
||
|
Jenkins
|
2ba0a74678 | Merge "Delete deprecated Hacking in tox.ini" 15.0.0.0b2 | ||
|
gecong1973
|
d032d1a361 |
Delete deprecated Hacking in tox.ini
Some hacking have been removed,so we can delete them. More details: https://github.com/openstack-dev/hacking/blob/master/setup.cfg Change-Id: Id822074fbde57c6a02ee5eb9e5acc288b95a947b |
||
|
OpenStack Proposal Bot
|
9fb07e9543 |
Updated from global requirements
Change-Id: I497ce2c20233a603ee95fc25d52ca333cc89f3e6 |
||
|
Jean-Philippe Evrard
|
306a78b409 |
Point roles docs bugs to openstack-ansible LP
Currently when clicking on the small bug in the roles' docs, we land on openstack-manuals launchpad. This should solve it. Change-Id: I01efc2e73ad333984a65ef09875ecb86fecf2e29 |
||
|
Jenkins
|
88a77bc487 | Merge "Remove container_name reference" | ||
|
Flavio Percoco
|
efea4c7029 |
Show team and repo badges on README
This patch adds the team's and repository's badges to the README file. The motivation behind this is to communicate the project status and features at first glance. For more information about this effort, please read this email thread: http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html To see an example of how this would look like check: https://gist.github.com/486358b2f778587c82d6dae6176670b4 Change-Id: I37f9b883c56fd70c6cad2a1541e3ef818eb5719d |
||
|
Matt Thompson
|
ab268645d9 |
Remove container_name reference
This commit removes the container_name var reference from defaults/main.yml, and replaces it with ansible_hostname instead. This helps when installing this role on a non-OpenStack-Ansible deployment which does not have container_name set. Change-Id: I7da72c45b50bff5722e1e5c1900c8aa56759eb7f |
||
|
Logan V
|
e78b80c931 |
Use ansible_service_mgr fact
This patch removes some extra tasks for detecting systemd and uses the fact instead. Partial-Bug: #1640125 Change-Id: I2482758a5ec4440db1ea0f4e36b96803bff14fe215.0.0.0b1 |
||
|
Matt Thompson
|
f67defbc1d |
Enable CentOS functional upgrade test
This enables the CentOS functional upgrade test, which was originally disabled due to a bug in Ansible 2.1. Change-Id: I748889a1c74acf4f8d67fa9e5b250816d209611b |
||
|
Jean-Philippe Evrard
|
d2c05ca518 |
Remove ansible<2.2 apt cache hack
Now ansible apt module correctly behaves, so it's time to deprecate these cruft tasks for apt. Change-Id: Ic2257f101d4b93e86f5096a2596dc980e63691a5 |
||
|
Jenkins
|
9dd9fac77a | Merge "RabbitMQ Upgrade Testing" | ||
|
Jenkins
|
cf6f08b31b | Merge "Fix linting issues for ansible-lint 3.4.1" | ||
|
Logan V
|
19802e10e0 |
Fix linting issues for ansible-lint 3.4.1
Preparing this role for the ansible-lint version bump Change-Id: I45f923ffcb26efd85cdde73d096993e08132706a |
||
|
OpenStack Proposal Bot
|
d2320fa032 |
Updated from global requirements
Change-Id: I850105dd2460056399e55cb5e45222a450c13eb9 |