6755 Commits

Author SHA1 Message Date
Mark Goddard
33e93ab323 certificates: generate libvirt TLS certificates
Adds support to the 'kolla-ansible certificates' command for generating
certificates for libvirt TLS, when libvirt_tls is true. The same
certificate and key are used for the libvirt client and server.

The certificates use the same root CA as the other generated
certificates, and are written to
{{ node_custom_config }}/nova/nova-libvirt/, ready to be picked up by
nova-libvirt and nova-compute.

Change-Id: I1bde9fa018f66037aec82dc74c61ad1f477a7c12
2022-02-03 14:32:38 +00:00
Zuul
f1c68d1d53 Merge "fluentd: remove legacy parsing config" 2022-01-26 17:07:26 +00:00
Zuul
e65c157eb8 Merge "openvswitch: add option to set hw offload" 2022-01-26 10:55:02 +00:00
Zuul
941076eae4 Merge "Fix bad openstack command while registering IDP" 2022-01-26 07:14:05 +00:00
Kevin Rasmussen
f955383b9c Fix bad openstack command while registering IDP
This fixes a bug in registering identity providers

The bug was caused by a missing `=` in the openstack command

Add the missing `=` after `--os-user-domain-name`

Closes-Bug: #1959022
Change-Id: I73f80cd2c81a3944de0933e60f5768956a1a3b70
2022-01-25 18:02:50 +00:00
Zuul
e3d69c7059 Merge "update the default value of node_custom_config" 2022-01-25 17:24:34 +00:00
Zuul
cb69f7d379 Merge "Fluentd cleanup" 2022-01-25 16:22:21 +00:00
Zuul
d241a3dc8c Merge "fluentd: add modern parsing config" 2022-01-25 14:48:49 +00:00
Zuul
70a46fdeb5 Merge "Use subnet_dns_publish_fixed_ip Neutron extension" 2022-01-25 13:40:38 +00:00
Zuul
b41268308b Merge "Delete the logrotate files because they do not have separate logs" 2022-01-25 10:54:53 +00:00
Zuul
9d5e091b04 Merge "Remove custom value for max_allowed_request_size_in_bytes" 2022-01-25 10:54:09 +00:00
Zuul
2146015cf0 Merge "Revert "Use friendly target names in Prometheus"" 2022-01-25 09:55:44 +00:00
likui
825ef7acd4 update the default value of node_custom_config
The value of node_custom_config should is {{ node_config }}/config,
when specified using --configdir

Change-Id: I076b7d2c8980ddd3baa28f998f84a6b7005dc352
2022-01-25 16:07:57 +08:00
Dr. Jens Harbott
e00e46d337 Use subnet_dns_publish_fixed_ip Neutron extension
There are multiple Neutron extensions that can be used for DNS
integration. The "dns" extension has only minimum functionality, for
most deployments either "dns_domain_ports" or
"subnet_dns_publish_fixed_ip" would be used, with the latter being a
superset of the two others [0].

[0] https://docs.openstack.org/neutron/xena/admin/config-dns-int-ext-serv.html#use-case-3-ports-are-published-directly-in-the-external-dns-service

Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I1056bddfd49265ffe21b4d000898d72bba3ebfad
2022-01-21 22:27:23 +00:00
Zuul
fb26785ce9 Merge "Use Docker healthchecks for ironic-neutron-agent services" 2022-01-21 13:11:44 +00:00
Zuul
b7babcdcfe Merge "Make nova_ssh listen on api_interface as well" 2022-01-20 20:53:06 +00:00
Zuul
d5dcb66479 Merge "Add Ansible 5 aka core 2.12 support" 2022-01-20 20:53:03 +00:00
Zuul
841bfd1bb4 Merge "Deprecate storage_interface variable" 2022-01-20 20:51:27 +00:00
Michal Nasiadka
dac58808c0 openvswitch: add option to set hw offload
Change-Id: I8bf5453c6943fd2ad8912e5d80af179296ada894
2022-01-20 19:57:09 +00:00
Zuul
e048401940 Merge "Clean up chrony cleanup" 2022-01-20 03:59:07 +00:00
likui
98c6a4b65a Use Docker healthchecks for ironic-neutron-agent services
This change enables the use of Docker healthchecks for ironic-neutron-agent services.

Change-Id: I80f8319b2cf2e4ae09904a08532cde5ec0385fa3
Implements: blueprint container-health-check
2022-01-19 10:06:41 +00:00
Pierre Riteau
57fb7fd0a5 Remove custom value for max_allowed_request_size_in_bytes
There is no explanation for why this option was bumped to 1 MB instead
of the upstream default. This has been the case since the original
barbican role commit in 2016.

Restore upstream default in Yoga.

Change-Id: Ib0245f44d2b049f7e2254d8d2ea4b2080a8d62dd
2022-01-18 22:04:31 +01:00
Zuul
646868ebf4 Merge "Remove custom value of max_allowed_secret_in_bytes" 2022-01-18 18:14:33 +00:00
Zuul
d83959beaf Merge "multiple: remove duplicated variables between defaults and group vars" 2022-01-18 16:34:41 +00:00
Radosław Piliszek
e63bbed18d Clean up chrony cleanup
In the Yoga cycle we no longer need kolla chrony container removal
procedures.

Change-Id: I4dc246cf0fd68838470bf9e9bf749fa9be4d6670
2022-01-18 15:37:51 +00:00
Pierre Riteau
20a3b14001 Remove custom value of max_allowed_secret_in_bytes
Barbican has recently bumped max_allowed_secret_in_bytes from 10 KB to
20 KB since the original value was too small for some certificates [1].
Remove custom value from the barbican.conf template, which anyway was
the same as the default configuration before the recent upstream change.

The upstream change was backported to Wallaby and has been proposed to
Victoria, Ussuri and Train [2], so this change should be backported too.

[1] https://review.opendev.org/c/openstack/barbican/+/783381
[2] https://review.opendev.org/q/I59d11c5c9c32128ab9d71eaecdf46dd2d789a8d1

Change-Id: I83e4cb48192c8024650a8d347363f6babb75ad90
Closes-Bug: #1957795
2022-01-18 16:22:03 +01:00
Zuul
7b3527819f Merge "Continue to run all actions if one action failed in curator" 2022-01-18 10:48:22 +00:00
Pierre Riteau
e6cfaee10c Fix permission denied errors with ping on c8s
They seem to think ping is too dangerous for normal users.

Co-Authored-By: Pierre Riteau <pierre@stackhpc.com>
Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/824903
Change-Id: I30c2a7b6850350901b15fe196175508634c8e9a5
2022-01-17 08:59:45 +00:00
Buddhika Sanjeewa
d8c73aa206 Access to zun container fails when tls_external enabled.
Access to console of any zun container fails when
kolla_enable_tls_external is true.
This is due to the protocol of the base_url of the websocket_proxy
section in zun.conf is hardcoded to 'ws'.
[base_url = ws://<external_fqdn>:<port>]

This fix adds a new variable zun_wsproxy_protocol
and sets it's value to 'wss' when kolla_enable_tls_external is true
or to 'ws' otherwise

Then the base url's protocol of the websocket_proxy section
in zun.conf is set by zun_wsproxy_protocol
[base_url = "{{ zun_wsproxy_protocol }}://<external_fqdn>:<port>"]

Closes-Bug: 1957117
Change-Id: Ibd9ca6e40ee8c265775b0657d318aa3f82e4cccb
2022-01-12 13:30:41 +00:00
Michal Nasiadka
1736c788d1 multiple: remove duplicated variables between defaults and group vars
Change-Id: I547ab4b05aa14ed3bbee8be2dc77a6840d4816f6
2022-01-12 09:28:41 +00:00
Zuul
9bbba35b2f Merge "Add logrotate configuration for placement service" 2022-01-11 16:02:51 +00:00
Zuul
c052bbff90 Merge "rabbitmq: enable/disable prometheus plugin follow up" 2022-01-11 12:29:02 +00:00
Zuul
6d5f6a048b Merge "OpenID Connect certifiate file is optional" 2022-01-11 10:38:16 +00:00
Mark Goddard
71f24586de rabbitmq: enable/disable prometheus plugin follow up
Move new variables added in I4d694d6224c813285d228d6bc7eece5731db1078 to
role defaults.

Change-Id: Ie09a2dbae2701cb18fd1eb5bfab76e82f9920fb3
2022-01-11 09:10:08 +00:00
Zuul
93ececffae Merge "Support enable/disable rabbitmq prometheus plugins" 2022-01-10 19:00:35 +00:00
Radosław Piliszek
75b69ea745 Make nova_ssh listen on api_interface as well
This is required as nova_compute tries to reach my_ip of the other
node when resizing an instance and my_ip is set to
api_interface_address.

This potential issue was introduced with [1].

[1] https://review.opendev.org/c/openstack/kolla-ansible/+/569131

Closes-Bug: #1956976
Change-Id: Id57a672c69a2d5aa74e55f252d05bb756bbc945a
2022-01-10 17:10:46 +00:00
lixuehai
0fae876944 Add logrotate configuration for placement service
Closes-Bug: #1954723
Change-Id: I6ffc8caae1aef757d37c629fbc05bb129f80147b
2022-01-10 15:48:46 +08:00
Stig Telfer
78f29fdc5d OpenID Connect certifiate file is optional
Some ID provider configurations do not require a certificate file.
Change the logic to allow this, and update documentation accordingly.

Change-Id: I2c34a6b5894402bbebeb3fb96768789bc3c7fe84
2022-01-09 21:55:34 +00:00
LinPeiWen
1f3dcce5ac Support enable/disable rabbitmq prometheus plugins
rabbitmq starting from 3.8.0, built-in Prometheus support,
prometheus plugins are enabled by default, when the environment is
"enable_prometheus is no", rabbitmq role will disable prometheus plugins

Closes-Bug: #1885106

Change-Id: I4d694d6224c813285d228d6bc7eece5731db1078
2022-01-09 09:50:00 +00:00
Zuul
3c8bbc1dda Merge "nova: disable external metadata haproxy frontend" 2022-01-07 19:19:12 +00:00
Zuul
dc5eaa4ec7 Merge "Use Volume V3 API in OpenStack exporter" 2022-01-07 19:19:09 +00:00
Radosław Piliszek
7372911a19 Add Ansible 5 aka core 2.12 support
Also bumps the minimum to 4.

Change-Id: Ia373f9cc3bb69eba0288bbb3e497e8cadb7cc4d3
2022-01-07 18:08:55 +00:00
Zuul
8d3873461f Merge "Use Docker healthchecks for solum services" 2022-01-07 10:22:08 +00:00
Zuul
55e79e7bc3 Merge "Remove obsolete opt from cinder.conf" 2022-01-07 10:14:13 +00:00
Zuul
675372ca20 Merge "bifrost: preempt change in defaults for TFTP and HTTP boot paths" 2022-01-07 09:08:56 +00:00
Zuul
5f78e38bc8 Merge "glance: Remove duplicate glance_*_endpoint variables from role defaults" 2022-01-07 04:27:52 +00:00
Zuul
e1297a4943 Merge "Refactor of kolla_docker into module_utils" 2022-01-06 20:01:45 +00:00
Zuul
7868daeed9 Merge "Move project_name and kolla_role_name to role vars" 2022-01-06 15:29:25 +00:00
Martin
a9fbcb1855 Refactor of kolla_docker into module_utils
Moved the DockerWorker class from module file into its separate file
in module_utils directory for future extension.
Unit tests changed accordingly.

Signed-off-by: Ivan Halomi <ivan.halomi@tietoevry.com>
Co-authored-by: Martin Hiner <martin.hiner@tietoevry.com>
Change-Id: Ia2a471a9a2805e13b2c20dbf8a7297c23231aae3
2022-01-06 11:59:50 +01:00
Michal Nasiadka
3dcb6ad809 nova: disable external metadata haproxy frontend
We are not using it anywhere (metadata agents are using internal network),
so let's disable it by default.

Change-Id: If06db5030b0f09e20ef506c3b3ab39c3573b5f3d
2022-01-05 14:15:06 +00:00