604085ffe6b08df8291a0c12d09961a7b6fb8663
Commit Graph

1293 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
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
OpenStack Proposal Bot
f67e879225 Updated from OpenStack Ansible Tests
Change-Id: I59a095d0d7d20063454fded5c8fbd2d40c633ebd
2021年12月04日 17:40:56 +00:00
Dmitriy Rabotyagov
7faf500a87 Don't fail when nova_console_type is disabled
Change-Id: I63ac851ab8195a2eaaa6474d31af999f22584ca5
2021年12月02日 20:55:16 +02:00
Zuul
6015ee227c Merge "Database connection pooling improvements" 2021年12月02日 15:48:47 +00:00
Dmitriy Rabotyagov
0536843b26 Fix PKI include condition
In order for AIO to pass against ironic role, we need to cover the case
when ironic_compute == nova_compute host. For that we use more
common condition and verifying virt_type which must be set for
Ironic.
Change-Id: I7540e4c6848bad80c368a1227b09437428fe64a2
Closes-Bug: #1952649 
2021年12月02日 06:00:26 +02:00
Damian Dabrowski
fcd582731b 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.
Change-Id: Ibc876f2744c271e9c4ad797597c15af8d73867c1
2021年12月01日 22:04:50 +01:00
Zuul
9200186888 Merge "Refactor definition of lock path" 2021年12月01日 19:51:06 +00:00
Zuul
d8d0e4a9af Merge "Use config_template as a collection" 2021年12月01日 19:08:44 +00:00
Zuul
dc6d040d2b Merge "Exclude ironic_compute hosts from PKI tasks" 2021年12月01日 16:50:45 +00:00
James Denton
11ec8d572e Exclude ironic_compute hosts from PKI tasks
This patch excludes ironic_compute hosts, which don't
run libvirtd, from the PKI/SSL certificate business.
Closes-Bug: #1952649
Change-Id: I57455b9f54f0a5ae0f1f8e1a424df930cd6bab48
2021年12月01日 12:14:49 +00:00
Dmitriy Rabotyagov
3bc115b8a1 Revert UEFI firmware workaround
Change-Id: I5761e63ca609a617abfafe8d870dc4dc0b9c8096
2021年12月01日 12:13:59 +00:00
Dmitriy Rabotyagov
36d6f4f48c 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: If8db876955572d0fc809414bf38370a9aac84a2e
2021年11月30日 15:17:24 +02:00