12562 Commits

Author SHA1 Message Date
Zuul
300b01d498 Merge "Revert "Do not load br_netfilter"" 2021-10-27 19:14:43 +00:00
Mark Goddard
c93f59cd8e Revert "Do not load br_netfilter"
This reverts commit 15259002beb6b9f35f8eee6529132c6e1a126902.

Reason for revert: The iptables_firewall produces warnings without it.

Change-Id: Id046a3048436c4c18dd1fd9700ac9971d8c42c57
2021-10-27 15:48:43 +00:00
Adrian Andreias
28b3b83cb2 docs: Parameterize kolla-ansible version and branch
Implement simple global variables system in docs and add global variables
KOLLA_OPENSTACK_RELEASE, KOLLA_ANSIBLE_MAJOR_VERSION  and
KOLLA_BRANCH_NAME.

Closes-Bug: #1844710
Change-Id: I2c131463eaf1c51eb8768f6d90e9697c77a7833b
Signed-off-by: Adrian Andreias <adrian@fleio.com>
2021-10-27 17:37:46 +03:00
Marcin Juszkiewicz
9d49c02a60 CI: make Debian source jobs voting
We have Debian support for quite a while. While binary target is not
always up-to-date (due to Debian OpenStack team policy of building only
released code, not git snapshots) source images are expected to just
work.

Change-Id: I2ed6061054bcea12d5b38974ee691e9632d32f05
2021-10-27 16:02:24 +02:00
Margarita Shakhova
0202def4a6 Fix broken deploy of placement service
Correct typo in role's playbook in order to be able to deploy
the service with customized policy file.

Change-Id: I252ffaf73dd2a649387ddacc73286b49f36dfdf2
Closes-Bug: #1948835
2021-10-27 09:07:55 -04:00
Zuul
0ef7c6ed1c Merge "Fix wrong distro assumptions" 2021-10-26 10:03:58 +00:00
Radosław Piliszek
4e5e9abcd2 Fix wrong distro assumptions
It seems some cases were missed in reviews and not fixed by
the previous iterations:
Ifc252ae793e6974356fcdca810b373f362d24ba5
I838e526b930d5276d3ce24f5188262af7eb33280

Change-Id: Id57da1c5024e1efc5810baca8fbe18967cf95a68
2021-10-22 17:06:10 +00:00
Radosław Piliszek
9dee2a92d8 Drop enable_host_ntp
As promised for Xena.

Change-Id: Id634426a1961f0b883068e4ed80e7d1633e5708e
2021-10-22 12:25:34 +00:00
Zuul
7b8332e1aa Merge "mariadb: Remove wsrep-notify.sh" 2021-10-20 11:27:05 +00:00
Zuul
79a5bf2bbe Merge "docs: Improve info about neutron external interface" 2021-10-20 09:38:34 +00:00
Zuul
948088abe2 Merge "Update Manila deploy steps for Wallaby" 2021-10-20 09:36:35 +00:00
Uwe Grawert
82b0e095a5 Grafana: Run priviliged when copying home dashboard file
The copy job for the grafana home dashboard file needs to run
priviliged, otherwise permission denied error occurs.

Closes-Bug: #1947710

Change-Id: Ib15e961e5193af55e45a443305a96667295f3cb7
2021-10-20 11:26:09 +02:00
Mark Goddard
f7403cf4f2 docs: Improve info about neutron external interface
Change-Id: I3a9c49c73a932b3d5ceed65c92190e5d72e27bbb
Closes-Bug: #1626259
2021-10-20 10:05:59 +01:00
Michal Nasiadka
b6b7401c0d mariadb: Remove wsrep-notify.sh
Closes-Bug: #1947534

Change-Id: I08be074c3633cc4fb0a0bc6c9cb8d03eb5226d89
2021-10-20 05:37:57 +00:00
Radosław Piliszek
c94cc4a61a [mariadb] Start new nodes serially
There seems to be a bug in Galera that causes
TASK [mariadb : Check MariaDB service WSREP sync status]
to fail.
One (in case of 3-node cluster) or more (possible with
more-than-3-node clusters) nodes may "lose the race" and get stuck
in the "initialized" state of WSREP.
This is entirely random as is the case with most race issues.
MariaDB service restart on that node will fix the situation but
it's unwieldy.
The above may happen because Kolla Ansible starts and waits for
all new nodes at once.
This did not bother the old galera (galera 3) which figured out
the ordering for itself and let each node join the cluster properly.
The proposed workaround is to start and wait for nodes serially.

Change-Id: I449d4c2073d4e3953e9f09725577d2e1c9d563c9
Closes-Bug: #1947485
2021-10-17 07:58:46 +00:00
4169290856 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Iec3ec0e1a5b2d21bb5bda2db78b0192b54495e4e
2021-10-14 12:21:03 +00:00
259af74862 Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.

Sem-Ver: feature
Change-Id: I5ec222dde45ed36b70547f4d03612e91fc2ea02e
2021-10-14 12:20:58 +00:00
Zuul
0aeb03b1c7 Merge "Tidy up renos before Xena release" 2021-10-13 15:51:46 +00:00
Michal Nasiadka
f9204267ed Tidy up renos before Xena release
Change-Id: If97a3e7b2ff894b4731a33cac0ed011fec25f800
2021-10-13 15:02:14 +00:00
Maksim Malchuk
d559e2c39d Update dnsmasq logging
This change adds the dnsmasq.log for the ironic-dnsmasq container and
also enables more verbose logging when debug logging enabled.
This can be triggered globbaly via 'openstack_logging_debug' or per
service via 'ironic_logging_debug' or 'neutron_logging_debug'.

Change-Id: I0e6b089beb88827effbcc365625eb2df902f5470
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2021-10-12 22:30:42 +03:00
Maksim Malchuk
37e4dba879 Add support for Ironic inspection through DHCP-relay
This change updates documentation, examples and tests to support
Ironic inspection through DHCP-relay. The dnsmasq service should be
configured with more specific format set in the variable
``ironic_dnsmasq_dhcp_range``. See the dnsmasq manual page [1].

[1] https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

Change-Id: I9488a72db588e31289907668f1997596a8ccdec6
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2021-10-12 22:16:04 +03:00
Zuul
525161d2af Merge "Correctly create the dhcp_agent.ini and l3_agent.ini" 2021-10-12 00:04:31 +00:00
Zuul
6ee1661d96 Merge "Do not load br_netfilter" 2021-10-11 15:50:48 +00:00
Zuul
7af8667eb6 Merge "Trivial but necessary fix - loadbalancer weight" 2021-10-11 14:02:43 +00:00
Maksim Malchuk
78260f98e4 Correctly create the dhcp_agent.ini and l3_agent.ini
The section [ovs] is needed only for ovs/ovn configurations.

TrivialFix

Change-Id: If9015b8f53c04cf3257331449ebd50163fabcab0
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2021-10-11 16:37:12 +03:00
Zuul
612937de0f Merge "Fix privileges for MariaDB 10.5" 2021-10-11 11:15:04 +00:00
Zuul
0a6ff9b043 Merge "Do not set net.ipv4.ip_forward sysctl" 2021-10-11 10:55:56 +00:00
Michal Arbet
2455a95f34 Trivial but necessary fix - loadbalancer weight
Weight for haproxy backend was merged in [1] with
tiny bug, there is need to convert to int to check
conditional <= 256. Otherwise, it's not working as
expected.

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

Change-Id: Icb6f5147ebd2a0be52ba4ef6ba4a00bbd0242d3d
2021-10-11 12:03:17 +02:00
Pierre Riteau
834e68a0c4 Stop creating unused cron/logrotate directory
This is unused since we switched to a single config file for logrotate.

Change-Id: I79a5fd84b071b2a127c09ac41c3de9074289fca0
2021-10-08 16:47:50 +02:00
Michal Arbet
f1cbff6b7e Trivial fix shebang in keystone's fernet-node-sync.sh.j2
Change-Id: I86aeafccd2a2bff1d89a40785e1a6715097bb849
2021-10-07 17:44:35 +02:00
Radosław Piliszek
c7c14e1c43 Fix privileges for MariaDB 10.5
"BINLOG MONITOR" and "SLAVE MONITOR" replace
"REPLICATION CLIENT" (which is now an alias for "BINLOG MONITOR").
The validation in Ansible MySQL collection is too simple to
understand aliases and breaks. Hence, let's use the canonical
names and adapt per service according to its needs.

Change-Id: I1175e4846384accd19942620dc155d0c5728e64b
2021-10-07 09:24:31 +00:00
Zuul
351bf158c5 Merge "Docs: Update to opendev.org domain" 2021-10-06 17:08:11 +00:00
Zuul
01470fc7e9 Merge "Use friendly target names in Prometheus" 2021-10-06 16:27:21 +00:00
Zuul
94c46c7b6c Merge "[tox] Add docs-iterative command" 2021-10-06 14:55:12 +00:00
Zuul
e69d380f4b Merge "[tox] Optimise docs actions" 2021-10-06 14:55:08 +00:00
Zuul
61b98f6899 Merge "Do not create haproxy and swift log dirs needlessly" 2021-10-06 14:55:05 +00:00
Zuul
99a9a03c39 Merge "[CI] Stop adding the DROP workaround" 2021-10-06 14:55:02 +00:00
Piotr Parczewski
62b90af553 Docs: Update to opendev.org domain
Curl would not work without -L on old openstack.org URLs.

TrivialFix

Change-Id: I7ed7bd336f4b874fc6027cb9ad20669b08e4a7e9
2021-10-06 13:26:34 +02:00
Marcin Juszkiewicz
0df36ce1e2 Debian: apt-transport-https is transitional package
We do not need anymore as APT already knows how to do HTTPS.

Change-Id: I0b89b17ea2443e4578906afe4b518477462f981f
2021-10-06 11:17:03 +00:00
Zuul
bd6ca6b286 Merge "Do not enable mariadb-clustercheck when not needed" 2021-10-05 10:03:53 +00:00
Zuul
059ace7136 Merge "Switch default images source to quay.io" 2021-10-05 10:03:51 +00:00
Zuul
1b8f5a5608 Merge "Add missing CloudKitty documentation." 2021-10-05 08:52:41 +00:00
Gaël THEROND (Fl1nt)
d5aa73c4ae Add missing CloudKitty documentation.
* Fix various typos and formatting.
* Add documentation about custom collector backend.
* Add documentation about custom storage backend.

Change-Id: If937afc5ce2a2747f464fbaf38a5dcf2e57ba04f
Closes-bug: #1940842
2021-10-04 09:50:30 +00:00
Christian Berendt
4f78c696c2 Do not become root when searching for custom prometheus alert rules files
Change-Id: I6da412d6d3e7d067c8d903ee884711ac509d24aa
2021-10-04 09:49:58 +02:00
Radosław Piliszek
15259002be Do not load br_netfilter
Nor set related sysctls.
More details in the reno.

Change-Id: I898548ecc6df3caa094c3222159b7ba1e16dc211
Closes-Bug: #1945789
2021-10-01 13:23:54 +00:00
Mark Goddard
1d0171fc70 monasca: change default of monasca_ntp_server
Updates the default value of 'monasca_ntp_server' from
'external_ntp_servers[0]' to '0.pool.ntp.org'.  This is due to the
removal of the 'external_ntp_servers' variable as part of the removal of
Chrony deployment.

Change-Id: I2e7538a2e95c7b8e9280eb051ee634b4313db129
2021-10-01 14:07:56 +01:00
Mark Goddard
3b22d334d6 CI: monasca: ignore exited monasca_thresh container
Ignore the monasca_thresh container if it is listed as exited.
The container was recently changed to operate as a 'one shot' container,
submitting a job to storm then exiting. This does not fit with the
usual pattern of Kolla Ansible container usage, but is harmless.

Depends-On: https://review.opendev.org/c/openstack/kolla/+/811977

Change-Id: Id40d2260a67ef604255fb1818d41cdcbc73164d7
2021-10-01 13:08:01 +01:00
Zuul
3e04e0043f Merge "Remove chrony role from kolla" 2021-09-30 21:07:38 +00:00
Zuul
33a7c2864c Merge "docs: ceph: add copy-on-write for Glance" 2021-09-30 18:34:41 +00:00
wu.chunyang
1f71df1a8b Remove chrony role from kolla
chrony is not supported in Xena cycle, remove it from kolla

Moved tasks from chrony role to chrony-cleanup.yml playbook to avoid a
vestigial chrony role.

Co-Authored-By: Mark Goddard <mark@stackhpc.com>

Change-Id: I5a730d55afb49d517c85aeb9208188c81e2c84cf
2021-09-30 18:56:14 +02:00