- Oct 15, 2019
-
-
Ionut Balutoiu authored
The method `Fernet.generate_key()` generates a binary string in Python 3: ``` >>> Fernet.generate_key() b'qSMZlOK23pZUw_Uyy-ZRPUfPskMXKGCGmhG6AHCFiV8=' ``` Unless properly written as a string to the Kolla `passwords.yml` file, the Fernet key will end up in the final Barbican config like this: ``` [simple_crypto_plugin] kek = b'qSMZlOK23pZUw_Uyy-ZRPUfPskMXKGCGmhG6AHCFiV8=' ``` Due to the fact that the key is incorrectly written to the barbican config file (it should be written as a string), every barbican secret store fails with: ``` barbican.api.controllers File "/var/lib/kolla/venv/lib/python3.6/site-packages/barbican/plugin/store_crypto.py", line 83, in store_secret barbican.api.controllers encrypting_plugin, context.project_model) barbican.api.controllers File "/var/lib/kolla/venv/lib/python3.6/site-packages/barbican/plugin/store_crypto.py", line 290, in _find_or_create_kek_objects barbican.api.controllers kek_meta_dto = plugin_inst.bind_kek_metadata(kek_meta_dto) barbican.api.controllers File "/var/lib/kolla/venv/lib/python3.6/site-packages/barbican/plugin/crypto/simple_crypto.py", line 104, in bind_kek_metadata barbican.api.controllers encryptor = fernet.Fernet(self.master_kek) barbican.api.controllers File "/var/lib/kolla/venv/lib/python3.6/site-packages/cryptography/fernet.py", line 38, in __init__ barbican.api.controllers "Fernet key must be 32 url-safe base64-encoded bytes." barbican.api.controllers ValueError: Fernet key must be 32 url-safe base64-encoded bytes. ``` This commit fixes the issue described above by properly writing the Fernet key as a string to the Kolla `passwords.yml` file. Closes-Bug: #1848191 Change-Id: I27fc0159c889bc2e1576fdd69b7d02a320b620f8
-
- Oct 14, 2019
- Oct 13, 2019
-
-
Zuul authored
-
huangliujie authored
- pbr hasn't need the hook configuration since forever [1] [1] https://github.com/openstack/pbr/commit/c84876dc0f559a66fec19b2f81f5717204b253e2 Change-Id: If14fab7d7997f1a324cd3335d627868de3fafd8a
-
- Oct 12, 2019
-
-
Radosław Piliszek authored
This could badly affect containerized chrony on Debian family distros. Change-Id: I3c57c0fe254b6166db55fa33358be646a4a23192 Closes-bug: #1847863
-
- Oct 11, 2019
- 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
-
Zuul authored
-
Zuul authored
-
- 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 08, 2019
-
-
Zuul authored
-
Mark Goddard authored
Adds a top-level guide for Nova, with links off to the various virt driver guides. Generalises the libvirt TLS guide into a libvirt guide, and adds info on hardware virtualisation and qemu vs. kvm. Adds information on configuring consoles. Change-Id: I36beaaee313bdbc4bcf8cc15c41dda245a5a81ba
-
- Oct 07, 2019
-
-
Zuul authored
-
Mark Goddard authored
This ensures that failure of a single host fails the whole play at that task. This can avoid confusing errors such as when the task "Assert that the nodepool private IPv4 address is assigned" fails on one host, causing subsequent errors on other hosts. Note that this only affects the Zuul playbooks, not Kolla Ansible's playbooks. Change-Id: I77a6534dd2ddd188f795e17d17a44be249d01f31
-
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 05, 2019
-
-
Zuul authored
-
- Oct 04, 2019
-
-
Zuul authored
-
Zuul authored
-
Marcin Juszkiewicz authored
Change-Id: I0628b16e3ebdb3fa8196acdc1bd9c63e75bcfb09
-
- Oct 03, 2019
-
-
Viktor Michalek authored
Depends-On: https://review.opendev.org/686316 Change-Id: I5f204541cc44bca94bed756bb3af3e102f81a1d2
-
Zuul authored
-
Zuul authored
-
Viktor Michalek authored
Change-Id: I097082112b857444c3e2f73896be5832a776743b
-
- Oct 02, 2019
- 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
-
Radosław Piliszek authored
This is not required since enabling HAProxy over VXLAN [1]. [1] https://review.opendev.org/670690 Change-Id: I239a7c60d6ae0c80640ff10209a80c7a9ca74cd6 Signed-off-by:
Radosław Piliszek <radoslaw.piliszek@gmail.com>
-
Zuul authored
-
- Sep 30, 2019
-
-
Zuul authored
-
Pierre Riteau authored
Change-Id: I95116bd2f33dfc2db9f8f913b6995113a8cb2dbf
-
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
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
- Sep 29, 2019
-
-
Zuul authored
-
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>
-