12558 Commits

Author SHA1 Message Date
Mark Goddard
80a32c3c74 cinder: restart services after upgrade
This patch is roughly an adaptation of
Ia6fc9011ee6f5461f40a1307b72709d769814a79 for cinder.

During an upgrade, cinder pins the version of RPC calls to the minimum
seen across all services. This ensures that old services do not receive
data they cannot handle. After the upgrade is complete, all cinder
services are supposed to be reloaded to cause them to check again the
RPC versions of services and use the new latest version which should now
be supported by all running services.

There is a second issue in that it takes some time for the upgraded
services to update the cinder services database table with their new
version. We need to wait until all cinder services have done this
before the restart is performed, otherwise the RPC version cap will
remain in place. There is currently no interface in cinder available for
checking these versions, so as a workaround we use a configurable
delay with a default duration of 30 seconds, as we do for nova.

This change restarts all cinder services after an upgrade, after a 30
second delay.

Closes-Bug: #1954932
Related-Bug: #1833069

Change-Id: I9164dc589386d2c2d4daf1bf84061b806ba9988d
2021-12-18 09:42:24 +00:00
Zuul
db789efce0 Merge "Update dnsmasq logging" 2021-12-09 14:31:39 +00:00
Michal Nasiadka
675d4f55d5 bifrost: set IPA deploy logs dir to /var/log/kolla/ironic
By default those are saved in /var/log/ironic/deploy.
Change of path was introduced by [1] since Victoria.

[1]: https://review.opendev.org/c/openstack/bifrost/+/742854

Change-Id: I0fb69a06d6565d633f9ea0e37e0a780a70bb0ced
2021-12-09 11:34:51 +01:00
Dmitry Tantsur
10616fb19a Prepare tests for the Ironic combined service
In I51bf7226aea145dc7c8fd93d61caa233ca16c9c9 we are introducing a way to
run Ironic API and conductor in one process. In the Bifrost change
I9faecfe6ece6d3c35396e3378c1e3930a487e130 we are switching Bifrost to
it, which breaks the Kolla job.

This change makes get_logs.sh aware of the new service. Also drop
RabbitMQ since Bifrost hasn't supported it for a while already.

Change-Id: I30ac6bd4332dacbdce1f5e25bd6a97d2982b208e
2021-12-06 11:39:14 +01:00
Zuul
a338df77f1 Merge "Fix monasca-thresh upgrade" 2021-12-04 21:28:25 +00:00
Zuul
d894d97c5b Merge "Finish removing Monasca Log Transformer" 2021-12-04 21:28:22 +00:00
Zuul
80632b3958 Merge "openvswitch: move from docker exec to openvswitch_db" 2021-12-04 21:06:30 +00:00
Zuul
4ebdf54733 Merge "[release] Set previous_release to xena" 2021-12-02 15:42:37 +00:00
Pierre Riteau
b06784e875 Fix monasca-thresh upgrade
Change Ib225d76076782d695c9387e1c2693bae9a4521d7 introduced a new
upgrade task for monasca-thresh. Because the task is not restricted to
the correct group, it fails while trying to stop monasca_thresh on hosts
not running this container.

Change-Id: I33c2c458a98145315b0de0c069f13b83f59622eb
Closes-Bug: #1952408
2021-11-26 11:04:41 +01:00
Maksim Malchuk
fa2a0d572b Cleanup leftovers of the removed tempest role
Remove the role directory and one file left atfer
If3cf073e88c83f670c867a49afe48845f9e81008

Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
Change-Id: I6c3b46b858ef4f1954a99bccd10b80973a57ba77
2021-11-26 01:24:16 +03:00
Zuul
fb60cf8aad Merge "Remove unused region_name option" 2021-11-25 18:47:56 +00:00
Michal Nasiadka
8df6cf4814 openvswitch: move from docker exec to openvswitch_db
Change-Id: Ifee8af246312cad5b68ff1bf2793963bf7028dc8
2021-11-25 05:55:23 +00:00
Mark Goddard
999e3dbc97 CI: Test minimum and maximum supported ansible versions
Change-Id: I7b1e36edb1680220c6fe082fbf5eefdd633c8cfa
2021-11-24 17:49:29 +00:00
Zuul
e80b877d26 Merge "Specify log file name for Nova API" 2021-11-23 13:09:29 +00:00
Zuul
e5fa78fe79 Merge "Add kolla-ansible --version option" 2021-11-23 10:36:22 +00:00
Seena Fallah
b5282d4ed4 haproxy: remove unused tls check condition in config
The check condition is similar to the previous if and it can be merged

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Change-Id: I62213d91945de42ffc87ecad1e96fa4fc0760f10
2021-11-17 03:08:52 +03:30
Zuul
80a00705b2 Merge "The deprecated iscsi deploy interface has been removed since xena" 2021-11-16 16:47:42 +00:00
Adrian Andreias
d4a2c14039 Add kolla-ansible --version option
Closes-Bug: #1878280
Change-Id: I0d39a015639adf3d75780edc765bebcb85c2b42e
Signed-off-by: Adrian Andreias <adrian@fleio.com>
2021-11-15 13:44:50 +02:00
Doug Szumski
5b06115be8 Finish removing Monasca Log Transformer
This service was disabled in the Wallaby release and all
references to it can now be removed.

Change-Id: I482640dd63959143732d86fcffb320cc94611247
2021-11-15 10:40:21 +00:00
likui
42035e211f The deprecated iscsi deploy interface has been removed since xena
[1] https://docs.openstack.org/releasenotes/ironic/xena.html

Change-Id: Ic0dd9fa7ef76b647682e124b1bae52e931a38225
2021-11-15 18:30:59 +08:00
Zuul
5e74279e1c Merge "docs: Get release name dynamically" 2021-11-15 10:26:00 +00:00
Doug Szumski
76d4a054cf Specify log file name for Nova API
When only the directory is specified, separate log files
are created for the Nova API / metadata services with a
-wsgi postfix. This affects the 'programname' field in
Fluentd which affects the processing of these logs. This
is a regression.

When the log file name is specified, the directory is
not required.

Closes-Bug: #1950185
Change-Id: I8fec8b787349f83c05d8af7f52fc58da7c3e9cc4
2021-11-15 10:00:26 +00:00
Zuul
b9c1d10773 Merge "docs: Install openstack-client with upper constraints" 2021-11-12 10:59:53 +00:00
Zuul
724a279b8c Merge "docs: stop installing kolla in quickstart" 2021-11-12 10:59:50 +00:00
Zuul
28d5fdf0f7 Merge "Stop creating unused cron/logrotate directory" 2021-11-12 10:59:47 +00:00
Mark Goddard
c966bcf9ac docs: stop installing kolla in quickstart
We don't need kolla to use kolla-ansible, and installing it makes the
start less quick.

Change-Id: I81d2dae0f8f4d0d4c6e359e1d7d954d6e190b742
2021-11-11 09:13:30 +00:00
Adrian Andreias
831c31600a docs: fix venv path "share/share"
Wrong venv path
/path/to/venv/share/share/kolla-ansible/init-runonce
added in
https://review.opendev.org/c/openstack/kolla-ansible/+/816074

Signed-off-by: Adrian Andreias <adrian@fleio.com>
Change-Id: Icf4d804416723308e6e1c2bbf2b8636032eb16ca
Signed-off-by: Adrian Andreias <adrian@fleio.com>
2021-11-10 16:02:33 +02:00
Adrian Andreias
16acc3edfe docs: Install openstack-client with upper constraints
Change-Id: I0419c68c18597bba4ff894b0a6c4a5ec007a8b4a
Signed-off-by: Adrian Andreias <adrian@fleio.com>
2021-11-10 12:45:31 +02:00
Zuul
d707c0a50e Merge "docs: Fix python-openstackclient package name and init-runonce path" 2021-11-09 21:07:23 +00:00
Zuul
ad50658120 Merge "Replace deprecated assertRaisesRegexp" 2021-11-09 21:07:20 +00:00
Mark Goddard
feb70547c1 [release] Set previous_release to xena
This defines which release we upgrade from in CI.

Also remove some Wallaby upgrade compatibility code in CI playbooks

Change-Id: I18912178392973337ca4115dec3816f1b3944ad5
2021-11-09 17:37:00 +00:00
Adrian Andreias
9dbd6d12e3 docs: Get release name dynamically
Address comments in https://review.opendev.org/c/openstack/kolla-ansible/+/815043

Related-Bug: #1844710
Change-Id: Ibe51db5060e8d809539f5e929a65f285e0f7d343
Signed-off-by: Adrian Andreias <adrian@fleio.com>
2021-11-09 15:10:52 +02:00
wu.shiming
b218b29c38 Replace deprecated assertRaisesRegexp
The assertRaisesRegexp method has been deprecated since it was renamed
to assertRaisesRegex in Python 3.2.

https://docs.python.org/3/library/unittest.html#deprecated-aliases

Change-Id: I38ed4bebee3617267463d13d8f12bc083ab74ac2
2021-11-09 09:02:43 +08:00
wu.chunyang
d7706aac1b Fix octavia doesn't set subnet gateway_ip
the gateway_ip should be in subnet dict.

Closes-Bug: #1949260
Change-Id: Iaa3fc69ee7954b5b202b0a6052c30bfb1780e84b
2021-11-08 23:10:48 +08:00
Zuul
12035a7049 Merge "Grafana: Run priviliged when copying home dashboard file" 2021-11-05 12:28:47 +00:00
Adrian Andreias
6f0783ffa7 docs: Fix python-openstackclient package name and init-runonce path
Related-Bug: #1949198
Change-Id: I2bd1a3674f8dd254b55634903a4c046293557e18
Signed-off-by: Adrian Andreias <adrian@fleio.com>
2021-11-04 22:33:26 +02:00
Zuul
ed5ad62a09 Merge "mariadb: use add_host to include inactive hosts in shard grouping" 2021-11-04 11:02:41 +00:00
Zuul
8fee16dcfc Merge "Fix wrong opts in cyborg.conf" 2021-11-01 10:35:30 +00:00
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