442 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Dmitriy Rabotyagov
4e93d82133 service_setup: refactor service setup to a single file
This patch refactors the openstack user/service/endpoints creation to
service_setup.yml which will eventually be managed by
openstack-ansible-tests.
Change-Id: If4896f1711ac655c33b6d4132ffd74085cb0f3b1
2019年08月08日 14:09:55 +03:00
OpenStack Proposal Bot
d8822dcc8c Updated from OpenStack Ansible Tests
Change-Id: Idc16ea8d6e8bd415db4aef180f958ca86492b83e
2019年07月30日 19:44:40 +00:00
OpenStack Proposal Bot
fd2dbfa87c Updated from OpenStack Ansible Tests
Change-Id: I2cbbbda11ed2d141ef3bc86e552040c766fe55bd
2019年07月20日 09:38:52 +00:00
Zuul
131d3a8cda Merge "Add integrated coverage" 2019年07月19日 17:00:37 +00:00
OpenStack Proposal Bot
3e1c40c001 Updated from OpenStack Ansible Tests
Change-Id: I5cc46f1af397b6cbf5a7c42a7e842b2720d61e70
2019年07月18日 22:20:17 +00:00
Zuul
4a3afe0043 Merge "Convert dynamic includes to static imports" 2019年07月18日 21:18:08 +00:00
Dmitriy Rabotyagov
72f165602c Convert dynamic includes to static imports
When task/role files are included using include_tasks, tags are not
passed to the included tasks. As a result, tags like trove-config
do not have the intended effect. This patch changes include_tasks
to import_tasks for all cases where dynamic vars or loops are not used
so that tags are properly handled.
Reference -
https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse.html
https://bugs.launchpad.net/openstack-ansible/+bug/1815043
Change-Id: I754049a0e37daadddf1fa52a3b651284ee02b27e
2019年07月17日 20:03:22 +03:00
Dmitriy Rabotyagov
ed8d692fa9 Use systemd-journald instead of log files
This patch aims to migrate service from usage of regular syslog files
to journald. We also disable uwsgi logging, since it dublicates
requests that are logged by service itself.
Change-Id: Ib16362a8becb6666f36e5abdb93c548de2a269da
2019年07月17日 19:52:24 +03:00
Zuul
546efd4b4d Merge "Updated from OpenStack Ansible Tests" 2019年07月16日 18:14:56 +00:00
Zuul
09f3e49820 Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019年07月16日 17:21:46 +00:00
OpenStack Proposal Bot
4261ed8ce0 Updated from OpenStack Ansible Tests
Change-Id: I6fabafcbca658070c697941b1d1d2961e86a225b
2019年07月16日 14:53:17 +00:00
Jean-Philippe Evrard
568c0494cf Add integrated coverage
Currently this role doesn't test the integrated jobs.
With the dynamic execution of the roles, this role
also get tested by the integrated repo.
Change-Id: If5db29b5def5065acf3480ea9cad3ed0b03c53b8
2019年07月13日 07:36:24 +00:00
Zuul
e9b5b968c1 Merge "Cap sphinx for py2 to match global requirements" 2019年07月10日 18:54:32 +00:00
melissaml
ae58923306 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Ia0d12242accf240149ec1ec1d1be2b685b77b331
2019年07月10日 21:19:58 +08:00
Zuul
b3ea1035ff Merge "db_setup: refactor database setup to a common file" 2019年06月27日 14:05:07 +00:00
OpenStack Proposal Bot
10399145d3 Updated from OpenStack Ansible Tests
Change-Id: Ie0a83f428d75c4c5f8c6e14df9084c21da53275e
2019年06月27日 10:23:33 +00:00
Guilherme Steinmüller
e4a8d5540d db_setup: refactor database setup to a common file
This patch refactors the database creation to db_setup.yml which
will eventually be managed by openstack-ansible-tests.
This also re-orders the mq_setup to be done earlier so these system
level dependencies are ready before service activation.
Depends-On: https://review.opendev.org/667287
Change-Id: I7c0bd52aab6c704548d969bb6dc8a5dea3eed8c0
2019年06月25日 20:15:12 +00:00
Jonathan Rosser
951924ab51 Use keystone catalog and fix looking up and storing admin tenant id
Trove is now able to properly use the service catalog [1].
We have another[2] patch that this patch depends-on, which
causes us to have a circular dependency. As the change is minimal,
should be ok to squash them together to be able to fix that role.
The paragraph bellow contains the commit message of the patch that is
being squashed.
The 'Get admin tenant id' task was passing invalid arguments to the
os_project_facts module, and the 'Store admin tenant id' task was not
using the correct variable to retrieve the project id.
[1] https://review.opendev.org/#/c/574254/
[2] https://review.opendev.org/#/c/665458/
Change-Id: I779ba715d20d83b1efe4f07226a5eadd7e0a1870
2019年06月25日 19:00:52 +00:00
zhangboye
ba80aab99a Cap sphinx for py2 to match global requirements
Change-Id: I35d0fbb9907ca038dd7fdac6b24c1643c9ec8f73
2019年06月07日 10:07:50 +08:00
Kanishk Godha
2563c39ab0 Replace Module
Modified the file to use the os_project module instead
of the keystone module.
w
Change-Id: Ib12f291002914cc2fcd9df34fad54ef23176ee70
2019年05月07日 05:09:16 +05:30
Zuul
bc9c52c8ab Merge "fix tox python3 overrides" 2019年04月24日 18:58:49 +00:00
OpenStack Proposal Bot
e8c5f92f93 Updated from OpenStack Ansible Tests
Change-Id: I32f5aa553b172219d570adede4e6bbed28ff69ad
2019年04月22日 07:16:28 +00:00
OpenDev Sysadmins
9856830f20 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019年04月19日 19:43:02 +00:00
OpenStack Proposal Bot
3f7c0c1313 Updated from OpenStack Ansible Tests
Change-Id: Icd40bcdf33e260a6219407f0d21ef3d84498cc63
2019年04月17日 19:12:23 +00:00
OpenStack Proposal Bot
a2bfa3da8d Updated from OpenStack Ansible Tests
Change-Id: Id5875a54ad7b1119bd80f9f10c45bf43c2da3719
2019年04月17日 07:26:06 +00:00
Zuul
bf3c1e2f82 Merge "debian: add support" 2019年04月14日 01:03:36 +00:00
Zuul
aa4df37921 Merge "Updated from OpenStack Ansible Tests" 2019年04月14日 00:53:41 +00:00
Guilherme Steinmüller
bbbfd6e7c3 debian: add support
This patch adds the Debian jobs for this role to make sure
it's always passing as well as updates the meta to reflect
it's support of Debian accordingly.
Depends-On: https://review.openstack.org/652206
Change-Id: I308aab7fbd93686c36043f8a29d1f4ef9e8acfe2
2019年04月13日 22:12:08 +00:00
Jonathan Rosser
0b0cd41801 Delegate service network creation to service setup host
Change-Id: Id81ab36c3b812b734d47846b4a6f049542a593ab
2019年04月13日 20:48:53 +00:00
OpenStack Proposal Bot
d97f43f34f Updated from OpenStack Ansible Tests
Change-Id: I72889e7afcf3aaf0aea7a0e232e567afbf6dfe5e
2019年04月13日 20:23:57 +00:00
5aa49408b3 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.
Change-Id: Iebdb446999bd6a5bca9cf0f1c0876e8fe64dda1f
Sem-Ver: feature
2019年04月08日 09:22:01 +00:00
Zuul
68c5162597 Merge "Test using integrated build" 2019年04月04日 17:12:29 +00:00
Mohammed Naser
924220a06a docs: drop sphinxmark
sphinxmark is no longer compatible with the latest release of Sphinx
which is causing all of our documentation jobs to fail. This patch
removes it as our current usage of openstacktheme for documentation
already provides watermarks for current branch and notices for which
branch the documentation covers.
Change-Id: I917d0e5f42c2d54718bcb63216774b3b5b9c5c48
2019年04月04日 04:54:02 +00:00
Mohammed Naser
cce89975cd Test using integrated build
In order to do a more complete verification of any patches,
we add a full uncontainerised OpenStack deployment to do the
functional testing using the integrated repo. This replaces
the previous functional test mechanism.
Any additional role tests are left as-is. They will require
some extra implementation in the integrated build before they
can be transferred.
There are some developer mode references that are causing the
role to not run properly due to an undefined variable.
Depends-On: https://review.openstack.org/649397
Depends-On: https://review.openstack.org/649442
Change-Id: Ib021b074d4675ca5a3164cfd5f0196d347740639
2019年04月02日 19:56:14 +00:00
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
huang.zhiping
e0314d1339 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: Ibddd61b7a9e9b78905d548b5ab00e64277449114
Closes-Bug: #1801657 
2019年01月12日 03:17: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