fcadcde1131111776beb3522d67394a50f2e6296
Commit Graph

335 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Jimmy McCrory
fcadcde113 Remove deprecated 'rabbitmq_apt_packages' variable
'rabbitmq_apt_packages' has been deprecated since Newton and can be
removed.
Change-Id: I20cfae2dfe2aa3c63fd9e10ccbc217b68b31fcbe
2018年11月09日 10:33:08 -08:00
Jimmy McCrory
971fff32b1 Update and level set ubuntu installs
The rabbitmq package installed on both xenial and bionic is actually
the same, allowing the vars files to be consolidated. The package has
also been updated to the latest stable release, 3.7.8.
The repo used for distro based installs has also been changed to
packagecloud.io. New packages have not been published to rabbitmq.com
for a while, the latest release there was 3.6.15.
Change-Id: Id49a8788593c5d64fc9c149c8912565bc3b05a3f
2018年11月08日 16:00:09 -08:00
Zuul
4cd6530f8c Merge "Ensure that RedHat/SUSE only use a distro install" 2018年11月07日 20:51:22 +00:00
Mohammed Naser
cfc8423bfd Ensure that RedHat/SUSE only use a distro install
Previously the 'distro' install method was implemented as the
default for CentOS and SUSE, however, some remnants were left
behind, making the configuration confusing and causing some
issues due to the gpg verification on RedHat trying to use the
RabbitMQ gpg check.
Rather than try and keep the many confusing installation methods
for these distributions, we simply remove the other options and
all the config entries related to it.
As part of this, we need to clean up the functional tests which
previously implemented checks based on the 'file' install type
which is no longer used by any distribution.
Change-Id: I28199ce149f6893d688d11177ec950b17dbf0886
2018年11月07日 18:58:06 +00:00
Zuul
72cc5dc649 Merge "Start rabbitmq service when config is in place" 2018年10月30日 15:45:37 +00:00
Jesse Pretorius
eb5f19cdd1 Clean up a-r-r role for upgrade test removal
In I473b4162e141e05692e89f0420ea74c745dfc9e5 we forgot
to remove the ansible-role-requirements.yml entry for
previous_rabbitmq_server, so we do it here.
Change-Id: I1e844b0bfa41296075221992472d9369242e22ee
2018年10月25日 14:47:59 +01:00
Manuel Buil
89b475890a Start rabbitmq service when config is in place
rabbitmq is started three times:
1st time in rabbitmq_install with default config
2nd time in rabbitmq_set_cookie with default config
3rd time in rabbitmq_post_install with OSA config
however, there is no need for that and we can remove the 1st one and
the 2nd as it uses a default config which might break deployments
(e.g. if number of threads is limited through cgroups)
Change-Id: Iaef3b91d2a555bf0681f4a7d018d6d93e93889b4
Signed-off-by: Manuel Buil <mbuil@suse.com>
2018年10月24日 18:41:25 +02:00
Jimmy McCrory
628125a940 Set container_name as host_var in test inventory
The connection plugin no longer falls back on using the
inventory_hostname as the container_name. Set container_name as a host
var for each container in the test inventory.
Change-Id: I29025dea82ff8a0bcd03cbcf39ae7b34470f0a89
2018年10月20日 15:28:29 -07:00
OpenStack Proposal Bot
c944629653 Updated from OpenStack Ansible Tests
Change-Id: I8fd4c24fafcc0750fd5663e784ca4ca8fe8d9fa1
2018年10月02日 14:56:01 +00:00
Zuul
95b298dcd1 Merge "fix tox python3 overrides" 2018年09月29日 16:35:40 +00:00
OpenStack Proposal Bot
2dcd36b7a7 Updated from OpenStack Ansible Tests
Change-Id: If4272e181c5f579c4e570ce3e4447220b3d2f9bf
2018年09月29日 04:56:53 +00:00
OpenStack Proposal Bot
e45e7c4a13 Updated from OpenStack Ansible Tests
Change-Id: I1dbb91f2aa69919609028c89b1cae8d454b11749
2018年09月28日 06:22:56 +00:00
Zuul
95266b7ca4 Merge "add the project source code repository" 2018年09月27日 03:27:30 +00:00
Zuul
558653a2e9 Merge "Add the project source code repository in README" 2018年09月27日 03:27:29 +00:00
Doug Hellmann
6c152aea1d fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I22102abc36569501e256facb6ade9fdb28c3d47b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018年09月26日 18:44:54 -04:00
Markos Chandras
75ba65c100 rabbitmq_upgrade_check: Do not complain for upgrades on distro packages
Distributions normally provide one version of rabbitmq. Comparing this
version against the one provided by packagecloud makes little sense
unless the user explicitly requested to install the package from an
external source. As such, we should not complain when distribution
packages are used.
Change-Id: If56873908776ce7a6908f6c4d4aef096d084859f
2018年09月26日 14:13:02 +01:00
Markos Chandras
ff6f7c8e01 RedHat: Use the distribution package
The RDO repository provids a rabbitmq-server which is tested by the
RDO team so we should use that instead of the external one. We also
skip several tasks which add gpg keys and external repositories
since none of these steps is necessary when we install packages
from the distro repos.
Change-Id: I7c0a988f3aab14042ac2491b1021e789ba9ef4b3
2018年09月21日 09:22:54 +01:00
Zuul
7a7033e12b Merge "SUSE: Replace hardcoded version with Ansible fact" 2018年09月16日 15:50:57 +00:00
Zuul
6c349e5125 Merge "Clean up role tests" 2018年09月13日 21:15:39 +00:00
Markos Chandras
5248b0280d SUSE: Replace hardcoded version with Ansible fact
Upstream provides packages for 42.2 and 42.3 and they may also provide
packages for 15.0 in the future so we should be using the host version
obtained from the Ansible fact in order to get the correct package
for the distribution.
This also updates the role metadata information for openSUSE.
Change-Id: Id6f9d056f4603bacc5e5009354127e562ea363da
2018年09月13日 14:42:40 +01:00
jacky06
efe27a2d01 Replace Chinese punctuation with English punctuation
Curly quotes(Chinese punctuation) usually input from Chinese input
method. When read from english context, it makes some confusion.
Change-Id: I4ebc4754064fd5f617a419eb75bee123872249a7
Closes-Bug: #1792131 
2018年09月12日 13:04:26 +00:00
Jesse Pretorius
3789cee86b Clean up role tests
Now that we're using the general templates, we can slim down
the role test definitions. We can also remove tests which are
not being watched, or which are fundamentally broken. With
this we can also remove unused scripts/plays.
We do the following:
1. We remove the 'upgrade' job, given that it's been broken
 all cycle due to the way the job executes and we need to
 regroup to figure out another way to do it.
Change-Id: I473b4162e141e05692e89f0420ea74c745dfc9e5
2018年09月09日 11:54:19 +01:00
Zuul
a1b14e7a1b Merge "use include_tasks instead of include" 2018年09月08日 20:53:19 +00:00
ZhijunWei
2f5b325565 use include_tasks instead of include
include is marked as deprecated since ansible 2.4[0]
Switch to include_tasks or import_playbook as necessary
[0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated
Change-Id: I0fcc921ab5382d5f5a303be0bb989f135fa5cf9b
2018年09月08日 14:27:22 +00:00
lvxianguo
db591149ce add the project source code repository
Change-Id: I4fd442fe422e937f7414def763f24468ad56f2df
2018年09月07日 09:36:22 +08:00
Zuul
7b4e03891e Merge "Cleanup generation of rabbitmq server data" 2018年08月31日 11:06:03 +00:00
Zuul
a58212e45a Merge "fix tox python3 overrides" 2018年08月23日 03:40:32 +00:00
huang.zhiping
95ed2c8643 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I74d40f4a620a302365e164e6780340baf68e9e33
Story: #2002586
Task: #24319 
2018年08月21日 13:22:08 +00:00
huang.zhiping
2b7874d4a9 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: I70400ff17043061d77f78222b8fb814768a60a06
Story: #2002586
Task: #24319 
2018年08月21日 13:20:13 +00:00
Jesse Pretorius
7075184469 Use the TESTING_BRANCH env var for constraints
The TESTING_BRANCH environment variable is provided by the
run_tests.sh script and is derived from the .gitreview file.
This ensures that once the master branch becomes a stable
branch, the constraints from the stable branch in the
integrated repository will automatically get used once the
.gitreview file is updated.
To ensure that the required environment variables are present
we export them appropriately in run_tests.sh and modify the
tox configuration to pass them into the tox test.
Change-Id: Iff747fcfc56de833fa2fd43f807543896ced9527
Needed-By: https://review.openstack.org/579371 
2018年08月16日 18:29:44 +01:00
abe0586507 Update reno for stable/rocky
Change-Id: Ib0a55b2907baf5fd8f37c02b3538edb02729ab1d
2018年08月10日 16:49:20 +00:00
Jesse Pretorius (odyssey4me)
4cd8b7ae59 Revert "Use generic vars file for ubuntu"
This reverts commit efd37c5359.
As it turns out, my diff skills suck. These files were not the same.
Change-Id: Ia92babb6bf80db5e1a06bbf553317d62342481eb
2018年08月02日 12:31:04 +00:00
Jesse Pretorius
efd37c5359 Use generic vars file for ubuntu
These vars work for both Xenial and Bionic
Change-Id: I8eb073699bbfd441de6703480db7fe7b478f5615
2018年08月01日 11:41:00 +01:00
root
d31a5865ef Add the project source code repository in README
Change-Id: Ia953788e26527c0eb2f256cca405120f69a90918
2018年07月28日 14:29:29 +00:00
Jonathan Rosser
a73a3dc7fd Bump rabbitmq version to 3.7.7 for bionic
The erlang package for bionic is 1:21.0-1 which requires rabbitmq
3.7.7.
Change-Id: Ia5f1bff278ca252a6d3228bcf94723ed2e109c68
2018年07月27日 14:53:00 +01:00
Jean-Philippe Evrard
fd498ad456 Fix usage of "|" for tests
With the more recent versions of ansible, we should now use
"is" instead of the "|" sign for the tests.
This should fix it.
Change-Id: I70c853d9aba11eb91ab25f7a29417d0ec50fdf3d
2018年07月18日 02:46:46 +00:00
Jean-Philippe Evrard
f3978e22c2 Cleanup generation of rabbitmq server data
In the past, ansible_hostname could contain a FQDN or a hostname.
This is not the case anymore as fqdns are now stored in facts as
ansible_fqdn while short hostnames are stored in ansible_hostname.
This also simplifies the reading by using json_query.
Change-Id: I0755684846e42b4a17c4e46d70940535daaf73e7
2018年07月12日 13:20:30 +02:00
jacky06
2239fb14f6 Update the project home to https
Change-Id: Iaa6f8274ddb29d70bf3b73535edb2942f91aca55
2018年07月05日 21:17:11 -04:00
Nguyen Hung Phuong
4d8c2572b6 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I95c87fb0f374feebb9137548359e5da87fc27dc2
2018年07月05日 11:43:23 +07:00
Heba Naser
d291b0aa17 Use tests repo for common role test requirements
Using tox for requirements management requires in-repo
requirements files for all our repositories. Rather than
do that, we make use of the tests repo to capture our
common requirements and use this to install them.
This reduces our review requirement rate and simplifies
maintenance for us for the tox config. It also makes it
usable with 'Depends-On', which is marvellous!
The tox requirements definitions for docs/releasenotes
builds are left in-place as those are standard entries
across the community. If that changes at some point, we
can re-assess those entries too.
Depends-On: https://review.openstack.org/579208
Change-Id: I062311624046af061100f7ae8cccf10984b27c68
2018年07月02日 12:02:52 -04:00
Jimmy McCrory
2f6e503664 Restart after plugins or policies have changed
To avoid every run of the role causing a restart of rabbitmq services,
move the restart task until after the tasks for configuring plugins and
policies so that 'rabbitmq_plugin' and 'rabbitmq_policy' are registered.
Change-Id: If7aeeab81a2b8dc722d460b1dba8e65f63285b10
2018年06月29日 15:33:29 -07:00
Zuul
db4834d9c7 Merge "Switch to using project-templates" 2018年06月29日 08:26:48 +00:00
Heba Naser
2e5eee8dfd Switch to using project-templates
In order to have more centralized configuration, switch the role
to use the project-template instead.
Change-Id: Ie914dde902006272c338575e27b0af2b1047b502
2018年06月22日 15:54:26 -04:00
wangqi
75d7565d6f add release note link in readme
Change-Id: Ic3793aafd17a6ee57f9df3900bd381331cc86e5b
2018年06月19日 06:43:14 +00:00
zhulingjie
805ad6be89 Add description into README like others
Change-Id: Ie083fcaa8471165721f22913cf9a034600188a4d
2018年06月12日 11:28:17 -04:00
Zuul
eda89711aa Merge "Update rabbitmq to the latest stable release" 2018年06月11日 11:24:13 +00:00
Zuul
4510e78d04 Merge "Revert "Revert "Configure plugins and policies after RabbitMQ""" 2018年06月09日 17:59:30 +00:00
Kevin Carter
74b427500b Update rabbitmq to the latest stable release
This change updates our version of RabbitMQ server and Erlang to the
latest stable releases. This change adds the distro file for ubuntu
18.04 and 16.04 which replaces the distro family file "debian". This is
being done because the archives for the two distros are different. While
the SHA256 sum for the packges is the same today, it stands to reason
that they will differ in the near future.
Change-Id: I9784aa10becbb9dbcfc9222c80a7224201d67741
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018年06月07日 22:53:00 -05:00
Zuul
ea96b87de5 Merge "Update the version of erlang to support rabbitmq" 2018年06月06日 12:28:11 +00:00
OpenStack Proposal Bot
37392e2127 Updated from OpenStack Ansible Tests
Change-Id: Ib9468470dec2579e0273d0c5eeb4e2224b06aecb
2018年06月06日 00:45:16 +00:00