5974 Commits

Author SHA1 Message Date
Radosław Piliszek
9ff2ecb031 Refactor and optimise image pulling
We get a nice optimisation by using a filtered loop instead
of task skipping per service with 'when'.

Partially-Implements: blueprint performance-improvements
Change-Id: I8f68100870ab90cb2d6b68a66a4c97df9ea4ff52
2021-08-10 11:57:54 +00:00
Zuul
63be501318 Merge "baremetal: use docker_yum_gpgkey to fetch docker GPG key" 2021-08-09 15:36:49 +00:00
Zuul
a81c6dabdc Merge "neutron: fix neutron-server config.json with VMware" 2021-08-09 11:09:23 +00:00
Zuul
214d34ca7b Merge "Extra var ironic_enable_keystone_integration added." 2021-08-09 10:53:20 +00:00
Mark Goddard
2c786a0faf neutron: fix neutron-server config.json with VMware
Missing comma in config.json template rendered invalid JSON with VMware
plugin agent.

Closes-Bug: #1939080

Change-Id: I3d0c6421e3da7e1e753b99cf87c32fc238a21523
2021-08-09 09:29:51 +01:00
Zuul
a63b4ef85a Merge "Elevated privileges required to set owner/group/mode by ansible" 2021-08-06 15:12:52 +00:00
Ilya Popov
da4fd2d6a2 Extra var ironic_enable_keystone_integration added.
Basically, there are three main installation scenario:

Scenario 1:
Ironic installation together with other openstack services
including keystone. In this case variable enable_keystone
is set to true and keystone service will be installed
together with ironic installation. It is possible realise this
scenario, no fix needed

Scenario 2:
Ironic installation with connection to already installed
keystone. In this scenario we have to set enable_keystone
to “No” to prevent from new keystone service installation
during the ironic installation process. But in other hand,
we need to have correct sections in ironic.conf to provide
all information needed to connect to existing keystone.
But all sections for keystone are added to ironic.conf only
if enable_keystone var is set to “Yes”. It isn’t possible
to realise this scenario. Proposed fix provide support for
this scenario, where multiple regions share the same
keystone service.

Scenario 3:
No keystone integration. Ironic don't connect to Keystone.
It is possible realise this scenario, no fix needed

Proposed solution also keep the default behaviour: if no
enable_keystone_integration is manually defined by default
it takes value of enable_keystone variable and all behaviour
is the same. But if we don't want to install keystone and
want to connect to existing one at the same time, it will be
possible to set enable_keystone var to “No”
(preventing keystone from installation) and at the same
time set ironic_enable_keystone_integration to Yes to allow
needed section appear in ironic.conf through templating.

Change-Id: I0c7e9a28876a1d4278fb2ed8555c2b08472864b9
2021-08-06 17:58:48 +03:00
Zuul
1a4a8c1615 Merge "Reduce container metrics cardinality" 2021-08-06 14:47:38 +00:00
Zuul
be129d3100 Merge "Fix config action when OVN is enabled" 2021-08-06 14:25:55 +00:00
Zuul
3f67a96510 Merge "Blazar: Fix support for external keystone in multiregion deploy" 2021-08-06 14:12:21 +00:00
Zuul
bb05cf1150 Merge "Remove support for Prometheus v1" 2021-08-06 14:12:18 +00:00
Zuul
bb1522e380 Merge "[manila] Drop tenant_id templating from v2 endpoint" 2021-08-06 14:12:15 +00:00
Zuul
295c69b5ee Merge "Remove tempest role" 2021-08-06 14:04:55 +00:00
Zuul
caf763f7c3 Merge "Use Docker healthchecks for kuryr services" 2021-08-06 14:04:53 +00:00
Zuul
762e840a50 Merge "Use Docker healthchecks for zun services" 2021-08-06 14:04:51 +00:00
Zuul
c6f7feec48 Merge "Use Docker healthchecks for ceilometer services" 2021-08-06 13:58:58 +00:00
Alexander Evseev
7f98238b64 Elevated privileges required to set owner/group/mode by ansible
Elevated (root) privileges are required to set owner/group/mode when
target owner does not math the user running Ansible. Without it the
playbook fails with 'Permission denied' error.

Change-Id: Ie7455a5f1ed709dfb9c9d7c653c6f808c00af4c2
2021-08-06 12:39:32 +00:00
Piotr Parczewski
0d79d25fe9 Remove support for Prometheus v1
Change-Id: I0d7c7f47e6653cf2903589a9c86798a8c6404af5
2021-08-05 21:07:22 +02:00
Zuul
01c62fa1b6 Merge "Fix nova deployment failure when rabbitmq is disabled" 2021-08-04 13:12:14 +00:00
Zuul
d5b7af30e8 Merge "Fix deployment failure when kolla_dev_mod is enabled" 2021-08-04 13:00:58 +00:00
Zuul
94d7311b57 Merge "Do not run timesync checks on deployment host" 2021-08-04 12:40:38 +00:00
Zuul
87777b3601 Merge "Fix freezed spice console in horizon" 2021-08-04 12:21:45 +00:00
Zuul
80758f44d4 Merge "Trivial fix horizon's healthcheck when SSL turned on" 2021-08-03 11:07:43 +00:00
Zuul
82441350f2 Merge "watcher: add missing become for copying configs" 2021-08-03 09:23:57 +00:00
Zuul
ef6698dc76 Merge "Fix incorrect config of linuxbridge multiple external networks" 2021-08-02 20:07:07 +00:00
Michal Arbet
6ac4638cfb Trivial fix horizon's healthcheck when SSL turned on
This patch is fixing docker healthcheck for horizon
by changing value of horizon_listen_port, so
both apache's virtualhost and healthcheck will have
same correct port always. Also removing useless
apache's redirect as all redirects are done on
haproxy side.

Closes-Bug: #1933846
Change-Id: Ibb5ad1a5d1bbc74bcb62610d77852d8124c4a323
2021-08-02 19:58:37 +02:00
Michal Arbet
281c9935da Do not run timesync checks on deployment host
Kolla-ansible install python docker library in role/baremetal
to group/baremetal, because of this get container facts
for timesync checks is failing on deployment host.

This patch adding when conditional, so deployment host
will be skipped as there is no need to run timesync
checks.

Closes-Bug: #1933347
Change-Id: Ifefb9c74ee6a80cdbc458992d0196850ddfe7ffa
2021-08-02 10:03:59 +02:00
Michal Arbet
c281a018c4 Fix freezed spice console in horizon
This trivial patch is setting "timeout tunnel" in haproxy's
configuration for spicehtml5proxy. This option extends time
when spice's websocket connection is closed, so spice will
not be freezed. Default value is set to 1h as it is in novnc.

Closes-Bug: #1938549
Change-Id: I3a5cd98ecf4916ebd0748e7c08111ad0e4dca0b2
2021-08-02 09:55:46 +02:00
Seena Fallah
948e9ae707 watcher: add missing become for copying configs
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Change-Id: Iac1e82710df3ea82c17a6dcbf5d1821362aaa4a5
2021-08-02 11:58:08 +04:30
Zuul
e4a1683f2a Merge "cyborg: add missing become for api-paste.ini" 2021-07-29 15:54:19 +00:00
Zuul
d328265216 Merge "manila: add glance section in manila-share.conf" 2021-07-28 17:28:15 +00:00
Zuul
8e9ad3978a Merge "Delete haproxy_single_service_listen.cfg.j2 template" 2021-07-28 17:16:36 +00:00
LinPeiWen
fca9be3806 Delete haproxy_single_service_listen.cfg.j2 template
Delete the "haproxy_single_service_listen.cfg.j2" template,
which has been replaced by "haproxy_single_service_split.cfg.j2"
and deprecated in the Victoria version

Change-Id: I3599f85afe9d3045820ea1ea70481ea2500e49ac
2021-07-28 13:30:54 +00:00
Goutham Pacha Ravi
004cb75407 [manila] Drop tenant_id templating from v2 endpoint
Manila's wallaby release [1] made it possible for
the v2 endpoint to not include a tenant_id
(project_id). This change was made to
accommodate interactions by system scoped users.

System scoped users cannot interact with an
endpoint that needs the "tenant_id" templating,
because system scoped tokens cannot be resolved
to a particular tenant_id by definition. More
information regarding this change is captured
in the release notes for the project [2] and
the API reference [3].

[1] https://review.opendev.org/c/openstack/manila/+/773709
[2] https://docs.openstack.org/releasenotes/manila/wallaby.html#prelude
[3] https://docs.openstack.org/api-ref/shared-file-system/#shared-file-systems-api

Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
Change-Id: Ice359bc31429a5da403598b9b4a0e1a95d71b83f
2021-07-27 23:03:05 -07:00
wu.chunyang
24d08142d2 Fix nova deployment failure when rabbitmq is disabled
Nova always tries to create the rabbitmq user regardless of
whether RabbitMQ is enabled or not.
This ps also adds an external rabbitmq doc.

Change-Id: Iec517226e4c82ea351889b55689a3efceaadcc76
2021-07-27 22:07:08 +08:00
wuchunyang
24950b3894 Fix incorrect config of linuxbridge multiple external networks
multiple external networks are supported by linuxbridge and OVS.
Currently the config template only works for OVS

Closes-Bug: #1863935
Change-Id: I9da331e007c25c4a760839c566831769a68507a9
2021-07-27 17:11:42 +08:00
Mark Goddard
5cb080247b cyborg: add missing become for api-paste.ini
Co-Authored-By: Boris Lukashev

Change-Id: I52eaf823ae84e01a09a6dcfcbffd7221ff8abfac
Closes-Bug: #1937911
2021-07-27 08:53:06 +01:00
Zuul
54eb323b32 Merge "ironic: always enable conductor HTTP server" 2021-07-22 11:57:39 +00:00
Zuul
5d5c3921c7 Merge "Fix ironic_ipxe healthcheck on Debian/Ubuntu" 2021-07-22 11:57:08 +00:00
Mark Goddard
411668ea5a ironic: always enable conductor HTTP server
In the Xena release, Ironic removed the iSCSI driver [1]. The
recommended driver is direct, which uses HTTP to transfer the disk
image. This requires an HTTP server, and the simplest option is to use
the one currently deployed when enable_ironic_ipxe is set to true. For
this reason, this patch always enables the HTTP server running on the
conductor.

iPXE is still enabled separately, since it cannot currently be used at
the same time as PXE.

[1] https://review.opendev.org/c/openstack/ironic/+/789382

Change-Id: I30c2ad2bf2957ac544942aefae8898cdc8a61ec6
2021-07-22 09:46:46 +01:00
Zuul
646be6589d Merge "Fix Masakari host monitor default config" 2021-07-22 02:23:43 +00:00
wu.chunyang
200e36da7d Fix deployment failure when kolla_dev_mod is enabled
trivial fix

Change-Id: I43bc11183c2fa9773811a74a93c37cecceed7454
2021-07-21 21:31:52 +08:00
Mark Goddard
aa28675ca9 Fix ironic_ipxe healthcheck on Debian/Ubuntu
The healthcheck checks for a process called httpd, but these distros
call it apache2.  This results in the ironic_ipxe container being marked
as unhealthy.

This change fixes the issue by making the process name distro dependent.

Change-Id: I0b0126e3071146e7f8593ba970ecbed65b36fcfa
Closes-Bug: #1937037
2021-07-21 10:03:44 +01:00
Kyle Dean
2e4f51f671 manila: add glance section in manila-share.conf
Since the Victoria release, manila-share.conf requires a glance section
for some drivers. This change adds the missing section.

It also uses the correct cinder_keystone_user variable to reference the
cinder user.

Closes-Bug: #1921935

Change-Id: Ib7ce4ed79c28456281087eb4156577f910c072e7
2021-07-20 08:58:26 +01:00
Zuul
37601e2be4 Merge "Fix typo in keystone role" 2021-07-19 12:30:27 +00:00
Zuul
e7c39aa419 Merge "Robustify fluentd output tag matching" 2021-07-19 11:16:46 +00:00
Christian Berendt
220d4fbbce Fix typo in keystone role
Change-Id: I096971a0a69ff0fc29946fbdb70cf26ead922a8c
2021-07-15 15:48:04 +02:00
Zuul
6ea8390a12 Merge "Extend support for custom Grafana dashboards" 2021-07-12 16:00:47 +00:00
Piotr Parczewski
c2ae21fd97 Reduce container metrics cardinality
Adds support for passing extra runtime options to cAdvisor.
By default new options disable exporting rarely useful metrics
and labels by cAdvisor. This helps reducing the load on Prometheus
and cAdvisor itself.

Change-Id: I81f3845d6cd03a70a0c8569f8d0ea421027df083
2021-07-08 16:31:44 +02:00
Mark Goddard
54737cd13f baremetal: use docker_yum_gpgkey to fetch docker GPG key
Currently, if you override docker_yum_url, the repo must contain a GPG
key at {{ docker_yum_url }}/gpg, despite the fact that the GPG key URL
can be overridden separately via docker_yum_gpgkey. This change uses
docker_yum_gpgkey consistently, avoiding the need to keep the key in the
repo.

Closes-Bug: #1934913
Change-Id: If8e6a02ce0760123f7b076c711727ef575965192
2021-07-07 17:22:32 +01:00