12596 Commits

Author SHA1 Message Date
Michał Nasiadka
1b650534c0 Bump up Ansible max supported ver to 4.x
This change bumps up max supported Ansible version
to 4.x (ansible-core 2.11.x) and minimum to 2.10.

Change-Id: I8b9212934dfab3831986e8db55671baee32f4bbd
2021-09-23 10:45:31 +00:00
Piotr Parczewski
4ff65b7661 Use friendly target names in Prometheus
Change-Id: I16fdb2f93ddb656eeacd3f2b84190f9bdcfaa21c
2021-09-22 11:09:32 +02:00
Michal Arbet
0e720b382b Add check and diff options to kolla-ansible
This patch is adding --check and --diff options
to kolla-ansible, which cause that kolla-ansible
run will be more verbose and able to run in
semi dry-run mode.

The --diff option for kolla-ansible can be used alone or
with --check. When you run in diff mode, any module that
supports diff mode reports the changes made or, if used
with --check, the changes that would have been made.
Diff mode is most common in modules that manipulate files
(for example, the template module) but other modules might
also show ‘before and after’ information
(for example, the user module).

For more information check [1].

[1] https://docs.ansible.com/ansible/latest/user_guide/playbooks_checkmode.html#using-diff-mode

Change-Id: Ifb82ea99e5af82540e938eab9e2a442b2820d7df
2021-09-21 17:08:39 +02:00
Mark Goddard
6dc8b56390 Use mariadb_tag as default for all mariadb tags
This allows one variable to specify the tag for all MariaDB images.

Change-Id: I164cdd41787f8bd52d8e08cb380d42625a8bbd84
TrivialFix
2021-09-21 06:50:41 +00:00
Zuul
daf2a39643 Merge "Fix neutron upgrade using host limit without controllers" 2021-09-20 23:11:19 +00:00
Zuul
552c113cd4 Merge "CI: stop setting ceph_nova_user" 2021-09-20 20:47:09 +00:00
Zuul
27f338a939 Merge "use ironic user in ironic_neutron_agent.ini file" 2021-09-20 20:03:12 +00:00
Zuul
cdaa0dbe24 Merge "Add disable_firewall variable" 2021-09-20 19:57:38 +00:00
Zuul
e06e531089 Merge "Add kolla-ansible gather-facts command" 2021-09-20 18:54:29 +00:00
Zuul
000b347431 Merge "Remove haproxy,keepalived groups" 2021-09-20 18:09:00 +00:00
Zuul
7cf30017ea Merge "Add Alertmanger metric target(s)" 2021-09-20 18:08:56 +00:00
Radosław Piliszek
2cf9ae2cf5 Do not enable mariadb-clustercheck when not needed
Closes-Bug: #1944114
Change-Id: Idd525fda7ff94f70794f4c582cd74470c7f40fae
2021-09-20 09:58:56 +00:00
Radosław Piliszek
0d9477de38 Switch default images source to quay.io
Docs adapted to match.
Removed the unsupported-for-quay option to set up
a pull-through cache.

Closes-Bug: #1942134
Change-Id: If5a26b1ba4bf35bc29306c24f608396dbf5e3371
2021-09-16 17:27:39 +00:00
Michal Arbet
f0241f807f Remove haproxy,keepalived groups
Haproxy was renamed in [1].

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

Change-Id: Ib2d7f0774fede570a8c4c315d83afd420c31da0b
2021-09-16 13:41:13 +02:00
Zuul
3455105321 Merge "gnocchi: fix external ceph integration when gnocchi-statsd is disabled" 2021-09-15 09:33:03 +00:00
Bernd Mueller
ae69994db7 use ironic user in ironic_neutron_agent.ini file
Signed-off-by: Bernd Mueller <mueller@b1-systems.de>
Change-Id: Idb8a82acbd8193fd3fe71c080a1c57e8614d89ec
2021-09-13 10:55:03 +02:00
Pierre Riteau
72e0673989 Fix neutron upgrade using host limit without controllers
When running kolla-ansible upgrade with a host limit that does not
include controllers, the neutron upgrade fails.

Change-Id: I7125a6ef1f180db6997026ff27e84feb04ee239d
Closes-Bug: #1939691
2021-09-10 22:22:40 +02:00
Radosław Piliszek
c7bec2f30a [CI] Fix upgrade with kolla-build
Continuing fixing CI after [1], this patch fixes the other branch
that [2] has not previously included.

[1] https://review.opendev.org/c/openstack/kolla-ansible/+/805449
[2] 02e07a0860e8ca8bc1d6d7716e44bd2888591ecd

Change-Id: I44014a93b92b5a8782e34cf394881dec74cdeea1
2021-09-10 12:56:58 +00:00
Michał Nasiadka
02e07a0860 CI: Temporarily enable insecure registry
As a result of https://review.opendev.org/c/openstack/kolla-ansible/+/805449
CI is failing, because we don't have a TLS certificate on our registry.

This workaround will get our CI to be green while a proper patch
(TLS certs for registry) can be worked out.

Change-Id: Ia45c8a764a1f87d1c44717c4da3b9a3f94cdc967
2021-09-10 07:31:33 +02:00
Zuul
a1a22b3a89 Merge "toolbox: Allow different users logging to ansible.log" 2021-09-09 15:55:27 +00:00
Zuul
2bd945b0f6 Merge "Add a ovsdb_timeout variable for better configuration" 2021-09-09 11:01:11 +00:00
Zuul
f27c409eea Merge "Bump libvirtd memlock ulimit" 2021-09-09 10:58:27 +00:00
Zuul
f99bf8325f Merge "Never make Docker registry insecure by default" 2021-09-09 10:49:03 +00:00
Zuul
3b13a87288 Merge "[CI] Test instance health after upgrade" 2021-09-09 10:46:03 +00:00
Zuul
44c7b166cf Merge "Use Docker healthchecks for mistral services" 2021-09-08 16:07:51 +00:00
Hongbin Lu
21b4dc5416 Zun: Temporarily skip capsule test for ubuntu
Related-Bug: #1941982
Change-Id: I0e03db1177931ee6d17b21f614573575c3493eef
2021-09-07 21:09:55 +08:00
Michał Nasiadka
24e6a6ced0 toolbox: Allow different users logging to ansible.log
Currently only operations done with default kolla_toolbox user are logged
to /var/log/kolla/ansible.log.

In order to fix logging, permissions to ansible.log must allow writing
for other users in kolla group - and then a separate patch will follow
to make custom ansible.cfg file usable by other toolbox users.

Partial-Bug: #1942846
Change-Id: I1be60ac7647b1a838e97f05f15ba5f0e39e8ae3c
2021-09-07 14:12:11 +02:00
Zuul
c48469d2ac Merge "Allow override of rabbitmq config in kolla toolbox" 2021-09-07 10:34:54 +00:00
Zuul
39931aedb4 Merge "Fix kolla-toolbox with IPv6 and disabled RabbitMQ" 2021-09-07 10:34:52 +00:00
Radosław Piliszek
11d7233ccc Bump libvirtd memlock ulimit
This is required for libvirtd with cgroupsv2 (Debian Bullseye and
soon others).
Otherwise, device attachments simply fail.
The warning message suggests filtering will be disabled but it
actually just fails the action entirely.

Change-Id: Id1fbd49a31a6e6e51b667f646278b93897c05b21
Closes-Bug: #1941940
2021-09-03 15:37:13 +00:00
Zuul
b16e676be7 Merge "reno: follow up" 2021-09-03 08:34:31 +00:00
Zuul
0e9a6fe773 Merge "Rename role haproxy to loadbalancer" 2021-09-02 16:18:58 +00:00
Piotr Parczewski
d9e0ca5b3f reno: follow up
corrected nits from:
https://review.opendev.org/c/openstack/kolla-ansible/+/800068
https://review.opendev.org/c/openstack/kolla-ansible/+/803644

Change-Id: Ia30afd795067a36b132a8c75c72dd7c65d624a83
2021-09-02 14:59:26 +02:00
Radosław Piliszek
24e48d4dae [tox] Add docs-iterative command
This is useful for iterative work with docs as it avoids trashing
results from previous builds and thus saves time.

Change-Id: Ic4f710725cbc2d85c28ca4e00c3a32a00a72c2da
2021-08-31 18:32:40 +00:00
Radosław Piliszek
4e473a7848 [tox] Optimise docs actions
Streamline all actions to behave the same (start with clean
env).

Additionally:

- doc envs do not require k-a to be (re)installed (skip_install)

- this change turns on nitpicky mode to catch reference issues
  early

Change-Id: I8ae8a1ca5f6f77ea498573e343889611559b5c97
2021-08-31 18:23:44 +00:00
Radosław Piliszek
daf534b4e0 [CI] Test instance health after upgrade
Just like I added Cinder volume upgrade testing before, let's
also test similarly for Nova and Neutron. :-)

More robust debugging and refactor included.

Related-Bug: #1941706
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/806476
Change-Id: Id79df44254603f9b37ce7da2bfc796fc0b1ac91f
2021-08-30 09:53:45 +00:00
Radosław Piliszek
34c49b9dbe Restore libvirtd cgroupfs mount
It was removed in [1] as part of cgroupsv2 cleanup.
However, the testing did not catch the fact that the legacy
cgroups behaviour was actually still breaking despite latest
Docker and setting to use host's cgroups namespace.

[1] 286a03bad20955aa4d3f7009cef5856d328b76f1

Closes-Bug: #1941706
Change-Id: I629bb9e70a3fd6bd1e26b2ca22ffcff5e9e8c731
2021-08-30 09:33:31 +00:00
Zuul
d04eb75a2a Merge "CI: Don't generate certificates before upgrade" 2021-08-28 14:41:41 +00:00
Zuul
7f5be46c35 Merge "CI: Reduce neutron RPC service workers to 1" 2021-08-27 19:28:15 +00:00
Zuul
415cb6d048 Merge "Replace auth_uri with www_authenticate_uri" 2021-08-27 12:47:41 +00:00
Zuul
83c5d95b47 Merge "Support monitoring Fluentd with Prometheus" 2021-08-27 09:34:12 +00:00
Zuul
81a320482a Merge "[CI] Test Swift upgrades" 2021-08-27 09:31:11 +00:00
Zuul
d104846204 Merge "Use Docker healthchecks for nova-spicehtml5proxy service" 2021-08-27 09:04:51 +00:00
Zuul
26c480ca6f Merge "Use Docker healthchecks for memcached services" 2021-08-27 09:02:17 +00:00
Zuul
e78f4330dd Merge "Use Docker healthchecks for keystone-fernet container" 2021-08-27 09:02:15 +00:00
Zuul
6362dfa942 Merge "Fix Masakari in multi-region deploys" 2021-08-27 08:55:06 +00:00
Zuul
ad093c01ee Merge "Use api-paste.ini from /etc/neutron" 2021-08-27 08:55:04 +00:00
Mark Goddard
d8641e90c3 docs: Add placeholder page for CI & testing information
Change-Id: Iebcac0827c6f715c6b804223cdcf2cc2e425120b
2021-08-25 17:25:30 +01:00
Mark Goddard
d9a3758952 Add kolla-ansible gather-facts command
In some situations it may be helpful to populate the fact cache on
demand. The 'kolla-ansible gather-facts' command may be used to do this.

One specific case where this may be helpful is when running kolla-ansible
with a --limit argument, since in that case hosts that match the limit
will gather facts for hosts that fall outside the limit. In the extreme
case of a limit that matches only one host, it will serially gather
facts for all other hosts. To avoid this issue, run 'kolla-ansible
gather-facts' without a limit to populate the fact cache in parallel
before running the required command with a limit.

Change-Id: I79db9bca23aa1bd45bafa7e7500a90de5a684593
2021-08-25 16:45:39 +01:00
Zuul
0f1c1981bb Merge "Remove an unused file" 2021-08-24 10:17:47 +00:00