12726 Commits

Author SHA1 Message Date
Seena Fallah
68cd2a0553 mariadb: use add_host to include inactive hosts in shard grouping
In case of running mariadb role with --limit the group_by module will only include the limited hosts and other hosts that are not limited by ansible will not be included.
Using add_host will add all hosts in mariadb group to their shards group

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Change-Id: I1331698e313bd714a16fc35f38fb579d75b56370
Closes-Bug: #1947589
2021-10-28 16:29:05 +00:00
Zuul
93381b3832 Merge "Fix missing Ansible version in the error message" 2021-10-28 14:53:37 +00:00
Zuul
2a9eecd270 Merge "docs: Parameterize kolla-ansible version and branch" 2021-10-28 11:17:41 +00:00
Zuul
0efb691f5d Merge "Fix broken deploy of placement service" 2021-10-28 11:12:47 +00:00
wu.chunyang
172c29cb11 Fix wrong opts in cyborg.conf
Add an empty line between memcache_servers and www_authenticate_uri

Closes-Bug: #1941704
Change-Id: Ied83865eb33aceaf738c21363f02bcccbcd05738
2021-10-28 17:59:43 +08:00
Zuul
e217fcb650 Merge "[mariadb] Drop some old workaround" 2021-10-28 07:20:24 +00:00
Zuul
f98000c98a Merge "CI: make Debian source jobs voting" 2021-10-27 20:39:49 +00:00
Radosław Piliszek
cd13bde880 Fix missing Ansible version in the error message
Change-Id: Iefa8f78142c502ac9e8ebdbb95c94b2b05f99e5b
Closes-Bug: #1948979
2021-10-27 19:17:05 +00:00
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