caba3093c9d26abca77e4b16ea3a0e26a2214a7d
Commit Graph

257 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
OpenStack Proposal Bot
caba3093c9 Updated from OpenStack Ansible Tests
Change-Id: I4a2696cd2727658fadbe56f172b54e70db57aa6b
2019年04月01日 13:19:32 +00:00
Guilherme Steinmüller
c9330452d0 Update role for new source build process
The variables trove_developer_mode and trove_venv_download
no longer carry any meaning. This review changes trove to
do the equivalent of what developer_mode was all the time,
meaning that it always builds the venv and never requires
the repo server, but it will use a repo server when available.
As part of this, we move the source build out of its own file
because it's now a single task to include the venv build role.
This is just to make it easier to follow the code.
Change-Id: I08c864eaef894074326d765bb424fa6b98ec0ed2
2019年03月27日 19:26:49 +00:00
OpenStack Proposal Bot
f733a26165 Updated from OpenStack Ansible Tests
Change-Id: Id1c0789e1d69bebcb37d0b0e68a230be82c9f669
2019年03月22日 22:06:27 +00:00
OpenStack Proposal Bot
a2245da5ef Updated from OpenStack Ansible Tests
Change-Id: I6cd1972e87ad0e51d3dc923e3dc5c87f9bf5db1e
2019年02月27日 06:06:56 +00:00
Kevin Carter
8a7b586848 Remove the private option from include_role
The private option on include role was never implemented and
will no longer be developed. This change removes the option
so ansible no longer raises a deprecation warning.
Change-Id: Ia682b9fdeef6d29546c5996bd7bf2978ae6f0ef3
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2019年02月22日 00:40:17 +00:00
Kevin Carter
b58811d7da Correct notification driver
The notification driver setup was resulting in the driver and connection string
on the same line. This is caused by the case statement and how jinja formats
the template when a case statement is present. This change modifies how the
driver string is created using a ternary, which will eliminate the case
statement and render the value of the diver correctly.
Change-Id: Iefcec440db0e61adf8c6ce3a8b8ae9a4125a802d
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2019年02月07日 22:39:33 +00:00
Zuul
fb2e845256 Merge "Force force-tlsv12 only" 2018年12月21日 10:19:20 +00:00
Zuul
a6e3816674 Merge "Update mailinglist from dev to discuss" 2018年12月18日 10:30:02 +00:00
Matthew Thode
9ca27aad2f Force force-tlsv12 only
Secure by default
Change-Id: I71d4ba27c1cd3509fd99dbad0e7e7ff206f723f7
2018年12月17日 09:53:43 -06:00
Kourosh Vivan
24151682bd Add segmentation option
Needed if trove service network is vlan or vxlan or gre
If flat, this option is omit
Change-Id: Ic28a6802ad00178cbabb7303c22e16fcf3a4f83a
2018年12月07日 16:54:11 +01:00
ZhongShengping
5d9b2094f6 Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss
Change-Id: I2f2bd51c4f3fe1efe9e5bdc15ba48c21d3507e9a
2018年12月05日 09:14:52 +08:00
Zuul
97f129f057 Merge "Add bugs url link to README" 2018年11月30日 21:02:23 +00:00
Jesse Pretorius
6f76d95d01 Enable overriding the service setup host python interpreter
In order to enable the service setup host python interpreter to
be changed easily, we make it a variable. This will be useful
when someone sets the service setup host to be the utility
container, because we'll be able to set this var by default.
Change-Id: I2a4b1b82307b3dd195bff8f9a8fb219ad581c2ad
2018年11月30日 16:56:00 +00:00
Zuul
1eb07d4672 Merge "Update messaging notification configuration" 2018年11月10日 10:19:56 +00:00
Jimmy McCrory
4947ec4c4a 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: Ie39f2ef9c2f481479e6b73e88b6a7f27d8df8aea
2018年10月20日 15:28:29 -07:00
Francois Deppierraz
c4da979ae3 releasenotes: oslo-messaging-separate-backends add project name
Without this patch, the release notes published at
https://docs.openstack.org/releasenotes/openstack-ansible/rocky.html contains
the same line multiple times which is not very clear.
[...]
 Support separate oslo.messaging services for RPC and Notifications
 to enable operation of separate and different messaging backend servers.
 Support separate oslo.messaging services for RPC and Notifications
 to enable operation of separate and different messaging backend servers.
[...]
Change-Id: I0ed1a43670d97f2e2215d04c641f7bd4cfbe4f44
2018年10月15日 16:54:18 +02:00
OpenStack Proposal Bot
978ec95072 Updated from OpenStack Ansible Tests
Change-Id: Ia5a508fda4ba879c18fc7e6d648cbc6c76cbb885
2018年10月02日 14:55:21 +00:00
Zuul
626d5cdcd3 Merge "fix tox python3 overrides" 2018年09月29日 16:58:04 +00:00
OpenStack Proposal Bot
bd84035617 Updated from OpenStack Ansible Tests
Change-Id: I36a99e54b8eecad13366ae6e76a9c5dc42264fc1
2018年09月29日 04:56:20 +00:00
OpenStack Proposal Bot
fe5ec09aa7 Updated from OpenStack Ansible Tests
Change-Id: I26e7a2e27f526776f8b4c4d567cf792ee310161c
2018年09月28日 06:22:12 +00:00
ShangXiao
b02f378999 Add bugs url link to README
Change-Id: I8ef587f964c555aa8ce870ce0f26ac20b335e34e
2018年09月27日 03:11:41 +00:00
ZhijunWei
3bbc52b399 Update messaging notification configuration
This patch add the conditional inclusion of the notification
section of the service configuration. This ensures that oslo.messaging
notifications use the correct transport for deployments that have
separate rpc and notify messaging backends. For example, if the
transport_url is not provided in the notification section of the
service configuration, the transport_url specified in the default
section will be used instead.
This patch conditionally selects the notifier driver. The noop
driver will be selected when notification publishing is disabled.
The messagingv2 driver is selected when notification publishing is
enabled.
Change-Id: Ie967b281e15127bbf611aca557e99ac6b3d1cd4b
Closes-Bug: #1794320 
2018年09月27日 02:16:53 +00:00
Doug Hellmann
0a3dd49fff 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: I1e3aebc5542bea5cab66aaa2f295099b88928eb1
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018年09月26日 18:44:34 -04:00
Jesse Pretorius
75a7c04f39 Remove galera_client meta-dependency
Given that pymysql is pure python and has no C binding
dependencies, we no longer need the role to install the
MariaDB client libraries.
Change-Id: I78d209a4c35379ede7f98019edc1250903a87895
2018年09月15日 20:49:31 -06:00
Jesse Pretorius
b7e7f7292c Rename SUSE vars file and remove mysql-python
The SUSE builds are failing due to a change in the galera_client
role causing the trove role's vars file to be found before the
galera_client vars file. We therefore rename the trove vars file
for SUSE. This also makes transitions between versions easier.
The mysql-python package is no longer maintained. We are using
pymysql instead, so this package does not need to be installed.
This resolves current build failures due to the mysql-python
package not being installable due to the new version of MariaDB
being used.
Depends-On: https://review.openstack.org/602924
Change-Id: Iaee84e8cec7c19d306924adf3743e03da6fa6b4f
2018年09月15日 20:49:31 -06:00
Zuul
74694655e0 Merge "Trivial: Fix the pep8 warning" 2018年09月13日 10:32:46 +00:00
jacky06
1689561d36 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: I718a3364c8398545e46df0da39de4f94330c2da7
Closes-Bug: #1792131 
2018年09月12日 13:04:07 +00:00
Jesse Pretorius
f0c0607bc5 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 'ssl' job, given that the person working on
 that is no longer doing so, and no-one else has picked up
 the work.
Change-Id: I2c7c0e1e682e24f15270d4c81b62dc927a766a3f
2018年09月09日 11:43:03 +01:00
Zuul
ee7531a932 Merge "use include_tasks instead of include" 2018年09月08日 16:11:42 +00:00
caoyuan
d21b6809e9 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: I2351c93c2ce5beb44404dc05b487f40e14973810
2018年09月08日 14:04:14 +00:00
wangqi
b166766bd6 Trivial: Fix the pep8 warning
The yaml should start with "---"
Change-Id: I30a278eb546bc5da2ba005c431d703f17d1e71ba
2018年09月04日 02:38:53 +00:00
Jesse Pretorius
92614127c7 Use a common python build/install role
In order to radically simplify how we prepare the service
venvs, we use a common role to do the wheel builds and the
venv preparation. This makes the process far simpler to
understand, because the role does its own building and
installing. It also reduces the code maintenance burden,
because instead of duplicating the build processes in the
repo_build role and the service role - we only have it all
done in a single place.
We also change the role venv tag var to use the integrated
build's common venv tag so that we can remove the role's
venv tag in group_vars in the integrated build. This reduces
memory consumption and also reduces the duplication.
This is by no means the final stop in the simplification
process, but it is a step forward. The will be work to follow
which:
1. Replaces 'developer mode' with an equivalent mechanism
 that uses the common role and is simpler to understand.
 We will also simplify the provisioning of pip install
 arguments when doing this.
Depends-On: https://review.openstack.org/598957
Change-Id: Iaff49b75b03635fb07260c9a96f6459d270aed83
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018年09月03日 17:57:33 +01:00
Zuul
aff1321793 Merge "switch documentation job to new PTI" 2018年08月28日 12:12:59 +00:00
Zuul
e8da8b01a9 Merge "Fix doc8 failure" 2018年08月28日 12:12:58 +00:00
huang.zhiping
b66538cfe5 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: I87dbe72efad93f7358add21386c2229008f0e2dc
Story: #2002586
Task: #24319 
2018年08月28日 07:44:01 +00:00
Andreas Jaeger
abd4d64731 Fix doc8 failure
doc8 is now run as part of the new docs build job, fix failure.
Merge duplicated section.
Remove html_static_path, this is non-existant.
Fix docs environment to enable warnings.
Change-Id: I47b0af6257c0bc96fd23a5bd8620a6e137c77f17
2018年08月28日 09:43:40 +02:00
melissaml
7bb7afac8c 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: I0755516a64149f75165ca33fbd6db0a2222027d6
2018年08月28日 07:18:35 +02:00
Zuul
2b413bc815 Merge "import zuul job settings from project-config" 2018年08月23日 03:19:07 +00:00
Zuul
8e2e8ddcc5 Merge "Use the TESTING_BRANCH env var for constraints" 2018年08月22日 08:40:09 +00:00
huang.zhiping
53ced9084b 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: I63e0d9240c35b1075e27aa820c9eaf22792531f4
Story: #2002586
Task: #24319 
2018年08月21日 13:18:50 +00:00
OpenStack Proposal Bot
403372c93c Updated from OpenStack Ansible Tests
Change-Id: Id584ab056bf23db6459aa4c6f6b12f7e853c6c8a
2018年08月20日 10:50:42 +00:00
OpenStack Proposal Bot
96f65cb3d7 Updated from OpenStack Ansible Tests
Change-Id: I373aec0522117508a94792145c43d450f41880d7
2018年08月17日 13:44:27 +00:00
Jesse Pretorius
e4cbb21833 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: Iae1951ba7a7d30fc8913ac0b654a789288a98b58
Needed-By: https://review.openstack.org/579371 
2018年08月17日 13:44:20 +00:00
Jesse Pretorius
494f10404a Update trove tempest plugin path
The trove tempest plugins were re-organised in
https://review.openstack.org/587489 so we now
need to use the new structure.
Change-Id: I903c46be39636e3922d077f9007ac8f847d02684
2018年08月17日 13:04:52 +00:00
b832b8a7c6 Update reno for stable/rocky
Change-Id: I2a04fd6851d0e87fe94ef5c64fc601b411097905
2018年08月10日 16:48:43 +00:00
Zuul
f3c39b9e33 Merge "Setup oslo.messaging extra packages for optional drivers" 2018年08月09日 06:14:48 +00:00
Jesse Pretorius
5333f1a759 Allow tags to be used for MQ tasks
The use of 'include_tasks' and a loop of variables creates
a situation where a user is unable to use tags to scope the
inclusion of only the MQ tasks when running the playbooks.
The use-case this is important for is when the rabbitmq
containers are destroyed and rebuilt in order to resolve
an issue with them, and the user wishes to quickly recreate
all the vhosts/users.
Ansible's 'include_tasks' is a dynamic inclusion, and dynamic
inclusions are not included when using tags. The nice thing
about dynamic inclusions is that they completely skip all
tasks when the condition does not apply, cutting down deploy
time. However, given the use-case, we should rather take on
the extra deployment time.
This patch changes the dynamic inclusion to a static one,
adds a 'common-mq' tag to cover all MQ implementations,
and re-implements the 'common-rabbitmq' tag for the tasks
that relate to RabbitMQ specifically.
It also implements conditionals for each task set so that
the rpc/notify tasks can be skipped if a vhost/user is not
required for that purpose (eg: swift does not use RPC, and
most roles will not use notifications by default).
Depends-On: https://review.openstack.org/588191
Change-Id: I320ae83839869ee89fa5db3bf5c55d245f3b17db
2018年08月07日 15:06:11 +01:00
Zuul
dc438b72b2 Merge "Switch to using project-templates" 2018年08月04日 22:12:48 +00:00
Jonathan Rosser
25f6b4173e Add bionic to galaxy_info metadata
Change-Id: I9c5eef75f60414a98dd395b117a95751b31cb225
2018年08月02日 15:06:53 +01:00
Zuul
ebd32f76dc Merge "Use generic vars file for ubuntu" 2018年07月31日 16:09:25 +00:00