- Sep 26, 2019
-
-
Kris Lindgren authored
Sometimes as cloud admins, we want to only update code that is running in a cloud. But we dont need to do anything else. Make an action in kolla-ansible that allows us to do that. Change-Id: I904f595c69f7276e71692696471e32fd1f88e6e8 Implements: blueprint deploy-containers-action
-
- Sep 25, 2019
-
-
Radosław Piliszek authored
Some tasks were improperly generalized in change: I4f1aa03e9a9faaf8aecd556dfeafdb834042e4cd (simplify handlers) This patch reverts that. Change-Id: I38fbe319da50fc7d5a3fa3c4890f039ae900a60c Closes-bug: #1845258 Signed-off-by:
Radosław Piliszek <radoslaw.piliszek@gmail.com>
-
- Sep 24, 2019
-
-
Mark Goddard authored
Backport: stein In the Stein release, cloudkitty switched the default storage backend from sqlalchemy to influxdb. In kolla-ansible stein configuration, we did not explicitly set the storage backend, and so we automatically picked up this change. However, prior to https://review.opendev.org/#/c/615928/ we did not have full support for InfluxDB as a storage backend, and so this has broken the Rocky-Stein upgrade (https://bugs.launchpad.net/kolla-ansible/+bug/1838641), which fails with this during the DB sync: ERROR cloudkitty InfluxDBClientError: get_list_retention_policies() requires a database as a parameter or the client to be using a database This change synchronises our default with cloudkitty's (influxdb), and also provides an upgrade transition to create the influxdb database. We also move the cloudkitty_storage_backend variable to group_vars/all.yml, since it is used to determine whether to enable influxdb. Finally, the section name in cloudkitty.conf was incorrect - it was storage_influx, but should be storage_influxdb. Change-Id: I71f2ed11bd06f58e141d222e2709835b7ddb2c71 Closes-Bug: #1838641
-
Mark Goddard authored
This ensures we execute the keystone os_* modules in one place. Also rework some of the task names and loop item display. Change-Id: I6764a71e8147410e7b24b0b73d0f92264f45240c
-
Alexis Deberg authored
The current tasks only use a hardcoded list deploying only the required files. When using multiple custom policies, additionnal object-*.builder and object*.gz files are to be deployed as well. This adds a new default-empty variable that can be overridden when needed Change-Id: I29c8e349c7cc83e3a2e01ff702d235a0cd97340e Closes-Bug: #1844752
-
- Sep 23, 2019
-
-
Mark Goddard authored
During upgrade, we stop all slave keepalived containers. However, if the keepalived container configuration has not changed, we never restart them. This change fixes the issue by notifying the restart handler when the containers are stopped. Change-Id: Ibe094b0c14a70a0eb811182d96f045027aa02c2a Closes-Bug: #1836368
-
Mark Goddard authored
This allows the install type for the project to be different than kolla_install_type This can be used to avoid hitting bug 1786238, since kuryr only supports the source type. Change-Id: I2b6fc85bac092b1614bccfd22bee48442c55dda4 Closes-Bug: #1786238
-
Dincer Celik authored
This change introduces the way to pass extra options to prometheus. Currently, prometheus runs with nearly default options, and when clouds start getting bigger, you need to pass extra parameters to prometheus. Change-Id: Ic773c0b73062cf3b2285343bafb25d5923911834
-
- Sep 20, 2019
-
-
Mark Goddard authored
Heat's [DEFAULT] deferred_auth_method is deprecated, and we are setting the default value of 'trusts'. Glance's [DEFAULT] registry_host is deprecated, and we do not deploy a registry. Change-Id: I80024907c575982699ce323cd9a93bab94c988d3
-
Mark Goddard authored
Sometimes things go wrong. We shouldn't fail a Kolla Ansible run because of a temporary failure when creating keystone resources. This task adds retries to the tasks in the service-ks-tasks role. Default is 5 retries with a 10 second delay, as is used in OpenStack Ansible. Change-Id: Ib692062fb93ba330bb9c8a35c684ad06652be8a2
-
- Sep 19, 2019
-
-
Dincer Celik authored
Project name shouldn't be static as user may override it with keystone_admin_project Change-Id: If41b9d8de17985d960104c8daf27ea7d706c27c0
-
Kris Lindgren authored
To securely support live migration between computenodes we should enable tls, with cert auth, instead of TCP with no auth support. Implements: blueprint libvirt-tls Change-Id: I22ea6233933c840b853fdcc8e03400b2bf577271
-
Radosław Piliszek authored
Change-Id: I7f2b3a6f1eacd4cabcaa31de543b7489bc5e654b Closes-bug: #1844636 Signed-off-by:
Radosław Piliszek <radoslaw.piliszek@gmail.com>
-
- Sep 18, 2019
-
-
Mark Goddard authored
We have agreed to remove support for Oracle Linux. http://lists.openstack.org/pipermail/openstack-discuss/2019-June/006896.html Change-Id: If11b4ff37af936a0cfd34443e8babb952307882b
-
Scott Solkhon authored
This commit follows up the work in Kolla to provide deploy and configure the Prometheus blackbox exporter. An example blackbox-exporter module has been added (disabled by default) called os_endpoint. This allows for the probing of endpoints over HTTP and HTTPS. This can be used to monitor that OpenStack endpoints return a status code of either 200 or 300, and the word 'versions' in the payload. This change introduces a new variable `prometheus_blackbox_exporter_endpoints`. Currently no defaults are specified because the configuration is heavily dependent on the deployment. Co-authored-by:
Jack Heskett <Jack.Heskett@gresearch.co.uk> Change-Id: I36ad4961078d90e2fd70c9a3368f5157d6fd89cd
-
- Sep 17, 2019
-
-
Mark Goddard authored
Use upstream Ansible modules for registration of services, endpoints, users, projects, roles, and role grants. Change-Id: I7c9138d422cc91c177fd8992347176bb54156b5a
-
- Sep 16, 2019
-
-
Mark Goddard authored
The kolla_toolbox Ansible module executes as-hoc ansible commands in the kolla_toolbox container, and parses the output to make it look as if ansible-playbook executed the command. Currently however, this module sometimes fails to catch failures of the underlying command, and also sometimes shows tasks as 'ok' when the underlying command was changed. This has been tested both before and after the upgrade to ansible 2.8. This change fixes this issue by configuring ansible to emit output in JSON format, to make parsing simpler. We can now pick up errors and changes, and signal them to the caller. This change also adds an ansible playbook, tests/test-kolla-toolbox.yml, that can be executed to test the module. It's not currently integrated with any CI jobs. Note that this change cannot be backported as the JSON output callback plugin was added in Ansible 2.5. Change-Id: I8236dd4165f760c819ca972b75cbebc62015fada Closes-Bug: #1844114
-
chenxing authored
Since we use the release name as the default tag to publish images to Dockerhub, we should use this by default. This change also removes support for the magic value "auto". Change-Id: I5610cc7729e9311709147ba5532199a033dfd156 Closes-Bug: #1843518
-
- Sep 15, 2019
-
-
Erik Olof Gunnar Andersson authored
The admin api was never actually enabled, and the admin extensions were added to the wrong extension namespace. Change-Id: I084b5cf05a786bde76cbf82381ba5f69cd5bce19
-
Erik Olof Gunnar Andersson authored
The pool manager has long been deperecated and kolla-ansible does not currently have an option to enable it. So we can safely remove the settings around it. Change-Id: I8e97d72421caebba979df0135fb65879e6ae3903
-
- Sep 14, 2019
-
-
Radosław Piliszek authored
Also fixes similar issues introduced by the same recent change. Added FIXME note about possible TLS malfunction regarding horizon. Change-Id: I5f46a9306139eb550d3849757c8bdf0767537c78 Closes-Bug: #1844016 Signed-off-by:
Radosław Piliszek <radoslaw.piliszek@gmail.com>
-
- Sep 13, 2019
-
-
Mark Flynn authored
Edited the ansible/roles/prometheus/templates/prometheus-alertmanager.json.j2 file to change the mesh.peer and mesh.listen-address to cluter.peer and cluster.listen-address. This stopped alertmanager from crashing with error "--mesh.peer is an invalid flag" Change-Id: Ia0447674b9ec377a814f37b70b4863a2bd1348ce Signed-off-by:
Mark Flynn <markandrewflynn@gmail.com>
-
- Sep 12, 2019
-
-
Mark Goddard authored
Change-Id: I593b06c447d156c7a981d1c617f4f9baa82884de Closes-Bug: #1841175
-
Scott Solkhon authored
This commit adds the necessary configuration to the Swift account, container and object configuration files to enable the Swift recon cli. In order to give the object server on each Swift host access to the recon files, a Docker volume is mounted into each container which generates them. The volume is then mounted read only into the object server container. Note that multiple containers append to the same file. This should not be a problem since Swift uses a lock when appending. Change-Id: I343d8f45a78ebc3c11ed0c68fe8bec24f9ea7929 Co-authored-by:
Doug Szumski <doug@stackhpc.com>
-
- Sep 11, 2019
-
-
Mark Goddard authored
This is required for the dict2items filter. Change-Id: I60a04e839bf06506ff36c2631a286130d5fde972
-
Yang Youseok authored
When nova-api group have no hosts, we don't have to run create_cells and discover_computes. Add conditional blocks to prevent to run them. Change-Id: Ia1ba058c1b74b06b678f45544883e567e2b4eb55 Closes-Bug: #1843235
-
Xing Zhang authored
According to [1]: IP address used in the IP options can be in either IPv4 or IPv6 format. DNS can be used for IPv4 only, IPv6 only and dual stack. Also should have FQDNs in subjectAltName per current[2]. [1] https://www.openssl.org/docs/man1.0.2/man5/x509v3_config.html [2] https://support.google.com/chrome/a/answer/7391219 Partially-Implements: blueprint ipv6-control-plane Change-Id: Ibad8f8c734984aeda8ddac1a5db39875bc242bbf
-
pangliye authored
From version 1.3, the web admin interface is no longer available in InfluxDB. https://docs.influxdata.com/influxdb/v1.3/administration/differences/#web-admin-ui-removal Change-Id: I1dce61a9c40a407882cfcd520ca491b4dee734ae
-
- Sep 10, 2019
-
-
liyingjun authored
Change-Id: Idee76f6da357c600d52b4280d29b685ed443191a
-
Hongbin Lu authored
After the integration with placement [1], we need to configure how zun-compute is going to work with nova-compute. * If zun-compute and nova-compute run on the same compute node, we need to set 'host_shared_with_nova' as true so that Zun will use the resource provider (compute node) created by nova. In this mode, containers and VMs could claim allocations against the same resource provider. * If zun-compute runs on a node without nova-compute, no extra configuration is needed. By default, each zun-compute will create a resource provider in placement to represent the compute node it manages. [1] https://blueprints.launchpad.net/zun/+spec/use-placement-resource-management Change-Id: I2d85911c4504e541d2994ce3d48e2fbb1090b813
-
- Sep 09, 2019
-
-
chenxing authored
Both ubuntu source and binary install type support python3 now, python_path should be updated. Depends-On: https://review.opendev.org/675581 Partially Implements: blueprint python3-support Change-Id: I4bf721b44220bde2d25d4d985f5ca411699a5a72
-
- Sep 06, 2019
-
-
Mark Goddard authored
In the Train cycle, ironic added a [nova] section to its configuration. This is used to configure access to Nova API, for sending power state callbacks. This change adds the [nova] section to ironic.conf. Change-Id: Ib891af1db2a2c838c887e858ea0721f5e6a4fab0 Closes-Bug: #1843070
-
Mark Goddard authored
The ironic configuration in ironic.conf uses several options which have been removed in the Train cycle: [glance] glance_api_servers was removed in https://review.opendev.org/#/c/665929. [neutron] url was removed in https://review.opendev.org/#/c/672971. We should use the endpoint catalog instead of specifying the endpoint for both of these, and also ironic inspector. region_name and valid_interfaces have been added for that purpose. Other options are deprecated. [conductor] api_url: Use [service_catalog] section to lookup ironic API endpoint instead. [inspector] enabled: No longer used. Change-Id: If07c4ff9bfea7d780aeff5c3295a0ace7d10ecdc Closes-Bug: #1843067
-
Q.hongtao authored
Change-Id: I124cba4bfe85e76f732ae618619594004a5c911f
-
- Sep 05, 2019
-
-
Marcin Juszkiewicz authored
Instead of changing Docker daemon command line let's change config for Docker instead. In /etc/docker/daemon.json file as it should be. Custom Docker options can be set with 'docker_custom_config' variable. Old 'docker_custom_option' is still present but should be avoided. Co-Authored-By:
Radosław Piliszek <radoslaw.piliszek@gmail.com> Change-Id: I1215e04ec15b01c0b43bac8c0e81293f6724f278
-
- Sep 04, 2019
-
-
Xing Zhang authored
add clear old environment set openstack client to use internalURL set manila client to use internalURL Change-Id: I263fa11ff5439b28d63a6a9ce7ba460cb56fb8e2
-
- Sep 03, 2019
-
-
Doug Szumski authored
The output from `nova-manage cell_v2 list_cells --verbose` contains an extra column, stating whether the cell is enabled or not. This means that the regex never matches, so existing_cells is always empty. This fix updates the regex by adding a match group for this field which may be used in a later change. Unfortuately the CLI doesn't output in JSON format, which would make this a lot less messy. Closes-Bug: #1842460 Change-Id: Ib6400b33785f3ef674bffc9329feb3e33bd3f9a3
-
- Sep 02, 2019
-
-
Manuel Rodriguez authored
Allows enabling neutron port forwarding plugin and l3 extension to forward ports from floating IP to a fixed neutron port. Change-Id: Ic25c96a0ddcf4f69acbfb7a58acafec82c3b0aed Implements: blueprint enable-l3-port-forwarding
-
Pierre Riteau authored
Commit d6864438 disabled these deprecated plugins more than three years ago. Change-Id: I2dd2a89a7aa2c4a54882a8b0aa8d23d874c0e4cc Closes-Bug: #1839172
-
- Aug 30, 2019
-
-
Joseph M authored
nova.conf currently uses the [neutron] "url" parameter which has been deprecated since 17.0.0. In multi-region environments this can cause Nova to look up the Neutron endpoint for a different region. Remove this parameter and set region_name and valid_interfaces to allow the correct lookup to be performed. Change-Id: I1bbc73728439a460447bc8edd264f9f2d3c814e0 Closes-Bug: #1836952
-