- Aug 12, 2021
-
-
Michal Arbet authored
Kolla-ansible upgrade task is calling different handlers as deploy task and these handlers are missing healthcheck key. This patch is fixing this. Closes-Bug: #1939679 Change-Id: Id83d20bfd89c27ccf70a3a79938f428cdb5d40fc
-
- Aug 10, 2021
-
-
Radosław Piliszek authored
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
-
Mark Goddard authored
Follow up for I0c7e9a28876a1d4278fb2ed8555c2b08472864b9 which added a ironic_enable_keystone_integration variable to support Ironic in multi-region environments. This change skips Keystone service registration based on ironic_enable_keystone_integration rather than enable_keystone. It also updates the ironic-inspector.conf template to use the new variable. Change-Id: I2ecba4999e194766258ac5beed62877d43829313
-
- Aug 09, 2021
-
-
Mark Goddard authored
Missing comma in config.json template rendered invalid JSON with VMware plugin agent. Closes-Bug: #1939080 Change-Id: I3d0c6421e3da7e1e753b99cf87c32fc238a21523
-
- Aug 06, 2021
-
-
Victor Morales authored
Dumper and Loader are classes seem to be loaded but not used in the merge_yaml file. This change removes them for reducing the number of lines. Change-Id: I87ef305903ab02226fcaa725ece622647d17811c
-
Ilya Popov authored
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
-
Piotr Parczewski authored
Change-Id: Ib9ea83dd0019a4c4703e673a783c45ab07afe4e7
-
Alexander Evseev authored
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
-
- Aug 05, 2021
-
-
Piotr Parczewski authored
Change-Id: I0d7c7f47e6653cf2903589a9c86798a8c6404af5
-
- Aug 02, 2021
-
-
Michal Arbet authored
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
-
Michal Arbet authored
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
-
Michal Arbet authored
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
-
Seena Fallah authored
Signed-off-by:
Seena Fallah <seenafallah@gmail.com> Change-Id: Iac1e82710df3ea82c17a6dcbf5d1821362aaa4a5
-
- Jul 28, 2021
-
-
LinPeiWen authored
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
-
Mark Goddard authored
In Ussuri, nova stopped using separate Ceph keys for the volumes and vms pools by default. Instead, we set ceph_nova_keyring to the value of ceph_cinder_keyring by default, which is ceph.client.cinder.keyring. This is in line with the Ceph OpenStack integration guide [1]. However, the user used by nova to access the vms pool (ceph_nova_user) defaults to nova, meaning that nova will still try to use a ceph.client.nova.keyring, which probably does not exist. We did not see this issue in CI, because we set ceph_nova_user to cinder. This change fixes the issue by setting ceph_nova_user to the value of ceph_cinder_user by default, which is cinder. Closes-Bug: #1934145 Related-Bug: #1928690 [1] https://docs.ceph.com/en/latest/rbd/rbd-openstack/ Change-Id: I6aa8db2214e07906f1f3e035411fc80ba911a274
-
Goutham Pacha Ravi authored
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
-
- Jul 27, 2021
-
-
wu.chunyang authored
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
-
wuchunyang authored
multiple external networks are supported by linuxbridge and OVS. Currently the config template only works for OVS Closes-Bug: #1863935 Change-Id: I9da331e007c25c4a760839c566831769a68507a9
-
Mark Goddard authored
Co-Authored-By: Boris Lukashev Change-Id: I52eaf823ae84e01a09a6dcfcbffd7221ff8abfac Closes-Bug: #1937911
-
- Jul 22, 2021
-
-
Mark Goddard authored
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
-
- Jul 21, 2021
-
-
wu.chunyang authored
trivial fix Change-Id: I43bc11183c2fa9773811a74a93c37cecceed7454
-
Mark Goddard authored
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
-
- Jul 20, 2021
-
-
Kyle Dean authored
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
-
- Jul 15, 2021
-
-
Christian Berendt authored
Change-Id: I096971a0a69ff0fc29946fbdb70cf26ead922a8c
-
- Jul 08, 2021
-
-
Piotr Parczewski authored
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
-
- Jul 07, 2021
-
-
Mark Goddard authored
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
-
Will Szumski authored
Prior to this change, if you generated the config before deploying any of the OVN services, it would fail on these tasks as the services will not have been started. TrivialFix Change-Id: Ia85ef26015ff341bff1414da039bed52f34e7cc0
-
wu.chunyang authored
Remove tempest role as planned Change-Id: If3cf073e88c83f670c867a49afe48845f9e81008
-
- Jul 05, 2021
-
-
Maksim Malchuk authored
We need to correctly set keystone auth api for all cases. By default [1] the keystone_internal_fqdn is equal to the kolla_internal_fqdn, but in multiregion deploy it can be overriden. 1. https://github.com/openstack/kolla-ansible/blob/3a7440b370f5c2bf6f255a6530349a3e680007b9/ansible/group_vars/all.yml#L834 Change-Id: Ib40aafaa9ca360d57e87ffdd81dbc15e603fef99 Signed-off-by:
Maksim Malchuk <maksim.malchuk@gmail.com>
-
- Jul 02, 2021
-
-
Rafael Weingärtner authored
Ansible facts can have a large impact on the performance of the Ansible control host. This patch introduces some control over which facts are gathered (kolla_ansible_setup_gather_subset) and which facts are stored (kolla_ansible_setup_filter). By default we do not change the default values of these arguments to the setup module. The flexibility of these arguments is limited, but they do provide enough for a large performance improvement in a typical moderate to large OpenStack cloud. In particular, the large complex dict fact for each interface has a large effect, and on an OpenStack controller or hypervisor there may be many virtual interfaces. We can use the kolla_ansible_setup_filter variable to help: kolla_ansible_setup_filter: 'ansible_[!qt]*' This causes Ansible to collect but not store facts matching that pattern, which includes the virtual interface facts. Currently we are not referencing other facts matching the pattern within Kolla Ansible. Note that including the 'ansible_' prefix causes meta facts module_setup and gather_subset to be filtered, but this seems to be the only way to get a good match on the interface facts. To work around this, we use ansible_facts rather than module_setup to detect whether facts exist in the cache. The exact improvement will vary, but has been reported to be as large as 18x on systems with many virtual interfaces. For reference, here are some other tunings tried: * Increased the number of forks (great speedup depending of the size of the deployment) * Use `strategy = mitogen_linear` (cut processing time in half) * Ansible caching (little speed up) * SSH tunning (little speed up) Co-Authored-By:
Mark Goddard <mark@stackhpc.com> Closes-Bug: #1921538 Change-Id: Iae8ca4aae945892f1dc65e1b10381d2e26e88805
-
- Jul 01, 2021
-
-
Radosław Piliszek authored
Closes-Bug: #1933209 Change-Id: I644ad475ca88aac0c22b14163d33a30193fe706a
-
Mark Goddard authored
These files got accidentally added back in I7e9d5c9b8b9164d4aee3abb4e37c8f28d98ff5d1. Change-Id: If17e5ae1cfe040f33f8309a97b4dcfa87af862a3
-
- Jun 23, 2021
-
-
Michal Arbet authored
This patch is adding configuration option to manipulate with kernel option sysctl_net_ipv4_tcp_retries2. More informations about kernel option in [1][2] and RedHat suggestion [3] to set for DBs and HA. [1]: https://pracucci.com/linux-tcp-rto-min-max-and-tcp-retries2.html [2]: https://blog.cloudflare.com/when-tcp-sockets-refuse-to-die/ [3]: https://access.redhat.com/solutions/726753 Closes-Bug: #1917068 Change-Id: Ia0decbbfa4e33b1889b635f8bb1c9094567a2ce6
-
Mark Goddard authored
By default, Ansible injects a variable for every fact, prefixed with ansible_. This can result in a large number of variables for each host, which at scale can incur a performance penalty. Ansible provides a configuration option [0] that can be set to False to prevent this injection of facts. In this case, facts should be referenced via ansible_facts.<fact>. This change updates all references to Ansible facts within Kolla Ansible from using individual fact variables to using the items in the ansible_facts dictionary. This allows users to disable fact variable injection in their Ansible configuration, which may provide some performance improvement. This change disables fact variable injection in the ansible configuration used in CI, to catch any attempts to use the injected variables. [0] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inject-facts-as-vars Change-Id: I7e9d5c9b8b9164d4aee3abb4e37c8f28d98ff5d1 Partially-Implements: blueprint performance-improvements
-
Mark Goddard authored
Magnum has various sections in its configuration file for OpenStack clients. When internal TLS is enabled, these may need a CA certificate to be specified. This change adds a CA certificate configuration, based on openstack_cacert, for all clients using internal endpoints. Note: we are explicitly not adding the configuration for the [magnum_client] ca_file and [drivers] openstack_ca_file options, since these use the public endpoint by default. These options may be provided via custom configuration if necessary. Change-Id: Ie59b3777c0a2c142b580addd67e279bc4b2f2c90 Co-Authored-By: Kyle Dean Closes-Bug: #1919389
-
- Jun 22, 2021
-
-
Michal Arbet authored
Closes-Bug: #1933025 Change-Id: Ib67d715ddfa986a5b70a55fdda39e6d0e3333162
-
- Jun 21, 2021
-
-
Radosław Piliszek authored
The variable names are awful but this all agrees with the docs now. Closes-Bug: #1933122 Change-Id: Icd3d140473886ba3c4847859cddccdb3c1376818
-
Radosław Piliszek authored
Following upstream which removed ZFSSA support in Ussuri [1]. [1] https://review.opendev.org/c/openstack/cinder/+/690137 Change-Id: Idb311e18b437fba696759ecb1cf2a6b4803aa5c5
-
- Jun 20, 2021
-
-
Radosław Piliszek authored
Kolla Ansible runs iscsid in the foreground (-f) and a recent change to iscsid in CentOS 8 (both Linux and Stream) caused it to reject setting pid file in such a case. PID file is irrelevant in this scenario so this commit removes its parameter. Closes-Bug: #1933033 Change-Id: Ic0c4beae0c812f3ca68a6ee5cc4daa2fee0f277d
-
Radosław Piliszek authored
This reverts commit c6259158. Reason for revert: cAdvisor fails with: invalid value "percpu,referenced_memory,cpu_topology,resctrl,udp,advtcp,sched,hugetlb,memory_numa,tcp,process" for flag -disable_metrics: unsupported metric "referenced_memory" specified in disable_metrics Change-Id: I1a0eea5c20f95f38c707401b56b7d2454484377d
-