12596 Commits

Author SHA1 Message Date
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
Radosław Piliszek
9ef6bb2d96 [CI] Stop adding the DROP workaround
Since Wallaby, we default to disabling Docker's iptables
management, thus making the code being removed here obsolete.

Change-Id: Ieb7774f2380a811070aea27964a39e4c8cb02083
2021-09-30 16:47:22 +00:00
Zuul
bfba65f286 Merge "Add support for Ceph RadosGW integration" 2021-09-30 16:06:48 +00:00
Zuul
2e9d9148f6 Merge "Deploy source type images by default" 2021-09-30 14:30:34 +00:00
Mark Goddard
8c5012e940 Add support for Ceph RadosGW integration
* Register Swift-compatible endpoints in Keystone
* Load balance across RadosGW API servers using HAProxy

The support is exercised in the cephadm CI jobs, but since RGW is
not currently enabled via cephadm, it is not yet tested.

https://docs.ceph.com/en/latest/radosgw/keystone/

Implements: blueprint ceph-rgw

Change-Id: I891c3ed4ed93512607afe65a42dd99596fd4dbf9
2021-09-30 13:08:13 +00:00
Zuul
9e380bf11c Merge "Transition Keystone admin user to system scope" 2021-09-30 09:33:10 +00:00
Michał Nasiadka
393dfbf651 docs: ceph: add copy-on-write for Glance
Change-Id: I51e2b62f563e66b6bb919621272662f3f8721eb2
2021-09-30 08:32:26 +00:00
Mark Goddard
66c84843e4 Deploy source type images by default
Source images get the most test coverage, so it makes sense to deploy
these by default.

Change-Id: I8d0c8750e2c1600e84cc2e677a4eae0e9f502dac
2021-09-30 08:07:48 +00:00
Radosław Piliszek
1bfed045cf Do not set net.ipv4.ip_forward sysctl
To prevent a security issue.
More details in the reno.

Change-Id: I8bb398e299aa68147004723a18d3a1ec459011e5
Closes-Bug: #1945453
2021-09-29 15:19:12 +00:00
Niklas Hagman
2e933dceb5 Transition Keystone admin user to system scope
A system-scoped token implies the user has authorization to act on the
deployment system. These tokens are useful for interacting with
resources that affect the deployment as a whole, or exposes resources
that may otherwise violate project or domain isolation.

Since Queens, the keystone-manage bootstrap command assigns the admin
role to the admin user with system scope, as well as in the admin
project. This patch transitions the Keystone admin user from
authenticating using project scoped tokens to system scoped tokens.
This is a necessary step towards being able to enable the updated oslo
policies in services that allow finer grained access to system-level
resources and APIs.

An etherpad with discussion about the transition to the new oslo
service policies is:

https://etherpad.opendev.org/p/enabling-system-scope-in-kolla-ansible

Change-Id: Ib631e2211682862296cce9ea179f2661c90fa585
Signed-off-by: Niklas Hagman <ubuntu@post.blinkiz.com>
2021-09-28 09:45:06 -07:00
Radosław Piliszek
27dd69a7f6 [mariadb] Drop some old workaround
innodb_lock_schedule_algorithm setting is removed in MariaDB 10.6.

Change-Id: I1ff06162569c46c51847b4c31933861549787c65
Depends-On: https://review.opendev.org/c/openstack/kolla/+/811014
2021-09-28 12:59:24 +00:00
Zuul
56938253a7 Merge "Add way to change weight of haproxy backend per service" 2021-09-28 12:22:55 +00:00
Radosław Piliszek
2c6bc0bd1a Do not create haproxy and swift log dirs needlessly
Closes-Bug: #1945070
Change-Id: I1b2a82b57cb9884b6c3c3ad07f6449ae29042a3d
2021-09-27 16:01:47 +00:00
Zuul
bd3cbe8b26 Merge "docs: adding and removing host: add --all-projects option" 2021-09-27 10:51:41 +00:00
Zuul
f7d5cebce2 Merge "Use mariadb_tag as default for all mariadb tags" 2021-09-27 10:51:39 +00:00
Michal Arbet
7c2b4bead2 Add way to change weight of haproxy backend per service
This patch adding option to control weight of haproxy
backends per service via host variable.

Example:

[control]
server1 haproxy_nova_api_weight=10
server2 haproxy_nova_api_weight=2 haproxy_keystone_internal_weight=10
server3 haproxy_keystone_admin_weight=50

If weight is not defined, everything is working as before.

Change-Id: Ie8cc228198651c57f8ffe3eb060875e45d1f0700
2021-09-26 09:43:57 +02:00
Zuul
d85af34ccd Merge "Bump up Ansible max supported ver to 4.x" 2021-09-24 16:43:01 +00:00
Zuul
59e6688a0c Merge "Add check and diff options to kolla-ansible" 2021-09-24 16:30:46 +00:00
Zuul
3101c5abc3 Merge "Skip setting rp_filter by default" 2021-09-23 19:14:55 +00:00