a9818d26c3b90b4b19eab4234a1d461b30a55c0a
Commit Graph

1404 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Jonathan Rosser
91ef7e41d3 Add nova_ironic_serialconsole_type default setting
This variable determines if one of the nova console proxies is
deployed alongside the nova-compute service for ironic. Currently
the only supported values are "disabled" and "serialconsole"
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/860947
Change-Id: I8eae97f9c60956049072de8b04e557671a8cdcfa
2022年10月11日 14:29:31 +01:00
Jonathan Rosser
f8dd01ebdc Clarify nova serial proxy bind address
This should be nova_management_address which by default is
equivalent to ansible_host, but the use of ansible_host is confusing
when the whole of the rest of os_nova uses nova_managment_address
for the address to bind services to.
Change-Id: Ie34acf0115d8e89e2888952e1c2d3dc03a284aff
2022年10月06日 17:38:02 +01:00
Dmitriy Rabotyagov
242ebe2b54 Improve way of cache backend selection
At the moment we don't provide any option rather then use memcached
backend. With that we also hardocde list of packages that should be
installed inside virtualenv for selected backend.
Adding bmemcached requirement to oslo_cache.memcache_pool [1] gives us
opportunity to refactor this bit of deployment and allow to be more
flexible in backend selection and requirements installation for it.
[1] https://review.opendev.org/c/openstack/oslo.cache/+/854628
Change-Id: I48e193ef29e56aa8639511c5b5dcddc70f5e1198
2022年10月06日 16:01:22 +00:00
Zuul
f8840ece3b Merge "Add new line after proxyclient_address" 2022年09月24日 18:53:35 +00:00
Zuul
abac462dc2 Merge "Remove redundant vars line" 2022年09月20日 19:03:15 +00:00
Dmitriy Rabotyagov
81d7f0a85c Add new line after proxyclient_address
Currently Jinja trim_blocks function does remove newline from end of
proxyclient_address which makes port_range option appearing on the same
line.
Change-Id: If33021bd0453be3ca18753777e82da12f470b278
Closes-Bug: #1988337 
2022年09月19日 15:07:58 +02:00
Erik Berg
cde5a003e1 Remove redundant vars line
This line was introduced by I3046953f3e27157914dbe1fefd78c7eb2ddddcf6
to bring it in line with other OSA roles, but should already be
covered by the distribution_major_version line above.
Change-Id: I21b3972553acf38af205e17aa2d48ed19332bcb0
2022年09月14日 13:04:11 +02:00
Dmitriy Rabotyagov
d6cd1096af Isolate vif for ovs backend by default
Without that patch all deployers that did use OVS had to remember to
apply override for their deployments.
Now OSA will enable isolation of vif by default when OVS is used.
Change-Id: I4195153658c867f259226e80cefac0fcac4caac5
Related-Bug: #1734320 
2022年09月12日 17:37:26 +02:00
Dmitriy Rabotyagov
611722ffd7 Remove AvailabilityZoneFilter from scheduler
The 'AvailabilityZoneFilter' is deprecated since the 24.0.0 (Xena)
release. The feature is enabled by query_placement_for_availability_zone
config option and is now enabled by default.
Change-Id: I6be16f7621899a45271a70e7c39d76b837d8c5c9
2022年06月17日 08:03:30 +02:00
Zuul
7f2334c785 Merge "Support service tokens" 2022年06月16日 12:29:37 +00:00
Dmitriy Rabotyagov
c36fdaa960 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: I04b22722b32b6dc8b1dc95e18c3fe96ad17e51ac
2022年06月15日 11:08:48 +02:00
Dmitriy Rabotyagov
604085ffe6 Remove mention of haproxy-endpoints role
Keystone role was never migrated to usage of haproxy-endpoints role
and included task was used instead the whole time.
With that to reduce complexity and to have unified approach, all mention
of the role and handler are removed from the code.
Change-Id: I3693ee3a9a756161324e3a79464f9650fb7a9f1a
2022年06月14日 19:41:53 +02:00
Dmitriy Rabotyagov
cf66cd365c 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: I6f3bdb6e63986bb25371f09c6c468dc055fd3050
2022年05月30日 16:01:40 +02:00
Zuul
49f0d150c0 Merge "Do not adjust libvirtd sysconfig for centos-9" 2022年05月23日 10:20:56 +00:00
Jonathan Rosser
f5800a48dc Do not adjust libvirtd sysconfig for centos-9
Centos-9 no longer ships this file so skip adjusting it [1]. The
file should not exist on Centos-9 systems where OSA is used.
If this file is created by a deployer it will potentially
interfere with the operation of libvirt and other configuration
made by openstack-ansible.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=2042529
Change-Id: Ieeba7fb803e151a9e6d0adac3d1512aef3785e9a
2022年05月16日 11:00:06 +01:00
Dmitriy Rabotyagov
a3bba5e66e Pass valid cert regen variable to pki role
Currently we're passing non-existant variable into PKI role
when defining whether to regen certificates or not.
This change fixes behaviour.
Change-Id: Ib1c8f820ccfe00923fcbc7aec2457a94629673fe
2022年05月12日 18:37:23 +02:00
Jonathan Rosser
7a4a35fa7d Ensure that openstack_ssh_keyspairs_dir has a default value
This is otherwise undefined in functional tests
Change-Id: I5a387566d5bdb9ee4c34976c55f86f31fc65f87e
2022年05月04日 07:57:01 +01:00
Zuul
9b3081fccf Merge "Implement nova direct RBD image retrieve" 2022年04月26日 13:14:04 +00:00
Jonathan Rosser
e2fc7361cf Use ssh_keypairs role to generate cold migration ssh keys
This uses ssh signed certificates so there is no longer the need
to distribute the nova public key from each compute host to all
other compute hosts.
The legacy scripts and authorized key files are removed as a
migration step.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/825292
Change-Id: I3456bdf7bed66a2675b8a410d4cf6b2174598a22
2022年04月11日 15:29:15 +00:00
OpenStack Proposal Bot
4d942b815f Updated from OpenStack Ansible Tests
Change-Id: I68442162529d7ff7f5f23c0520f087f014d62be1
2022年04月04日 09:43:20 +00:00
Jonathan Rosser
e93509ec6f Cleanup setup.py config
Change-Id: I4bc528e67c097f649c6e49cf39a3452a853560be
2022年04月04日 10:42:44 +01:00
Dmitriy Rabotyagov
3a68118d9b Implement nova direct RBD image retrieve
When nova don't use rbd images (ie local storage) it still might be good
idea to use direct connection to rbd to get images rather then
connect through HTTP.
Change-Id: I4f2d7cf54e07376c7a25d45093f5d83be5422234
2022年03月21日 17:29:41 +00:00
Danila Balagansky
1b6ee682b1 Fix missing quote
Change-Id: Ib13d07f4f8c8007be47e5a10a9f63f1e93986876
2022年03月17日 21:24:41 +03:00
Andrew Bonney
b1e38084cc Add configuration option for heartbeat_in_pthread
This configuration option has been observed to result in file
descriptor leaks in certain circumstances. A variable is added
here so that it can be easily overridden.
Change-Id: I7de034307da9352e6f5d1f5f175a330fb8c86463
Related-Bug: #1961603 
2022年03月15日 10:53:42 +00:00
Zuul
559eb382b1 Merge "Drop nova_glance_api_servers variable" 2022年02月15日 18:37:04 +00:00
Zuul
45994ea7aa Merge "Drop libvirtd_version identification" 2022年02月15日 10:38:56 +00:00
Zuul
5989763f4a Merge "Fix race-condition when libvirt starts unwillingly" 2022年02月15日 10:37:46 +00:00
Dmitriy Rabotyagov
a3c0edba56 Fix race-condition when libvirt starts unwillingly
libvirtd.socket does monitor libvirtd.service and trigger service restart
when it spot that service is down.
However in order to enable tcp and tls sockets, we need libvirt
to be stopped.
Currently race condition can happen, when we stop libvirt, but it's
started by socket before we enable tls one.
To overcome this we stop socket along with service.
Change-Id: Iacc093311036fb8d6559a0e32252579303a639ba
2022年02月10日 14:23:44 +02:00
Dmitriy Rabotyagov
9bd0e45d1f Drop libvirtd_version identification
Since all supported distros have libvirt version >= 5.7 there's
no reason to ensure that it is true.
So we remove corresponsive code and simplify logic.
Change-Id: I281829214df8affec7774a45a3ca0405a866b5c0
2022年02月10日 14:12:52 +02:00
Dmitriy Rabotyagov
5846e4d0b1 Remove secure_proxy_ssl_header logic
According to nova doc, secure_proxy_ssl_header has been deprecated and
has no effect [1]. Since these variables are not used for other purpose
we drop them.
[1] https://docs.openstack.org/nova/latest/configuration/config.html#oslo_middleware.secure_proxy_ssl_header
Change-Id: Ibc3ac4f0f3fb038463748f8c1608fa475374cf67
2022年02月09日 09:41:55 +02:00
Dmitriy Rabotyagov
6775f57c75 Drop nova_glance_api_servers variable
Since api_servers from [glance] secton is deprecated and can be
silently ignored [1], we drop corresponsive OSA variable
[1] https://docs.openstack.org/nova/latest/configuration/config.html#glance.api_servers
Change-Id: I52de65a4629f23fd2c0c3735033a8e2d57a82024
2022年02月09日 08:55:17 +02:00
Zuul
7589b7b66b Merge "Remove legacy policy.json cleanup handler" 2022年02月03日 19:19:51 +00:00
Zuul
0dfc9fc3d1 Merge "Fix nova-key tag handling" 2022年02月03日 19:19:49 +00:00
Zuul
1301d140d8 Merge "Remove apt pinning task for debian buster" 2022年02月03日 13:52:52 +00:00
Jonathan Rosser
3df42220d0 Remove legacy policy.json cleanup handler
Change-Id: Ic587e1a55b6f15c66e01176dac7b6acdb0abd240
2022年02月02日 04:20:52 -05:00
Jonathan Rosser
d620d3b06a Remove apt pinning task for debian buster
Buster is no longer supported on recent OSA releases so this task
is not required.
Change-Id: I96332980798cb56f725b8bdc9a0514ab40c1a0f9
2022年01月27日 18:17:01 +00:00
Dmitriy Rabotyagov
1fba5e3712 Drop cell1 upgrade to template format
This task has been added for upgrade purposes only and
can be safely removed.
Change-Id: I9df6503c0e45b2f6b88e64e61048026df325c865
2022年01月26日 19:59:47 +02:00
Zuul
9b465cb823 Merge "Replace genisoimage with xorriso for centos-9" 2022年01月13日 15:09:26 +00:00
Zuul
3c3b07f539 Merge "Use common service setup tasks from a collection rather than in-role" 2022年01月13日 12:47:31 +00:00
Andrew Bonney
7a0c0f0ad2 Fix nova-key tag handling
It appears that this tag stopped working recently when switching
from import to include syntax. This patch adds the necessary
'always' tag to ensure the 'nova-key' tag gets carried through.
Change-Id: Iee1dca9221b6968d11be54fc1df03b2f8a6c3f44
2022年01月13日 11:38:25 +00:00
Jonathan Rosser
925d2a367a Use common service setup tasks from a collection rather than in-role
Change-Id: I01fdeb2cca9d5315fd486500cc8d6330cb23ce84
2022年01月12日 18:09:48 +00:00
Zuul
4618d8d95c Merge "Refactor use of include_vars" 2022年01月12日 14:49:00 +00:00
Zuul
b9dea9e4a0 Merge "Enable recursion in combine() filter" 2022年01月12日 11:55:12 +00:00
Jonathan Rosser
1c353392c3 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: I046def5a5cc94f680bc0daa3a2a1734f325d8022
2022年01月12日 08:18:07 +00:00
Damian Dabrowski
0a0776df36 Enable recursion in combine() filter
Ansible's combine() filter needs recursive=True parameter in order to recursively merge nested hashes.
https: //docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#combining-hashes-dictionaries
Change-Id: I2e84c0370c04336c124e5b6549b638483f107601
2022年01月11日 19:22:26 +01:00
Jonathan Rosser
119104a9db Replace genisoimage with xorriso for centos-9
Change-Id: I7d09f6f5f5d66ecbe29fd3969d586eb416c98589
2022年01月11日 12:15:37 -05:00
Andrew Bonney
7a33271509 Revert "Disable shell for nova when tunneled migration not used"
This reverts commit ca352be75b.
Change-Id: I19e1cc491e2441ab8d1bd39d383dd2e09a5b7077
2022年01月07日 11:20:04 +00:00
Andrew Bonney
0bdf469993 Reinstate ssh key distribution for all nova deployments
Further testing has revealed that cold migration still requires
SSH communication between hypervisors which requires SSH keys to
be distributed between hosts.
Change-Id: Ida18b057d68d4edf7ce6dd2a46ef990f34ad36e3
2022年01月07日 10:47:18 +00:00
Dmitriy Rabotyagov
ca352be75b Disable shell for nova when tunneled migration not used
Change-Id: If4d036794cf8edb14e6b0ed491cf0de78f425b2c
2021年12月23日 16:37:44 +02:00
OpenStack Proposal Bot
31e053e944 Updated from OpenStack Ansible Tests
Change-Id: If2279eba00d9a0da23464491167bb496901c47c0
2021年12月17日 16:47:31 +00:00