- Apr 16, 2020
-
-
Michal Nasiadka authored
Change-Id: I500cc8800c412bc0e95edb15babad5c1189e6ee4
-
- Apr 13, 2020
-
-
Radosław Piliszek authored
etcd via tooz does not support group membership required by Designate coordination. The best k-a can do is not to configure etcd in Designate. Change-Id: I2f64f928e730355142ac369d8868cf9f65ca357e Closes-bug: #1872205 Related-bug: #1840070
-
- Apr 11, 2020
-
-
Rafael Weingärtner authored
Allow operators to use custom parameters with the ceilometer-upgrade command. This is quite useful when using the dynamic pollster subsystem; that sub-system provides flexibility to create and edit pollsters configs, which affects gnocchi resource-type configurations. However, Ceilometer uses default and hard-coded resource-type configurations; if one customizes some of its default resource-types, he/she can get into trouble during upgrades. Therefore, the only way to work around it is to use the "--skip-gnocchi-resource-types" flag. This PR introduces a method for operators to execute such customization, and many others if needed. Depends-On: https://review.opendev.org/#/c/718190/ Change-Id: I92f0edba92c9e3707d89b3ff4033ac886b29cf6d
-
- Apr 10, 2020
-
-
Xing Zhang authored
mistralclient osc plugin does not support cacert and insecure [1] mistralclient interface support fixed in [2] [1] https://bugs.launchpad.net/python-mistralclient/+bug/1715091 [2] https://review.opendev.org/#/q/topic:bug/1854339 Change-Id: I44726b12358bc3c5898ba952371fb838693aca2c
-
Jeffrey Zhang authored
Change-Id: I137b4f6b229d9ef34ed5be0bc4c4828ed655269e Closes-Bug: #1872008
-
- Apr 09, 2020
-
-
Dincer Celik authored
Some services look for /etc/timezone on Debian/Ubuntu, so we should introduce it to the containers. In addition, added prechecks for /etc/localtime and /etc/timezone. Closes-Bug: #1821592 Change-Id: I9fef14643d1bcc7eee9547eb87fa1fb436d8a6b3
-
John Garbutt authored
In kolla ansible we typically configure services to communicate via IP addresses rather than hostnames. One accidental exception to this was live migration, which used the hostname of the destination even when not required (i.e. TLS not being used for libvirt). To make such hostnames work, k-a adds entries to /etc/hosts in the bootstrap-servers command. Alternatively users may provide DNS. One problem with using /etc/hosts is that, if a new compute host is added to the cloud, or an IP address is changed, that will not be reflected in the /etc/hosts file of other hosts. This would cause live migration to the new host from an old host to fail, as the name cannot be resolved. The workaround for this was to update the /etc/hosts file (perhaps via bootstrap-servers) on all hosts after adding new compute hosts. Then the nova_libvirt container had to be restarted to pick up the change. Similarly, if user has overridden the migration_interface, the used hostname could point to a wrong address on which libvirt would not listen. This change adds the live_migration_inbound_addr option to nova.conf. If TLS is not in use for libvirt, this will be set to the IP address of the host on the migration network. If TLS is enabled for libvirt, live_migration_inbound_addr will be set to migration_hostname, since certificates will typically reference the hostname rather than the host's IP. With libvirt TLS enabled, DNS is recommended to avoid the /etc/hosts issue which is likely the case in production deployments. Change-Id: I0201b46a9fbab21433a9f53685131aeb461543a8 Closes-Bug: #1729566
-
James Kirsch authored
This patch introduces an optional backend encryption for Keystone service. When used in conjunction with enabling TLS for service API endpoints, network communcation will be encrypted end to end, from client through HAProxy to the Keystone service. Change-Id: I6351147ddaff8b2ae629179a9bc3bae2ebac9519 Partially-Implements: blueprint add-ssl-internal-network
-
Michal Nasiadka authored
Implement OVN Ansible role. Implements: blueprint ovn-controller-neutron-ansible Depends-On: https://review.opendev.org/713422 Change-Id: Icd425dea85d58db49c838839d8f0b864b4a89a78
-
- Apr 08, 2020
-
-
Mark Goddard authored
This is a follow up to I001defc75d1f1e6caa9b1e11246abc6ce17c775b. To maintain previous behaviour, and ensure we catch any host configuration changes, we should perform host configuration during upgrade. Change-Id: I79fcbf1efb02b7187406d3c3fccea6f200bcea69 Related-Bug: #1860161
-
- Apr 06, 2020
-
-
Jason Anderson authored
Elasticsearch 6.x dropped support for mapping types[1], which by default the Kibana index used. This means that when deploying ELK 6.x, the Kibana index must be migrated to the new schema to preserve dashboards and visualizations. There is a process defined[2], which involves creating a new index with the specified schema, then reindexing the old index's data into the new index, then doing a rename/delete. This adds support for that workflow via Ansible. It takes place after the ES container is restarted after an upgrade, so there will be a (short) period of time where the Kibana index is not migrated. During this time, Kibana still loads, but presents the user with a status screen informing that the index needs migration. [1]: https://www.elastic.co/guide/en/elasticsearch/reference/6.x/removal-of-types.html [2]: https://www.elastic.co/guide/en/kibana/6.x/migrating-6.0-index.html Implements: blueprint elasticsearch-kibana-version-upgrade Depends-On: https://review.opendev.org/709624 Change-Id: I4550629e2113f3da7f1cecfeab0d5fe0d899dae8
-
Jason Anderson authored
This updates the elasticsearch configuration file (and loading mechanism) for ELK 6.x. The default location for the configuration for all package distributions is /etc/elasticsearch[1], so now that is where we overwrite the elasticsearch.yml. The path.conf and path.scripts paths are no longer supported and will raise exceptions if utilized in 6.x. [1]: https://www.elastic.co/guide/en/elasticsearch/reference/6.x/settings.html#config-files-location Implements: blueprint elasticsearch-kibana-version-upgrade Depends-On: https://review.opendev.org/#/c/647748/ Change-Id: I4f74bfe07d4b7ca18953b11e767cf0bb94dfd67e
-
- Apr 05, 2020
-
-
linpeiwen authored
manila share container name variable is fixed in some places, but in the defaults directory, manila share container_name variable is variable. If the manila share container_name variable is changed during deployment, it will not be assigned to container name, but a fixed 'manila_share' name. Change-Id: Iea23c62518add8d6820b76b16edd3221906b0ffb
-
- Apr 04, 2020
-
-
Andreas Jaeger authored
The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found by updated hacking version. Remove hacking and friends from lower-constraints, they are not needed during installation. Change-Id: I7ef5ac8a89e94f5da97780198619b6facc86ecfe
-
- Apr 03, 2020
-
-
Mark Goddard authored
The use of default(omit) is for module parameters, not templates. We define a default value for openstack_cacert, so it should never be undefined anyway. Change-Id: Idfa73097ca168c76559dc4f3aa8bb30b7113ab28
-
- Apr 02, 2020
-
-
Mark Goddard authored
Currently there are a few services that perform host configuration tasks. This is done in config.yml. This means that these changes are performed during 'kolla-ansible genconfig', when we might expect not to be making any changes to the remote system. This change separates out these host configuration tasks into a config-host.yml file, which is included directly from deploy.yml. One change in behaviour is that this prevents these tasks from running during an upgrade or genconfig. This is probably what we want, but we should be careful when any of these host configuration tasks are changed, to ensure they are applied during an upgrade if necessary. Change-Id: I001defc75d1f1e6caa9b1e11246abc6ce17c775b Closes-Bug: #1860161
-
Mark Goddard authored
One way to improve the performance of Ansible is through fact caching. Rather than gather facts in every play, we can configure Ansible to cache them in a persistent store. An example Ansible configuration for doing this is as follows: [defaults] gathering = smart fact_caching = jsonfile fact_caching_connection = ./facts fact_caching_timeout = 86400 This does not affect Kolla Ansible however, since we use the setup module which unconditionally gathers facts regardless of the state of the cache. This gets worse with large inventories limited to a small batch of hosts via --limit or serial, since the limited hosts must gather facts for all others. One way to detect whether facts exist for a host is via the 'module_setup' variable, which exists only when facts exist. This change uses the 'module_setup' fact to determine whether facts need to be gathered for hosts outside of the batch. For hosts in the batch, we switch from using the setup module to gather_facts on the play, which can use the 'smart' gathering logic. Change-Id: I04841fb62b2e1d9e97ce4b75ce3a7349b9c74036 Partially-Implements: blueprint performance-improvements
-
- Apr 01, 2020
-
-
Radosław Piliszek authored
In [1] only neutron-openvswitch-agent was fixed and not xenapi. That merged in Ussuri and went cleanly into Train. In Stein and Rocky, the backport was not clean and accidentally fixed xenapi instead of the regular one. Neither the original bug nor its incomplete fix were released, except for Rocky. :-( Hence this patch also removes the confusing reno instead of adding a new one. [1] https://review.opendev.org/713129 Change-Id: I331417c8d61ba6f180bcafa943be697418326645 Closes-bug: #1869832 Related-bug: #1867506
-
- Mar 30, 2020
-
-
Doug Szumski authored
Not everyone wants Kafka data stored on a Docker volume. This change allows a user to flexibly control where the data is stored. Change-Id: I2ba8c7a85c7bf2564f954a43c6e6dbb3257fe902
-
- Mar 27, 2020
-
-
linpeiwen authored
keystone and keystone_fernet container name variable is fixed in some places, but in the defaults directory, keystone and keystone_fernet container_name variable is variable. If the keystone and keystone_fernet container_name variable is changed during deployment, it will not be assigned to keystone and keystone_fernet, but a fixed 'keystone' and 'keystone_fernet' name. Change-Id: Ifc8ac69e6abc4586f0e4fd820b9022aea9f76396
-
- Mar 26, 2020
-
-
LinPeiWen authored
kolla-toolbox container name variable is fixed in some places, but in the defaults directory, kolla-toolbox container_name variable is variable. If the kolla-toolbox container_name variable is changed during deployment, it will not be assigned to kolla-toolbox, but a fixed 'kolla-toolbox' name. Change-Id: I9579017761ff47477dba597282be9ae6fab4242a
-
Jeffrey Zhang authored
This patch fix creating statck resource failure in heat. Change-Id: I00c23f8b89765e266d045cc463ce4d863d0d6089 Closes-Bug: #1869137
-
Jeffrey Zhang authored
Change-Id: I9395ae32378f4ff1fd57be78d7daec7745579e04 Closes-Bug: #1869133
-
- Mar 25, 2020
-
-
Mark Goddard authored
Deploy HAProxy on one or more servers. Add another server to the inventory in the haproxy group, and run the following: kolla-ansible prechecks --limit <new host> The following task will fail: TASK [haproxy : Checking if kolla_internal_vip_address and kolla_external_vip_address are not pingable from any node] This happens because ansible does not execute on hosts where haproxy/keepalived is running, and therefore does not know that the VIP should be active. This change skips VIP prechecks when not all HAProxy hosts are in the play. Closes-Bug: #1868986 Change-Id: Ifbc73806b768f76f803ab01c115a9e5c2e2492ac
-
LinPeiWen authored
mariadb container name variable is fixed in some places, but in the defaults directory, mariadb container_name variable is variable. If the mariadb container_name variable is changed during deployment, it will not be assigned to container_name, but a fixed 'mariadb' name. Change-Id: Ie8efa509953d5efa5c3073c9b550be051a7f4f9b
-
- Mar 23, 2020
-
-
Mark Goddard authored
The 'kolla-ansible stop' command can be used to stop the services running on hosts. However, if you run this command in an environment with heterogeneous nodes (most real world scenarios have at least control/compute), then it fails. This is because it only checks whether a container is enabled, and not whether the host is in the correct group. For example, it fails with nova-libvirt: No such container: nova_libvirt to stop. This change fixes the issue by only attempting to stop containers on hosts to which they are mapped. Change-Id: Ibecac60d1417269bbe25a280996ca9de6e6d018f Closes-Bug: #1868596
-
- Mar 21, 2020
-
-
Marcin Juszkiewicz authored
We released CirrOS 0.5.1. Time to move then. Change-Id: Ibca24836f19b3cbf6166fa39a3702883938feda8
-
- Mar 20, 2020
-
-
Doug Szumski authored
This is useful to people who manage their Prometheus Server externally to Kolla Ansible, or want to use the exporters with another framework such as Monasca. Change-Id: Ie3f61e2e186c8e77e21a7b53d2bd7d2a27eee18e
-
- Mar 18, 2020
-
-
Radosław Piliszek authored
Fluentd cannot accept empty 'path' parameter. I refactored the service list following the general pattern we have. Change-Id: I83d820efcc7e86bac9f8bda26a8f8bece72159e6 Closes-bug: #1867953
-
- Mar 17, 2020
-
-
Doug Szumski authored
Currently, config folders lack the execute bit so Fluentd cannot read the config and just does nothing when it starts up. This change explicitly sets the execute bit on folders which need it, rather than doing it in a more generic way which is more risky from a security perspective. Change-Id: Ia840f4b67043df4eaa654f47673dcdc973f13d9c Closes-Bug: #1867754
-
- Mar 16, 2020
-
-
Radosław Piliszek authored
ovs-ofctl is still being run by neutron-openvswitch-agent. Potential removal is scheduled for Victoria. Until then, we have to mount /run/openvswitch in there. Change-Id: Ia73b5665cece523bb822f6a223335f6fae94fb6a Closes-bug: #1867506
-
Mark Goddard authored
While supporting both CentOS 7 and 8, we used the tag 'master-centos8' for CentOS 8 images. We are now ready to drop CentOS 7 support, and Kolla is switching to publish CentOS 8 images using the master tag on the master branch, so we should use this. Depends-On: https://review.opendev.org/713265 Partially-Implements: blueprint centos-rhel-8 Change-Id: I07d2c285e3214a6dc827a8e8eacf263048ee099b
-
- Mar 15, 2020
-
-
Jeffrey Zhang authored
Fix elasticsearch schema in fluentd when kolla_enable_tls_internal is true. Change-Id: I51286d2def7a762d569740c1abc5b924b682ad9d Closes-Bug: #1867481
-
- Mar 12, 2020
-
-
Radosław Piliszek authored
Change-Id: I29f65c83b9bd45e463d868cf9a55611f33fe3177 Closes-bug: #1867179
-
yj.bai authored
Add copy ca file to horizon container. because: Could not find a suitable TLS CA certificate bundle, invalid path: /etc/pki/ca-trust/source/anchors/kolla-customca-haproxy-internal.crt Closes-Bug: #1867121 Change-Id: I64d4dbeebd53048705005b61eb3c5b2104e8f2ed Signed-off-by:
yj.bai <bai.yongjun@99cloud.net>
-
- Mar 11, 2020
-
-
Mark Goddard authored
We only log the release in the 'Checking host OS release or version' precheck, but we allow either the release or version to be included in the list. For example, on CentOS 7: CentOS release Core is not supported. Supported releases are: 8 Include the version in the failure message too. Change-Id: I0302cd4fc94a0c3a6aa1dbac7b9fedf37c11b81e Related: blueprint improve-prechecks
-
- Mar 10, 2020
-
-
yj.bai authored
grafana not support ipv6 in grafana.ini.j2. Closes-Bug: #1866141 Change-Id: Ia89a9283e70c10a624f25108b487528dbb370ee4 Signed-off-by:
yj.bai <bai.yongjun@99cloud.net>
-
Will Szumski authored
I didn't use a for loop as the logic for omitting the comma for the final element dirties the logic. Change-Id: Id29d5deebcc5126d69a1bd8395e0df989f2081f0
-
Mark Goddard authored
This should help to ensure that users are running tested and supported host OS distributions. Change-Id: I6ee76463d284ad4f3646af1c7ec2b7e50e2f3b15 Partially-Implements: blueprint improve-prechecks
-
Mark Goddard authored
If haproxy is running somewhere in the cluster and listening on the VIP, but not running locally, then the following precheck may fail: TASK [haproxy : Checking free port for HAProxy monitor (vip interface)] msg: Timeout when waiting for 192.0.2.10:61313 to stop. This change fixes the issue by skipping the check if HAProxy is running on any host. Change-Id: I831eb2f700ef3fcf65b7e08382c3b4fcc4ce8d8d Closes-Bug: #1866617
-