Commit Graph

80 Commits

Author SHA1 Message Date
OpenStack Proposal Bot 62f909d081 Updated from OpenStack Ansible Tests
Change-Id: I497c242744fa9aab2ac5decb2262d59fb9b2ae61
2019-06-07 23:23:44 +00:00
OpenDev Sysadmins 40b4cd840e 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:49:15 +00:00
Ian Wienand 88beb02f58 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ib38adc2e0a9a72db5616ed7f023aa2d4df549dd2
2019-03-24 20:34:56 +00:00
caoyuan be26b062c0 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: Icbc1fab92895e1f70a2aedf9507491a1b789f205
(cherry picked from commit 20f3ae971d)
2018-11-13 13:34:55 +00:00
Jesse Pretorius 4e6098bca4 Define cache_timeout variable
Much like the 'debug' variable, the 'cache_timeout' variable
is an expected variable, but is currently not defined in the
role. This causes the role to fail when the galera_client
meta-dep is removed (because that role defined it, this role
inherited it).

Change-Id: Ia788e5b83233e8f34377b024f98f7e463d85c1b7
(cherry picked from commit a98b2d3663)
2018-09-20 14:44:49 +01:00
Jesse Pretorius 64e7f273b9 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: Iacec416e781977307e99780ffec1f8c08dd58aca
(cherry picked from commit cfef027499)
2018-09-19 14:34:14 +01:00
huang.zhiping 763ef4243c 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: Ie5f73c3ea1e6c48d99708a8120286b9afc270444
Story: #2002586
Task: #24319
2018-08-21 13:43:45 +00:00
OpenStack Proposal Bot 2c7c89c457 Updated from OpenStack Ansible Tests
Change-Id: I719b65b080491b089bb8fec50f27c81fd8e1c751
2018-05-07 15:28:38 +00:00
Zuul acfc80d057 Merge "Do not log passwords" into stable/queens 2018-04-29 18:21:45 +00:00
Jesse Pretorius a8a023264e Only replace python when re-initializing the venv
We reinitialize the venv to ensure that the right version of
python is in the venv, but we do not want virtualenv to also
replace pip, setuptools and wheel so we tell it not to. If we
don't do this then virtualenv will install the latest available
version, which is not what we want.

Change-Id: Ie26f236c0d1d433e0bb69da4fcb251a4e40a5615
Partial-Bug: #1764470
(cherry picked from commit e24db20c91)
2018-04-23 15:05:10 +00:00
fpxie ff9e06d750 Do not log passwords
This prevents data to be leaked into the callback plugin.

Change-Id: I7393daf31dc83d9566839f5441265a569b42dcc3
(cherry picked from commit 9760a9add1)
2018-04-23 14:40:23 +00:00
Jesse Pretorius 85a48be977 Remove unused test-repo-clone script
This script is not used, nor was it ever. It was added
by mistake with the wrong name.

Change-Id: If8860418334da8b75bde6b2d712656444626673e
2018-04-23 15:39:28 +01:00
Zuul 869bdc3745 Merge "Point to Queens instead of master" into stable/queens 2018-02-15 15:40:04 +00:00
Jean-Philippe Evrard 3cd8103558 Point to Queens instead of master
There are references that are pointing to master in each role.
This should change them.

Change-Id: Ifce27851ecf3f07ea4bc1bd82bf58822bdf376b7
2018-02-15 14:15:49 +00:00
OpenStack Proposal Bot 2b39c264fb Updated from OpenStack Ansible Tests
Change-Id: I6255931a4e7377cd80abfb866da061ba1c2ac94a
2018-02-15 12:51:37 +00:00
OpenStack Proposal Bot 4e94454cb3 Updated from OpenStack Ansible Tests
Change-Id: I36573bac85f4278a8c8d416e4c47a0f92104c07f
2018-02-14 16:58:33 +00:00
Jean-Philippe Evrard 39477ea148 Introduce os_congress role in gerrit
This commit makes possible to contribute to the os_congress role.
It ensures the roles follows the minimum testing, in order to
be improved later with further testing.

The minimum testing is a local API test that's currently not
passing and will be improved by the community.

Co-Authored-By: Taseer Ahmed <taseer94@gmail.com>
Co-Authored-By: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
Change-Id: Iffe98a040b93b1101fe3339edc84d6197e5a5da7
2018-02-14 10:17:23 +05:00
Taseer Ahmed 0a80151a1e Modify zuul jobs
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-31 11:42:21 +05:00
Taseer Ahmed b6ce61b2d5 Add zuul jobs
- Specify Ubuntu for now

Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-31 11:39:41 +05:00
Taseer Ahmed 2caa428933 Remove Tacker related things
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-27 13:33:06 +05:00
Taseer Ahmed 6f966b3322 remove trailing white space
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-25 13:30:43 +05:00
Taseer Ahmed 0750c6d1ee Handle tox linter errors
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-24 19:34:57 +05:00
Taseer Ahmed 7082dd4bc0 Mitigate for tox linters
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-23 15:59:44 +05:00
Taseer Ahmed 895ca3a7fe Address comments
- remove env-upgrade
- remove lxd-test
- indent properly

Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-20 15:14:13 +05:00
Taseer Ahmed 5f014121aa Complete testing requirements 2017-10-19 15:40:11 +05:00
Taseer Ahmed e2b794a7d9 point congress_conf_dir to /etc/congress
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-13 12:57:38 +05:00
Taseer Ahmed 8b25b2d94d Correct file path for configuration files
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-09 18:42:39 +05:00
Taseer Ahmed 7684426170 Add more templates for config files
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-09 15:22:08 +05:00
Taseer Ahmed b50eb1199a Add tox.ini
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-09 15:07:14 +05:00
Taseer Ahmed 74403a1bd8 Add Vagrant file, tests and update Readme
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-09 14:58:01 +05:00
Taseer Ahmed 01198111eb hardcore some variables
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-08 23:21:11 +05:00
Taseer Ahmed 78c11f7a7d Add congress configuration templates
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-08 16:01:24 +05:00
Taseer Ahmed e0625bd8c8 generate configuration and copy files
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-07 12:48:24 +05:00
Taseer Ahmed c88c62db72 Add congress installation, db setup
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-06 21:18:26 +05:00
Taseer Ahmed 1aaf37c68b Redefine variables and endpoint
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-06 13:14:39 +05:00
Taseer Ahmed 9d92504044 add congress service port
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-05 16:59:12 +05:00
Taseer Ahmed 3684deac78 resolve more syntax errors
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-05 14:21:56 +05:00
Taseer Ahmed 4be49dfe67 Correct syntax errors
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-05 12:09:11 +05:00
Taseer Ahmed 4d05b16017 Add more variables
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-05 10:02:41 +05:00
Taseer Ahmed 803a222155 Correct congress service type
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-05 07:49:09 +05:00
Taseer Ahmed 834e2b9d5c add python-keystoneclient package.
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-04 22:49:38 +05:00
Taseer Ahmed 1079ce1f4a Add congress service setup
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-04 18:24:49 +05:00
Taseer Ahmed f6d72f8471 Change congress init to congress service setup
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-04 15:48:04 +05:00
Taseer Ahmed a7f1ddc560 Add 'when' to ensure congress setup
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-03 22:40:30 +05:00
Taseer Ahmed 48a7fc14cb Correct syntax error in congress init
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-03 19:35:57 +05:00
Taseer Ahmed 0cb75d59f7 include the correct file
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-03 18:39:52 +05:00
Taseer Ahmed fd8749eb31 Add congress init for end point service etc
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-03 10:55:08 +05:00
Taseer Ahmed 8fd727ac7b Add congress galera DB credentials
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-02 16:34:54 +05:00
Taseer Ahmed 0df5b2e1b3 Remove congress post installation tasks
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-10-02 16:06:12 +05:00
Taseer Ahmed f8e76c7a60 Remove pip mysql package
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-09-30 11:41:41 +05:00