12818 Commits

Author SHA1 Message Date
Marcin Juszkiewicz
4a84bac919 tests: use source instead of binary
Change-Id: I3d402e43bebd9054a94990e6bc2183bad9922419
2022-04-05 14:55:27 +02:00
Marcin Juszkiewicz
ed9c28196a CI: remove binary jobs
During Yoga PTG we agreed about dropping support for binary images in
Zed cycle.

Change-Id: I4ce431d866a17e3ae908d2d232e0be335d202f86
2022-04-05 11:26:37 +02:00
Zuul
bf30ed621b Merge "[release] Tidy up release notes for Yoga" 14.0.0.0rc1 2022-04-04 11:08:35 +00:00
Pierre Riteau
1a20c23488 Move venus group to the correct inventory section
The main venus group should not be in the group providing additional
control of service placement.

Change-Id: I569254077d5ef9814c99bbcc7fafd7be3bacad67
2022-04-01 06:39:36 +00:00
Zuul
ec4af6c90e Merge "Adds FluentD configuration for OpenvSwitch log matching" 2022-03-31 15:23:50 +00:00
Zuul
3f5d77af61 Merge "rabbitmq: follow up for classic queue mirror removal" 2022-03-31 15:21:51 +00:00
Mark Goddard
b3de1068ab [release] Tidy up release notes for Yoga
Change-Id: I04d2e83967392f403b1068e0c151b94b685c52e8
2022-03-30 15:56:47 +01:00
Zuul
087d0e1d60 Merge "neutron: add ssh key" 2022-03-30 13:38:32 +00:00
Zuul
f993047f45 Merge "Add openEuler Distro support" 2022-03-30 08:22:39 +00:00
Michal Nasiadka
7fcf3ca30b neutron: add ssh key
This key can be used by users in networking-generic-switch
scenario instead of adding cleartext password in ml2_conf.ini.

Change-Id: I10003e6526a55a97f22678ab81c411e4645c5157
2022-03-30 07:28:37 +00:00
wangxiyuan
01ed75acef Add openEuler Distro support
openEuler is the newest open source operating system, which is quite
famous and widely used in China. This patch aims to add the OS support
in kolla-ansible for the host OS.

bp: support-openeuler-os

Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/830320

Change-Id: I66dc84f02c324dbc0787ec25d4bd92ada9362e94
2022-03-28 07:54:49 +00:00
Juan Pablo Suazo
ab7bb56df6 Adds FluentD configuration for OpenvSwitch log matching
Adds a new configuration file that provides fluentd with an appropiate regex to match with OpenvSwitch logs in both default files.

The regex is segmented with variable as to isolate the relevant parts of each log message.

Closes-Bug: #1965815
Signed-off-by: Juan Pablo Suazo <jsuazo@whitestack.com>
Change-Id: Ife83c50c048d517a5c8a5dee588f8f7846fcee00
2022-03-25 14:01:28 +00:00
Zuul
5dbcbda475 Merge "designate: Allow to disable notifications" 2022-03-25 12:06:37 +00:00
Zuul
548e46f6dc Merge "Change grafana provisioning.yaml indentation" 2022-03-25 11:36:01 +00:00
Zuul
60f8b7410d Merge "re-add rabbitmq config for clustering interface" 2022-03-25 09:52:10 +00:00
Jan Horstmann
3d91e69aab Change grafana provisioning.yaml indentation
This commit changes the indentation scheme used in
`ansible/roles/grafana/templates/provisioning.yaml.j2` to the commonly
used pattern of two whitespaces.

Change-Id: I2f9d34930ed06aa2e63f7cc28bfdda7046fc3e67
2022-03-25 09:26:24 +01:00
Zuul
318e739f12 Merge "Use jinja2.pass_context instead of contextfilter" 2022-03-24 21:31:47 +00:00
Sven Kieske
1599252483
re-add rabbitmq config for clustering interface
this adds back the ability to configure
the rabbitmq/erlang kernel network interface
which was removed in https://review.opendev.org/#/c/584427/
seemingly by accident.

Closes-Bug: 1900160

Change-Id: I6f00396495853e117429c17fadfafe809e322a31
2022-03-24 17:52:17 +01:00
Zuul
87f6ff934c Merge "Enable memcached backend for mod_auth_openidc" 2022-03-24 16:30:18 +00:00
Mark Goddard
fc2292b230 Use jinja2.pass_context instead of contextfilter
The contextfilter decorator was deprecated in jinja2 3.0.0, and has been
dropped in 3.1.0. This results in the following warning, and failed
attempts to use filters:

    [WARNING]: Skipping plugin (filters.py) as it seems to be invalid:
    module 'jinja2' has no attribute 'contextfilter'

This change switches to use the pass_context decorator. The minimum
version of Jinja2 is raised to 3 to ensure pass_context is present.

Change-Id: I649dd6211d3ae72b9539bc44652ef8cf5d579777
2022-03-24 16:29:26 +00:00
Zuul
efadc95913 Merge "designate: allow designate_ns_record to be a list" 2022-03-24 12:52:06 +00:00
Zuul
a5968c5e6a Merge "designate: fix external backend deployment" 2022-03-24 12:02:32 +00:00
Michał Nasiadka
a19e1eb44e designate: Allow to disable notifications
Designate sink is an optional service that consumes notifications,
users should have an option to disable it when they don't use them.

Change-Id: I1d5465d9845aea94cff39ff5158cd8b1dccc4834
2022-03-24 11:17:23 +01:00
Michał Nasiadka
f193d1af3e designate: allow designate_ns_record to be a list
In most real world deployments, there will be multiple backend DNS
servers, allow to specify all of them for the pool configuration.

Change-Id: Ic9737d0446a807891b429f080ae1bf048a3c8e4a
2022-03-24 08:50:52 +01:00
Zuul
a460943360 Merge "monasca: Remove monasca-grafana leftovers" 2022-03-23 13:06:49 +00:00
Zuul
c02f8586e7 Merge "[CI] Add Venus scenario" 2022-03-23 12:28:52 +00:00
Michal Nasiadka
8fe9872031 monasca: Remove monasca-grafana leftovers
In Xena [1] we removed Monasca Grafana service, but some components were left
to support cleanup operations.

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

Change-Id: Iccc7bc3628bb7cbab1ac28f41c7b7dc7695894c6
2022-03-23 07:04:57 +00:00
Zuul
ce0a7a5070 Merge "Support Prometheus as metrics database for Ceilometer" 2022-03-22 17:48:12 +00:00
Zuul
411c05c2f4 Merge "Ironic: rebootstrap ironic-pxe on upgrade" 2022-03-22 17:39:58 +00:00
Will Szumski
3ca805041b Enable memcached backend for mod_auth_openidc
Change-Id: Ie87a7488dad369464793b47c3d2db67d7dc1694e
2022-03-22 16:29:43 +00:00
Daniel Meyerholt
bbd54f7c75 designate: fix external backend deployment
The backend external tasks which utilize an existing bind9
installation require appropriate permissions to be able to
copy rndc config and key.

Closes-Bug: #1912063
Change-Id: Ie50228a26d635e3db82e41ec266ab820bf58938e
Signed-off-by: Daniel Meyerholt <dxm523@gmail.com>
2022-03-22 11:59:40 +01:00
Radosław Piliszek
1db06b3277 Ironic: rebootstrap ironic-pxe on upgrade
Like other containers.

This ensures that upgrade already updates PXE components and no
additional deploy/reconfigure is needed.

Closes-Bug: #1963752
Change-Id: I368780143086bc5baab1556a5ec75c19950d5e3c
2022-03-21 14:55:14 +00:00
Juan Pablo Suazo
6cf03122ee Support Prometheus as metrics database for Ceilometer
This commit adds support for pushing Ceilometer metrics
to Prometheus instead of Gnocchi or alongside it.


Closes-Bug: #1964135
Signed-off-by: Juan Pablo Suazo <jsuazo@whitestack.com>
Change-Id: I9fd32f63913a534c59e2d17703702074eea5dd76
2022-03-21 14:20:02 +00:00
Mark Goddard
80b311bef7 libvirt: add nova-libvirt-cleanup command
Change Ia1239069ccee39416b20959cbabad962c56693cf added support for
running a libvirt daemon on the host, rather than using the nova_libvirt
container. It did not cover migration of existing hosts from using a
container to using a host daemon.

This change adds a kolla-ansible nova-libvirt-cleanup command which may
be used to clean up the nova_libvirt container, volumes and related
items on hosts, once it has been disabled.

The playbook assumes that compute hosts have been emptied of VMs before
it runs. A future extension could support migration of existing VMs, but
this is currently out of scope.

Change-Id: I46854ed7eaf1d5b5e3ccd8531c963427848bdc99
2022-03-21 11:54:54 +00:00
Mark Goddard
4e41acd8f0 libvirt: make it possible to run libvirt on the host
In some cases it may be desirable to run the libvirt daemon on the host.
For example, when mixing host and container OS distributions or
versions.

This change makes it possible to disable the nova_libvirt container, by
setting enable_nova_libvirt_container to false. The default values of
some Docker mounts and other paths have been updated to point to default
host directories rather than Docker volumes when using a host libvirt
daemon.

This change does not handle migration of existing systems from using
a nova_libvirt container to libvirt on the host.

Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/830504

Change-Id: Ia1239069ccee39416b20959cbabad962c56693cf
2022-03-21 11:54:31 +00:00
Zuul
ed148cd8dd Merge "[external-ceph] Use template instead of copy" 2022-03-19 00:04:33 +00:00
Mark Goddard
692e10eff2 rabbitmq: follow up for classic queue mirror removal
Follow up to I91d0e23b22319cf3fdb7603f5401d24e3b76a56e, which fixes a
conditional corner case when removing the ha-all policy.

Change-Id: Iea75551bc6d0da7dd10515dd8bd28c014eed7a5e
2022-03-18 17:30:33 +00:00
Imran Hussain
4c221be86e [external-ceph] Use template instead of copy
Consistently use template instead of copy. This has the added
advantage of allowing variables inside ceph conf files and keyrings.

Closes-Bug: 1959565

Signed-off-by: Imran Hussain <ih@imranh.co.uk>
Change-Id: Ibd0ff2641a54267ff06d3c89a26915a455dff1c1
2022-03-18 15:09:30 +00:00
Zuul
6c04445c7b Merge "cinder: restart services after upgrade" 2022-03-18 13:47:31 +00:00
Zuul
25fd28598b Merge "Ironic: Avoid setting deprecated pxe_append_params" 2022-03-18 13:37:59 +00:00
Zuul
3a9597fc37 Merge "ADD venus for kolla-ansible" 2022-03-18 13:10:21 +00:00
jinyuanliu
3ccb176f13 ADD venus for kolla-ansible
This project [1] can provide a one-stop solution to log collection,
cleaning, indexing, analysis, alarm, visualization, report generation
and other needs, which involves helping operator or maintainer to
quickly solve retrieve problems, grasp the operational health of the
platform, and improve the level of platform management.

[1] https://wiki.openstack.org/wiki/Venus

Change-Id: If3562bbed6181002b76831bab54f863041c5a885
2022-03-17 20:35:08 +08:00
Zuul
668fecf397 Merge "Adds etcd endpoints as a Prometheus scrape target" 2022-03-16 17:55:00 +00:00
Radosław Piliszek
74ec1fab2a [CI] Add Venus scenario
Venus is a new service for log processing.
This patch adds a CI scenario which tests Venus deployment.

Depends-On: https://review.opendev.org/c/openstack/kolla/+/793795
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/793897
Co-Authored-By: jinyuanliu <liujinyuan@inspur.com>
Change-Id: I0c7ba9e1ae23623b690a213c91ab3a12524d73f8
2022-03-16 14:57:29 +00:00
Maksim Malchuk
3169bdfb95 CI: pin ansible-lint to <6
ansible-lint 6.0.0 introduced requirement to use FQCNs

Change-Id: I3f27c6bcdd200252ebb089f6377294f7e3a911a0
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2022-03-16 13:13:21 +00:00
Zuul
33415ed93e Merge "libvirt: support SASL authentication" 2022-03-12 16:46:54 +00:00
Zuul
f56f070130 Merge "docs: state supported Python version" 2022-03-11 10:17:39 +00:00
Mark Goddard
d2d4b53d47 libvirt: support SASL authentication
In Kolla Ansible OpenStack deployments, by default, libvirt is
configured to allow read-write access via an unauthenticated,
unencrypted TCP connection, using the internal API network.  This is to
facilitate migration between hosts.

By default, Kolla Ansible does not use encryption for services on the
internal network (and did not support it until Ussuri). However, most
other services on the internal network are at least authenticated
(usually via passwords), ensuring that they cannot be used by anyone
with access to the network, unless they have credentials.

The main issue here is the lack of authentication. Any client with
access to the internal network is able to connect to the libvirt TCP
port and make arbitrary changes to the hypervisor. This could include
starting a VM, modifying an existing VM, etc. Given the flexibility of
the domain options, it could be seen as equivalent to having root access
to the hypervisor.

Kolla Ansible supports libvirt TLS [1] since the Train release, using
client and server certificates for mutual authentication and encryption.
However, this feature is not enabled by default, and requires
certificates to be generated for each compute host.

This change adds support for libvirt SASL authentication, and enables it
by default. This provides base level of security. Deployments requiring
further security should use libvirt TLS.

[1] https://docs.openstack.org/kolla-ansible/latest/reference/compute/libvirt-guide.html#libvirt-tls

Depends-On: https://review.opendev.org/c/openstack/kolla/+/833021
Closes-Bug: #1964013
Change-Id: Ia91ceeb609e4cdb144433122b443028c0278b71e
2022-03-10 16:57:16 +00:00
Adrian Andreias
78b18ffc0e docs: state supported Python version
Closes-Bug: #1880290
Change-Id: If9e66c505ab1672ae6b7639872a626ad5a9408ab
2022-03-10 10:52:44 +00:00
Zuul
f26b9cd8ad Merge "Fix prechecks for "Ironic iPXE" container" 2022-03-10 09:38:57 +00:00