- Aug 06, 2020
-
-
nikparasyr authored
Glance role copies glance-image-import.conf when enabled to allow configuration of glance interoperable image import. Property protection can be enabled and file is copied. Change-Id: I5106675da5228a5d7e630871f0882269603e6571 Closesl-Bug: #1889272 Signed-off-by:
nikparasyr <nik.parasyr@protonmail.com>
-
- Aug 04, 2020
-
-
Radosław Piliszek authored
These two roles were missing 'stop' and 'deploy-containers', respectively. Change-Id: Iaf434be9baf1973323bb177fad799aea39210fba
-
- Aug 03, 2020
-
-
Mark Goddard authored
Some plays were not applied to all groups referenced by the services they deploy. In most cases this works fine, but if the default inventory is modified this may cause problems where containers are not deployed to hosts in the missing groups, if they are not a member of other groups that the play is targeted to. This change syncs up the play hosts for all services. Closes-Bug: #1889387 Change-Id: I6b92d8e53a29b06a065e0611840140d09c8a6695
-
- Jul 30, 2020
-
-
Radosław Piliszek authored
Masakari was introduced parallelly to deploy-containers action and so we missed to add this functionality to it. Change-Id: Ibef198d20d481bc92b38af786cdf0292b246bb12 Closes-Bug: #1889611
-
Nick Jones authored
With an incorrectly named section, whatever's defined in here is actually ignored which can result in unexpected behaviour. Closes-Bug: 1889455 Change-Id: Ib2e2b53e9a3c0e62a2e997881c0cd1f92acfb39c Signed-off-by:
Nick Jones <nick@dischord.org>
-
- Jul 29, 2020
-
-
likui authored
Option "network_label_regex" from group "DEFAULT" is deprecated for removal. Change-Id: I8aab2ca322159e61e4cbe9a5b30825a71a991e7e
-
- Jul 28, 2020
-
-
Radosław Piliszek authored
If not running containerised chrony, we need to check that host has its own means of system clock synchronization. Change-Id: I31b3e9ed625d63a4bf82c674593522268c20ec4c Partial-Bug: #1885689
-
Mark Goddard authored
Including tasks has a performance penalty when compared with importing tasks. If the include has a condition associated with it, then the overhead of the include may be lower than the overhead of skipping all imported tasks. In the case of the check-containers.yml include, the included file only has a single task, so the overhead of skipping this task will not be greater than the overhead of the task import. It therefore makes sense to switch to use import_tasks there. Partially-Implements: blueprint performance-improvements Change-Id: I65d911670649960708b9f6a4c110d1a7df1ad8f7
-
- Jul 27, 2020
-
-
Radosław Piliszek authored
Modern Ansible handles this just fine. Change-Id: Iea4d0499b92e2449ef8bc01651af6d3548ceab20
-
Radosław Piliszek authored
These are noop after Hyper-V support was removed. Change-Id: Ib451b154893e5cedc366aed83c35f48d92c7ab82
-
Justinas Balciunas authored
This change disables services in the Prometheus openstack-exporter if they are not enabled in the deployment. Such behaviour allows to avoid warnings and errors in the log files and keep the log file contents clean and informative. Change-Id: I4dcac976620a5f451e3d273183199aefe400994a
-
Christian Berendt authored
Change-Id: I2e22ec47f644de2f1509a0111c9e1fffe8da0a1a
-
Dincer Celik authored
Docker is manipulating iptables rules by default to provide network isolation, and this might cause problems if the host already has an iptables-based firewall. This change introduces docker_disable_default_iptables_rules to disable the iptables manipulation by putting "iptables: false" [1] to daemon.json For better defaults, this feature will be enabled by default in Victoria. [1] https://docs.docker.com/network/iptables/ Closes-Bug: #1849275 Change-Id: I165199fc98fb98f227f2a20284e1bab03ef65b5b
-
Doug Szumski authored
This fixes an issue where multiple Grafana instances would race to bootstrap the Grafana DB. The following changes are made: - Only start additional Grafana instances after the DB has been configured. - During upgrade, don't allow old instances to run with an upgraded DB schema. Change-Id: I3e0e077ba6a6f43667df042eb593107418a06c39 Closes-Bug: #1888681
-
Doug Szumski authored
This ensures that when using automatic Kafka topic creation, with more than one node in the Kafka cluster, all partitions in the topic are automatically replicated. When a single node goes down in a >=3 node cluster, these topics will continue to accept writes providing there are at least two insync replicas. In a two node cluster, no failures are tolerated. In a three node cluster, only a single node failure is tolerated. In a larger cluster the configuration may need manual tuning. This configuration follows advice given here: [1] https://docs.cloudera.com/documentation/kafka/1-2-x/topics/kafka_ha.html#xd_583c10bfdbd326ba-590cb1d1-149e9ca9886--6fec__section_d2t_ff2_lq Closes-Bug: #1888522 Change-Id: I7d38c6ccb22061aa88d9ac6e2e25c3e095fdb8c3
-
Michal Nasiadka authored
fluentd logs currently to stdout, which is known to produce big docker logs in /var/lib/docker. This change makes fluentd to log to /var/log/kolla/fluentd. Closes-Bug: #1888852 Change-Id: I8fe0e54cb764a26d26c6196cef68aadc6fd57b90
-
- Jul 24, 2020
-
-
Mark Goddard authored
This reverts commit 8fc86893. It appears that it is still necessary to wait for ironic to be up, otherwise inspector may fail to start: The baremetal service for 192.0.2.10:None exists but does not have any supported versions. Change-Id: Ibc8314c91113618ce9e92b8933a63eba3cf3bbe1
-
- Jul 23, 2020
-
-
wu.chunyang authored
octavia deploy failed due to mount a empyt directroy into container Change-Id: Ifd95126da59f649b02ab39c0b209df4750bdcfce
-
Mark Goddard authored
From Ussuri, if CA certificates are copied into /etc/kolla/certificates/ca/, these should be copied into all containers. This is not being done for masakari currently. Additionally, we are not setting the [DEFAULT] nova_ca_certificates_file option in masakari.conf. This depends on masakari bug 1873736 being fixed to work. This change fixes these issues. Change-Id: I9a3633f58e5eb734fa32edc03a3022a500761bbb Closes-Bug: #1888655
-
- Jul 22, 2020
-
-
Pierre Riteau authored
Some CloudKitty API responses include a Location header using http instead of https. Seen with `openstack rating module enable hashmap`. Change-Id: I11158bbfd2006e3574e165b6afc9c223b018d4bc Closes-Bug: #1888544
-
likui authored
global file glance_backend_file parameters not take effect Closes-Bug: #1888501 Change-Id: I3afd117633a84d342effb6baadf16fa42c16776c
-
- Jul 21, 2020
-
-
Pierre Riteau authored
A "@type copy" statement is already present at the beginning of each match element, so extra "type copy" are not needed. They are causing the following warnings in fluentd logs: [warn]: parameter 'type' in <match syslog.local0.**> [warn]: parameter 'type' in <match syslog.local1.**> This commit also harmonizes indentation of the Monasca config block. Change-Id: I779c2b942d007acbdd43d999f2fc0cdc131d431f Related-Bug: #1885873
-
Pierre Riteau authored
Change-Id: Ia134a518b63bb59cfad631cc488181f5245160e6
-
wu.chunyang authored
we should clone freezer code before run bootstray, otherwise, the directory /opt/stack/freezer which is empty will mount into freezer_api container. Closes-Bug: #1888242 Change-Id: I7c22dd380fd5b1dff7b421109c4ae37bab11834a
-
likui authored
Option "trove_auth_url/os_region_name" from group "DEFAULT" is deprecated. Use option "auth_url/region_name" from group service_credentials Change-Id: I15d6891582c92c7fc813f280a2b47ebaaca77eba
-
- Jul 17, 2020
-
-
Radosław Piliszek authored
This makes use of udev rules to make it smarter and override host-level packages settings. Additionally, this masks Ubuntu-only service that is another pain point in terms of /dev/kvm permissions. Fingers crossed for no further surprises. Change-Id: I61235b51e2e1325b8a9b4f85bf634f663c7ec3cc Closes-bug: #1681461
-
- Jul 15, 2020
-
-
Doug Szumski authored
Switch to the Confluent Kafka client in all remaining Python based Monasca services. This should allow us to later un-pin the Kafka messaging version for Monasca. Change-Id: I42bc78ffe304ba21c448c2e08b025e93a70ddb44
-
Bartosz Bezak authored
Co-Authored-By:
Doug Szumski <doug@stackhpc.com> Closes-Bug: #1884090 Depends-On: https://review.opendev.org/#/c/736768 Change-Id: If2d0dd1739e484b14e3c15a185a236918737b0ab
-
- Jul 09, 2020
-
-
ramboman authored
The Castellan (Barbican client) has different parameters to control the used CA file. This patch uses them. Moreover, this aligns Barbican with other services by defaulting its client config to the internal endpoint. See also [1]. [1] https://bugs.launchpad.net/castellan/+bug/1876102 Closes-Bug: #1886615 Change-Id: I6a174468bd91d214c08477b93c88032a45c137be
-
- Jul 08, 2020
-
-
gugug authored
planned removal Change-Id: Ib37ea4d42f82096a682cebc724c45c9dd39c8b47
-
jacky06 authored
The bug is fixed[1], releated task is unncessary. [1]: https://storyboard.openstack.org/#!/story/2006393 Depends-On: Ib62ca3ee4626084e5e9b90e93e4fa97938023457 Change-Id: I2553c3c4a6d3c82405c68c52db2e7585477b1dff
-
Mark Goddard authored
The nova-cell role sets the following sysctls on compute hosts, which require the br_netfilter kernel module to be loaded: net.bridge.bridge-nf-call-iptables net.bridge.bridge-nf-call-ip6tables If it is not loaded, then we see the following errors: Failed to reload sysctl: sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-ip6tables: No such file or directory Loading the br_netfilter module resolves this issue. Typically we do not see this since installing Docker and configuring it to manage iptables rules causes the br_netfilter module to be loaded. There are good reasons [1] to disable Docker's iptables management however, in which case we are likely to hit this issue. This change loads the br_netfilter module in the nova-cell role for compute hosts. [1] https://bugs.launchpad.net/kolla-ansible/+bug/1849275 Co-Authored-By:
Dincer Celik <hello@dincercelik.com> Change-Id: Id52668ba8dab460ad4c33fad430fc8611e70825e
-
Jeffrey Zhang authored
Change-Id: Idfa7feb9157cdf12af9641be10c8eb8478930f15 Closes-Bug: #1886747
-
- Jul 07, 2020
-
-
Pierre Riteau authored
The value should be the full path to the keyring file, not just the name. Without this fix Gnocchi fails to connect to Ceph. Change-Id: Iaa69b2096b09a448345de50911e21436875d48d6 Closes-Bug: #1886711
-
Mark Goddard authored
The common role was previously added as a dependency to all other roles. It would set a fact after running on a host to avoid running twice. This had the nice effect that deploying any service would automatically pull in the common services for that host. When using tags, any services with matching tags would also run the common role. This could be both surprising and sometimes useful. When using Ansible at large scale, there is a penalty associated with executing a task against a large number of hosts, even if it is skipped. The common role introduces some overhead, just in determining that it has already run. This change extracts the common role into a separate play, and removes the dependency on it from all other roles. New groups have been added for cron, fluentd, and kolla-toolbox, similar to other services. This changes the behaviour in the following ways: * The common role is now run for all hosts at the beginning, rather than prior to their first enabled service * Hosts must be in the necessary group for each of the common services in order to have that service deployed. This is mostly to avoid deploying on localhost or the deployment host * If tags are specified for another service e.g. nova, the common role will *not* automatically run for matching hosts. The common tag must be specified explicitly The last of these is probably the largest behaviour change. While it would be possible to determine which hosts should automatically run the common role, it would be quite complex, and would introduce some overhead that would probably negate the benefit of splitting out the common role. Partially-Implements: blueprint performance-improvements Change-Id: I6a4676bf6efeebc61383ec7a406db07c7a868b2a
-
Mark Goddard authored
There are a number of tasks where we conditionally use include_tasks with a condition, and the condition is always true. This change removes these conditions, in preparation for switching unconditional task includes to task imports. Partially-Implements: blueprint performance-improvements Change-Id: I3804c440fe3552950d9d434ef5409f685c39bbcf
-
- Jul 06, 2020
-
-
wu.chunyang authored
Change-Id: I51054561af93f03e09fa86eeec7c579aca103cdf
-
- Jul 05, 2020
-
-
gugug authored
1. Use the children group for site.yml 2. Add some missing groups Change-Id: I01d686368b11a105a8965cf987d23772ecbf97de
-
- Jul 03, 2020
-
-
Pierre Riteau authored
Change I810aad7d49db3f5a7fd9a2f0f746fd912fe03917 for supporting multiple Nova cells updated the list of containers that require a policy file to only include nova-api, nova-compute, and nova-compute-ironic. The nova-conductor config.json template was left unchanged and fails to copy the nova policy file into its container. This can be seen on a fresh deployment, but might be missed on an upgrade if an older policy file is still available in /etc/kolla/nova-conductor. This commit removes the nova_policy_file block from the nova-conductor config.json template, as it shouldn't be required. Backport: ussuri, train Change-Id: I17256b182d207aeba3f92c65a6d7cf3611180558 Closes-Bug: #1886170
-
Stig Telfer authored
Work was done to selectively enable Open vSwitch deployment for Manila services as bug #1884939. However this did not appear to catch all cases. This patch adds a couple more. Change-Id: I6187997a00f908e87ceace6f79f5f7262ea78738 Closes-Bug: #1886166 Co-Authored-By:
Sebastian Luna Valero <sebastian.luna.valero@gmail.com>
-