fde458164b4c4536466f7609991324a3f051d35d
Commit Graph

394 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
fde458164b Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I7cd73a8e8eccf28e3991913a35aa3ac9e847774f
2022年12月13日 13:21:58 +00:00
Dmitriy Rabotyagov
27880b4b50 Change networks_info output structure
With commit [1] to collection output structure of networks_info module
has been changed. With that we adpot to the new format.
[1] 9272146cf7
Change-Id: Ia0d50b96a4af59352a89c566137d8b0208338b6b
2022年08月29日 20:16:49 +02:00
Dmitriy Rabotyagov
3ddd45d335 Support service tokens
Implement support for service_tokens. For that we convert
role_name to be a list along with renaming corresponding variable.
Additionally service_type is defined now for keystone_authtoken which
enables to validate tokens with restricted access rules
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/845690
Change-Id: I7b01de89b459b4992ed9531e6c81259af21ba997
2022年06月15日 19:37:00 +02:00
Dmitriy Rabotyagov
6dff6afa76 Switch sphinx language to en
With sphinx release of 5.0.0, they changed default for language variable
to 'en' from None. With that current None valuable is not valid and should
not be used.
Change-Id: Iabdc99ad150ea318263b4c384b26160c4b6c816a
2022年05月30日 16:01:46 +02:00
OpenStack Proposal Bot
86770fd249 Updated from OpenStack Ansible Tests
Change-Id: Id0a07d09b1029edc1b57f1dcab5a5be91e077107
2022年03月31日 20:15:39 +00:00
Marc Gariepy
a78e9bcde7 Cleanup setup.py config
Change-Id: I852dfddbf8aac10d31fbaff4561cb159bd6bdc06
2022年03月31日 10:40:49 -04:00
Jonathan Rosser
9762f84a34 Remove legacy policy.json cleanup handler
Change-Id: I0078082f2701f4bec072c0c931996c2ee8c4af76
2022年02月02日 04:24:32 -05:00
Zuul
735f536e01 Merge "Use common service setup tasks from a collection rather than in-role" 2022年01月13日 13:16:54 +00:00
Jonathan Rosser
a0710f538e Use common service setup tasks from a collection rather than in-role
Change-Id: I02152618bd19800316b875f04da9e907f3446510
2022年01月12日 17:21:32 +00:00
Jonathan Rosser
910fd589b7 Refactor use of include_vars
Use a first_found lookup instead of a with_first_found loop so that
the 'paths' parameter can be used.
This ensures that only vars from the role are included, and not vars
from a parent calling role. This can happen when a parent role has
a higher priority vars file available for inclusion than the role
it calls.
Change-Id: I41a360e6f99ecd0ca5e4c13888bff4f363d8bc33
2022年01月12日 08:07:10 +00:00
OpenStack Proposal Bot
609edcc0e6 Updated from OpenStack Ansible Tests
Change-Id: I9a40cfff39ae1cd4c53e5f783b620298c1fa93b2
2021年12月17日 16:48:48 +00:00
OpenStack Proposal Bot
e19e27133b Updated from OpenStack Ansible Tests
Change-Id: I0e76cf0c6060dbd14707fb8d4b8a4ff993ab20c1
2021年12月04日 17:41:51 +00:00
Damian Dabrowski
ebc07a44e7 Database connection pooling improvements
- Implemented new variable ``connection_recycle_time`` responsible for SQLAlchemy's connection recycling
- Set new default values for db pooling variables which are inherited from the global ones.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/819424
Change-Id: Ie9591c96d1e5c8f4dcf04524c04056934ceb00db
2021年12月02日 19:21:50 +01:00
Dmitriy Rabotyagov
d1e1b65144 Use config_template as a collection
Since we still use ceph-ansible that has their own implementation of
config_template module it's worth to use mentioned module as a collection
explicitly.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/819814
Change-Id: I377c7b182861a8c53c3ab43690c2bed0d648f3ae
2021年11月30日 15:17:28 +02:00
Zuul
b681a87ffe Merge "Drop config_template from role" 2021年11月26日 15:47:15 +00:00
Dmitriy Rabotyagov
7163615111 Drop config_template from role
Change-Id: Ie9778bbd241805b81699d447247a04a0a7323a6b
2021年11月23日 19:29:51 +02:00
Dmitriy Rabotyagov
8e72167d70 Refactor galera_use_ssl behaviour
With PKI role in place in most cases you don't need to explicitly
provide path to the CA file because PKI role ensures that CA is trusted
by the system overall. In the meanwhile in PyMySQL [1] you must either
provide CA file or cert/key or enable verify.
Since current behaviour is to provide path to the custom CA we expect
certificate being trusted overall. Thus we enable cert verification when
galera_use_ssl is True.
[1] 78f0cf99e5/pymysql/connections.py (L267)
Change-Id: I27bbc7b97a2fec235d43b4ca502a3667450dc1fa
2021年09月21日 17:28:49 +03:00
likui
717d0eeab9 Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020年07月23日
Change-Id: I84c80aa01542eef2904c8a620ed929b13963d7f2
2021年07月03日 21:22:42 +08:00
Dmitriy Rabotyagov
9f1416dd12 Replace linters test with integarted one
We've created integrated linters check job a while back and it's successfully
working for several releases. At the moment we experience difficulties
with future maintenance of the linters check from the openstack-ansible-tests
repo. So instead of fixing current one, we replace it with modern version of
the test.
Change-Id: I2587d1c6ec05d5a31a69143eecc16f7b84dce669
2021年05月21日 16:07:05 +03:00
Zuul
6900ab9bf4 Merge "Do not override service project description" 2021年04月29日 09:50:13 +00:00
Dmitriy Rabotyagov
21619ca389 Adjust service restart handlers
We should make service restart handlers more universal, since
there might be cases where api and taskmanager are placed on different
hosts. So we should restart services only when they are present, and
filtered_trove_services helps us here as defines only services that
should exist on the host.
This also align handler with other services and fix taskmanager restart
as it is missing now but conductor is restarted twice instead.
Change-Id: Ia5c92f312a773c88563c61bba327f07ef369d62c
2021年04月26日 12:39:46 +03:00
Dmitriy Rabotyagov
390989cfc7 Do not override service project description
By default OSA shares `service` project across services. So we should
not override _project_description with services
Change-Id: I0e194c5bf0ae4de1c9dd906c36955b6217d3f601
2021年04月23日 10:35:25 +03:00
Zuul
2a4ec0de84 Merge "[doc] Document how to use separate RabbitMQ cluster" 2021年04月22日 16:01:33 +00:00
Zuul
418be1cebe Merge "Update trove configuration" 2021年04月22日 16:01:27 +00:00
Zuul
eca0398277 Merge "Updated from OpenStack Ansible Tests" 2021年04月19日 15:55:28 +00:00
OpenStack Proposal Bot
10ae1b5f20 Updated from OpenStack Ansible Tests
Change-Id: Ib09b4341ebfe263490c9dde65ed7d0253e3ea170
2021年04月19日 10:00:18 +00:00
Dmitriy Rabotyagov
9b8e916d19 [doc] Document how to use separate RabbitMQ cluster
Since Trove requires guest network to be passed to the rabbitmq it makes
sense to use standalone rabbitmq cluster and instruction about how to do
might be useful
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/784780
Change-Id: Ibbc6faa2a5d5b3af39db9ae214ba9087a777a0eb
2021年04月14日 13:26:05 +00:00
Dmitriy Rabotyagov
c92b99d3f4 Update trove configuration
We haven't payed attention to the trove for a while and we need to
align configuration with current state of the service.
trove-conductor and trove-taskmanager configs are not
loaded by trove services anymore (at least by default), so we merge all
options into trove.conf
Also defaults and deprecated options are dropped from the config.
We implement bunch of new variables to cover missed logic and
some usecases.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/784565
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/784113
Change-Id: I2ba758de38ed3fee10fe1485aa25621eddbf9046
2021年04月14日 10:18:29 +00:00
Dmitriy Rabotyagov
0de33a0243 Use uWSGI for trove-api
This migrate trove-api to usage of the uwsgi from native service to
align with other service way of deployment and since that's how service
is tested in devstack.
Change-Id: I83ad3af282942ff9714757e863f393894ac35f45
2021年04月14日 13:17:44 +03:00
Zuul
a260062504 Merge "Change default pool subnet" 2021年04月13日 14:46:43 +00:00
Zuul
ec9de1702a Merge "Use ansible_facts[] instead of fact variables" 2021年04月13日 11:26:45 +00:00
Dmitriy Rabotyagov
c99957f375 Change default pool subnet
To match documentation and general pattern of service networks,
we change default subnets that will be used by trove instances.
Change-Id: I7a0f23b0cdd314206f299a860685e2f96ac3f625
2021年04月08日 09:09:25 +00:00
Dmitriy Rabotyagov
875954ef3c Add image upload option
Allow deployers to manage trove guestimages with trove role. This will
allow us to correctly test role with tempest, since we were not able to
upload images with tags otherwise
Change-Id: If2f550ef09cd01ec5eab485f0d81ecfaf32f924f
2021年04月08日 09:09:06 +00:00
Zuul
f2e346cfce Merge "[reno] Stop publishing release notes" 2021年04月06日 19:36:27 +00:00
Zuul
d87107621a Merge "[goal] Deprecate the JSON formatted policy file" 2021年04月06日 14:01:14 +00:00
Dmitriy Rabotyagov
eccf80bb7f [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to replace policy.json to
policy.yaml and remove deprecated policy.json.
config_template has been choosen instead of the copy, since it can
properly handle content that has been lookuped.
We make a separate task not to restart service when it's not needed.
[1] https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
Change-Id: I866fea573429ddcedf1547d9fa8a7caae448eca2
2021年03月30日 16:54:44 +00:00
OpenStack Proposal Bot
2624effcaa Updated from OpenStack Ansible Tests
Change-Id: I5d12c7a1d5dbaa39175ffe318f998c43db9c8181
2021年03月25日 10:20:40 +00:00
dmitriy
1ebe2de5e7 [reno] Stop publishing release notes
Since we copy all release notes to the integrated repo there is not need
in publishing release notes for each repository. We should only verify their
validity and linting.
Change-Id: I760b42b9f2c80932e3286d8c686d10b90f3f03b5
2021年03月25日 10:20:14 +00:00
Jonathan Rosser
f67c296bff Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654
Change-Id: I29de46e830e0a63c1da90043ec08c5dcc56b7e3e
2021年03月25日 10:20:05 +00:00
Dmitriy Rabotyagov
d14cd8cea4 Retry on creating trove network
For pretty weird reason, first request to create a network to the neutron
fails with 500 without reasonable stack trace. Re-running request succeeds.
So we adding retries to the task which resolves metnioned issue.
Change-Id: I5b09dc3bc52d98df756cdc60c5e94cd1e7344e9a
2021年03月24日 18:18:22 +00:00
Zuul
0650e1d2ea Merge "Remove references to unsupported operating systems" 2021年03月11日 10:03:37 +00:00
Jonathan Rosser
2fc3a3ee49 Remove references to unsupported operating systems
All references to Gentoo, SUSE, Debian stretch and Centos-7 are removed.
Conditional tasks, ternary operators and variables are simplified where possible
OS specific variables files are generalised where possible
Change-Id: Ibec329fa5dca39222519b99ad27d78b46c11633e
2021年03月10日 12:16:40 +00:00
Jonathan Rosser
e438420bc8 Switch default virtualenv to python3
Change-Id: Iaced386a7123e2dce1e57b18ac39072bc7eed897
2021年03月10日 09:06:22 +00:00
Dmitriy Rabotyagov
3791237a51 Use new openstack.cloud collection names
os_ prefixed module names are deprecated for a while and will be removed
Current usage generates a warning for users.
Change-Id: Ie473569d866d6d8a9995f73f7cf5472e60589523
2021年02月16日 21:33:15 +02:00
Jonathan Rosser
1b779c231c Move trove pip packages from constraints to requirements
This is necessary to use the new pip resolver
Change-Id: Icdc485613655ffd0c4a69839fdf555340435d2ae
2021年01月25日 10:34:54 +00:00
Dmitriy Rabotyagov
0629e28768 Use global service variables
Instead of overriding each service separatelly it might make
sense for deployers to define some higher level variable that
will be used first or fallback to default variable.
Change-Id: Ic2fa270a3582db3da01b3c449fbdd8c2d5045062
2021年01月08日 19:02:06 +02:00
Dmitriy Rabotyagov
f37cb88680 Reduce number of processes on small systems
Even the most modest 4C/8T system would run with the maximum 16 processes
due to the calculation being VCPU*2.
We devide amount of CPUs to number of threads for hyperthreaded CPUs
Change-Id: I2ae9039871158f8a94e3f96694ddadea3005537b
2020年11月30日 12:04:18 +00:00
zhoulinhui
1b492b9bfd Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is deprecated and TOX_CONSTRAINTS_FILE is
the new environment variable name that replaces it [1].
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
[2] https://review.opendev.org/#/c/722814/
Change-Id: Iad47cff6b33ccc82bf9c7f23c23c779568951724
2020年11月10日 05:14:17 +00:00
OpenStack Proposal Bot
65c50b48b6 Updated from OpenStack Ansible Tests
Change-Id: If6ce227ac1e57905b1626a30d2227dffd86a5170
2020年10月19日 09:21:08 +00:00
Zuul
24f2244fa0 Merge "Define condition for the first play host one time" 2020年10月06日 12:16:06 +00:00