- Oct 24, 2019
-
-
Michal Nasiadka authored
Change-Id: I51144d92f34ed51c499a4119c059e6475d02eb46
-
- Oct 21, 2019
-
-
Alexis Deberg authored
If swift_has_replication_network is false some containers do not exist on the target node. This commit adds steps to compute the final list of containers to act on. Change-Id: I12f8de53724c3f24832df83597f36f9614af8e75 Closes-Bug: #1849189
-
Mark Goddard authored
Currently the database is only synced during deployment. This change performs the sync during upgrade as well. Change-Id: Ia45fc733a1ab69de9d4762f5d9c8767041eeaed3 Closes-Bug: #1832020
-
Jan Horstmann authored
Cephx keys are not picked up by "local_action: shell cat [...]" when using ansible-vault encrypted keyrings. This commit changes the logic to use the file lookup plugin and extracts the key using jinja2 regex filters. The raw keys are then set as ansible facts. Closes-Bug: 1849127 Change-Id: Iacb1e42307c4de6a7a379e8cf279e073995fd5d3
-
Eduardo Gonzalez authored
Tacker requires config for storing CSAR vnf packages. This patch adds it as well as relevant docs. Only one Tacker Conductor is deployed by default due to lack of a shared filesystem. Change-Id: Iad391f35105e79fa9319502256528990915df9b7 Co-authored-by:
Radosław Piliszek <radoslaw.piliszek@gmail.com> Closes-Bug: #1845142
-
- Oct 20, 2019
-
-
Radosław Piliszek authored
This also enables Placement when Zun is enabled like Kolla Ansible already does with Nova. Change-Id: Id2a09f702e8503b49d2b9e73e06b2ce9f4d168a9 Closes-bug: #1840573
-
Radosław Piliszek authored
Adds "| bool". Backportable to Stein. Change-Id: Ifa2aa387be46beb6da1d3c5a5e0da1b561af8cee Closes-bug: #1848937
-
Radosław Piliszek authored
This makes iSCSI with Zun and Cinder work out-of-the-box. (LVM included) Change-Id: I2c4aa666ff9f952e32c450347d31ddbf2e58209e Related-bug: #1797448 Closes-bug: #1848933
-
- Oct 18, 2019
-
-
Doug Szumski authored
This moves the Nova Cells filters alongside the service filters for ease of testing. Partially Implements: blueprint support-nova-cells Change-Id: I32d35c065812c6b46c64bacdf283a0bdad0f8a0f
-
Michal Nasiadka authored
Depends-On: https://review.opendev.org/688636/ Change-Id: I9918ff6a91acde2a7d184e44b8a1014462596e39
-
Radosław Piliszek authored
Affects config with Blazar and fake Nova only. The default does not include it. Upstream docs: RetryFilter - Deprecated since version 20.0.0 (Train) Since the 17.0.0 (Queens) release, the scheduler has provided alternate hosts for rescheduling so the scheduler does not need to be called during a reschedule which makes the RetryFilter useless. Change-Id: I26bf45997005124e9166b5bf1d44cb276624430b
-
- Oct 17, 2019
-
-
Radosław Piliszek authored
IPv6 need not have been disabled in Tempest before either. Change-Id: I77f691b6b028d1a7f57537442a79557ede5f861e
-
Jan Vondra authored
neutron_legacy_iptables option sets the KOLLA_LEGACY_IPTABLES environment variable in the neutron-l3-agent, neutron-linuxbridge-agent and neutron_openvswich_agent container where it should be consumed by kolla_extended_start script resulting in setting iptables-legacy. Depends-On: https://review.opendev.org/#/c/683679/ Change-Id: Iaa8b46a2227b61a729b8d54bbe4b20f389f251d1
-
Radosław Piliszek authored
OpenSSL certificate should default to FQDN if possible. Using IP addresses is not recommended, complicates dual stack and limits addressing flexibility. IPv6 control plane implementation [1] follow-up. [1] Ia34e6916ea4f99e9522cd2ddde03a0a4776f7e2c Change-Id: Ibfc02f933ddcc170e9d616d401e294ba0ff5e981
-
Radosław Piliszek authored
IPv6 control plane implementation [1] follow-up. [1] Ia34e6916ea4f99e9522cd2ddde03a0a4776f7e2c Change-Id: I4c2bd81e77fc09a04838a62f008e5d6c5dc1483d
-
- Oct 16, 2019
-
-
Doug Szumski authored
This patch adds initial support for deploying multiple Nova cells. Splitting a nova-cell role out from the Nova role allows a more granular approach to deploying and configuring Nova services. A new enable_cells flag has been added that enables the support of multiple cells via the introduction of a super conductor in addition to cell-specific conductors. When this flag is not set (the default), nova is configured in the same manner as before - with a single conductor. The nova role now deploys the global services: * nova-api * nova-scheduler * nova-super-conductor (if enable_cells is true) The nova-cell role handles services specific to a cell: * nova-compute * nova-compute-ironic * nova-conductor * nova-libvirt * nova-novncproxy * nova-serialproxy * nova-spicehtml5proxy * nova-ssh This patch does not support using a single cell controller for managing more than one cell. Support for sharing a cell controller will be added in a future patch. This patch should be backwards compatible and is tested by existing CI jobs. A new CI job has been added that tests a multi-cell environment. ceph-mon has been removed from the play hosts list as it is not necessary - delegate_to does not require the host to be in the play. Documentation will be added in a separate patch. Partially Implements: blueprint support-nova-cells Co-Authored-By:
Mark Goddard <mark@stackhpc.com> Change-Id: I810aad7d49db3f5a7fd9a2f0f746fd912fe03917
-
Viktor Michalek authored
Change-Id: I4050c243f05571bbebab07b08c101e61879cda67 Closes-Bug: 1848363
-
Dincer Celik authored
The missing boolean breaks Neutron FWaaS deployment. Change-Id: I169246a6ce8b15af76fd84b32029437016bd3c42 Closes-Bug: #1847562
-
Radosław Piliszek authored
Introduce kolla_address filter. Introduce put_address_in_context filter. Add AF config to vars. Address contexts: - raw (default): <ADDR> - memcache: inet6:[<ADDR>] - url: [<ADDR>] Other changes: globals.yml - mention just IP in comment prechecks/port_checks (api_intf) - kolla_address handles validation 3x interface conditional (swift configs: replication/storage) 2x interface variable definition with hostname (haproxy listens; api intf) 1x interface variable definition with hostname with bifrost exclusion (baremetal pre-install /etc/hosts; api intf) neutron's ml2 'overlay_ip_version' set to 6 for IPv6 on tunnel network basic multinode source CI job for IPv6 prechecks for rabbitmq and qdrouterd use proper NSS database now MariaDB Galera Cluster WSREP SST mariabackup workaround (socat and IPv6) Ceph naming workaround in CI TODO: probably needs documenting RabbitMQ IPv6-only proto_dist Ceph ms switch to IPv6 mode Remove neutron-server ml2_type_vxlan/vxlan_group setting as it is not used (let's avoid any confusion) and could break setups without proper multicast routing if it started working (also IPv4-only) haproxy upgrade checks for slaves based on ipv6 addresses TODO: ovs-dpdk grabs ipv4 network address (w/ prefix len / submask) not supported, invalid by default because neutron_external has no address No idea whether ovs-dpdk works at all atm. ml2 for xenapi Xen is not supported too well. This would require working with XenAPI facts. rp_filter setting This would require meddling with ip6tables (there is no sysctl param). By default nothing is dropped. Unlikely we really need it. ironic dnsmasq is configured IPv4-only dnsmasq needs DHCPv6 options and testing in vivo. KNOWN ISSUES (beyond us): One cannot use IPv6 address to reference the image for docker like we currently do, see: https://github.com/moby/moby/issues/39033 (docker_registry; docker API 400 - invalid reference format) workaround: use hostname/FQDN RabbitMQ may fail to bind to IPv6 if hostname resolves also to IPv4. This is due to old RabbitMQ versions available in images. IPv4 is preferred by default and may fail in the IPv6-only scenario. This should be no problem in real life as IPv6-only is indeed IPv6-only. Also, when new RabbitMQ (3.7.16/3.8+) makes it into images, this will no longer be relevant as we supply all the necessary config. See: https://github.com/rabbitmq/rabbitmq-server/pull/1982 For reliable runs, at least Ansible 2.8 is required (2.8.5 confirmed to work well). Older Ansible versions are known to miss IPv6 addresses in interface facts. This may affect redeploys, reconfigures and upgrades which run after VIP address is assigned. See: https://github.com/ansible/ansible/issues/63227 Bifrost Train does not support IPv6 deployments. See: https://storyboard.openstack.org/#!/story/2006689 Change-Id: Ia34e6916ea4f99e9522cd2ddde03a0a4776f7e2c Implements: blueprint ipv6-control-plane Signed-off-by:
Radosław Piliszek <radoslaw.piliszek@gmail.com>
-
- Oct 15, 2019
-
-
Dincer Celik authored
Deployment fails because the variable "glance_registry_port" in "ansible/roles/glance/templates/glance-cache.conf.j2" hasn't been configured anywhere. Also, "registry_host" and "registry_port" were deprecated since Queens[1], so they should be removed. [1] https://specs.openstack.org/openstack/glance-specs/specs/queens/approved/glance/deprecate-registry.html Closes-Bug: #1848146 Change-Id: I3dd5f5d2ba73d491366791986fdbdf16b75538ef
-
- Oct 14, 2019
-
-
Gaëtan Trellu authored
This is to avoid split-brain. This change also adds relevant docs that sort out the HA/quorum questions. Change-Id: I9a8c2ec4dbbd0318beb488548b2cde8f4e487dc1 Closes-Bug: #1837761 Co-authored-by:
Radosław Piliszek <radoslaw.piliszek@gmail.com>
-
- Oct 12, 2019
-
-
Radosław Piliszek authored
This could badly affect containerized chrony on Debian family distros. Change-Id: I3c57c0fe254b6166db55fa33358be646a4a23192 Closes-bug: #1847863
-
- Oct 10, 2019
-
-
Mark Goddard authored
cloud-init to manage /etc/hosts 1) Ubuntu includes a line in /etc/hosts that makes the local hostname and nodename (if different) point to 127.0.1.1. This can break RabbitMQ, which expects the hostname to resolve to the API network address. 2) The distribution might come with cloud-init installed, and manage_etc_hosts configuration enabled. If so, it will override the file /etc/hosts from cloud-init templates at every boot, which will break RabbitMQ. This change fixes these issues. Change-Id: I53261d0403b983ab419bd44e705b89f7b7a1c316 Closes-Bug: #1837699
-
- Oct 09, 2019
-
-
Michal Nasiadka authored
Using profiles in cephx is the recommended way since Mimic, this also adds support for blacklist ops. Change-Id: Ib9f65644637a5761c6cd7ca8925afc6bb2b8d5f5 Closes-Bug: #1760065
-
- Oct 07, 2019
-
-
Mark Goddard authored
Currently, swift-proxy config uses hosts in the swift-proxy-server group to generate the list of memcached servers. However, memcached is deployed to hosts in the memcached group. This change fixes the memcached_servers option for swift-proxy to be the same as other services. Change-Id: Ib850a1bb2a504ac3e1396846ca3f1d9a30e8fca0 Closes-Bug: #1774313
-
- Oct 03, 2019
-
-
Viktor Michalek authored
Depends-On: https://review.opendev.org/686316 Change-Id: I5f204541cc44bca94bed756bb3af3e102f81a1d2
-
Viktor Michalek authored
Change-Id: I097082112b857444c3e2f73896be5832a776743b
-
- Oct 01, 2019
-
-
Doug Szumski authored
The idea is to factor out a role for deploying Nova related services to cells. Since all deployments use cells, this role can be used in both regular deployments which have just cell0 and cell1, and deployments with many cells. Partially Implements: blueprint support-nova-cells Change-Id: Ib1f36ec0a773c384f2c1eac1843782a3e766045a
-
Mark Goddard authored
This role can be used by other roles to register RabbitMQ resources. Currently support is provided for creating virtual hosts and users. Change-Id: Ie1774a10b4d629508584af679b8aa9e372847804 Partially Implements: blueprint support-nova-cells Depends-On: https://review.opendev.org/684742
-
- Sep 30, 2019
-
-
Mark Goddard authored
Since https://opendev.org/openstack/kolla-ansible/commit/70b515bf1225e56b7df81677043d75be4bbb1ab4 was merged, we implicitly require Docker API version 1.25 (https://docs.docker.com/engine/api/v1.25/) to support passing environment variables to docker exec. The version of docker we deployed before the Docker CE upgrade was 1.12.0, which is Docker API version 1.24, and so does not support this. We get the following error: Setting environment for exec is not supported in API < 1.25 This change modifies the kolla_toolbox module to use the new JSON method for parsing Ansible's output when Docker API 1.25 is available, falling back to the old regex-based method otherwise. This change can be reverted when we require a minimum Docker API version of 1.25+. Change-Id: Ie671624ecca5b43d7bd8fbd959d701d9e21d66b3 Closes-Bug: #1845681
-
Joseph M authored
Add coordination backend configuration to designate.conf which is required in multinode environments. Fixes warning from designate: WARNING designate.coordination [-] No coordination backend configured, assuming we are the only worker. Please configure a coordination backend Change-Id: I23c4d2de7e3f9368795c423000a4f9a6c3a431e2 Closes-Bug: #1843842 Related-Bug: #1840070
-
- Sep 29, 2019
-
-
ZijianGuo authored
The deprecated ovsdb_interface configuration option has been removed, the default native driver is now always used. [1] [1] https://opendev.org/openstack/neutron/commit/cf37563c8393f964e7f390f13c43070791360cc1 Change-Id: Idd4e8ad4b00064d180a50c7b98a4568804939f50 Signed-off-by:
ZijianGuo <guozijn@gmail.com>
-
- Sep 26, 2019
-
-
Doug Szumski authored
The rolling upgrade has been the default since Stein. The legacy upgrade has been removed because it doesn't follow the upgrade guide [1]. [1] https://docs.openstack.org/nova/latest/user/upgrade.html Change-Id: I2aa879699cb4e9955bf5c38053eada5a53fb6211
-
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
-
Mark Goddard authored
This was actually not present in the original tasks, I'm not sure how it crept in. Using it could force delegating to a failed host. Also use a block in the service-ks-register role to avoid repeating the run_once and become arguments. Change-Id: Ie4e14b1cfb0167a2126685784b6a8f7262393f63
-
- 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
-