- May 23, 2020
-
-
Doug Szumski authored
The Monasca Log API has been removed and in this change we switch to using the unified API. If dedicated log APIs are required then this can be supported through configuration. Out of the box the Monasca API is used for both logs and metrics which is envisaged to work for most use cases. In order to use the unified API for logs, we need to disable the legacy Kafka client. We also rename the Monasca API config file to remove a warning about using the old style name. Depends-On: https://review.opendev.org/#/c/728638 Change-Id: I9b6bf5b6690f4b4b3445e7d15a40e45dd42d2e84
-
- May 12, 2020
-
-
Mark Goddard authored
Ansible 2.9.8 includes a regression on the fileglob plugin [1] that causes the HAProxy role to fail. This change blacklists Ansible 2.9.8 to work around the issue. [1] https://github.com/ansible/ansible/issues/69450 Change-Id: I12ca3b154fc7fed6a221880596e0acb5f6278bb7 Related-Bug: #1878192
-
- May 11, 2020
-
-
Will Szumski authored
This allows you to extend lists in yaml config. This is useful, for example, in prometheus.yml, where it would be nice to be able to extend the scrape_configs to include exporters that aren't packaged with kolla-ansible. This would provide a mechanism to do so. Change-Id: I7a10e363f42e8ffaae3c0d2c2a758853e2cab7e1 Related: blueprint custom-prometheus-targets
-
Will Szumski authored
This causes non-local side effects that are hard to track down. E.g: --- import errors --- Failed to import test module: tests.test_merge_yaml Traceback (most recent call last): File "/home/will/.pyenv/versions/3.7.7/lib/python3.7/unittest/loader.py", line 436, in _find_test_path module = self._get_module_from_name(name) File "/home/will/.pyenv/versions/3.7.7/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name __import__(name) File "/home/will/code/kolla-ansible/tests/test_merge_yaml.py", line 19, in <module> from ansible.errors import AnsibleModuleError ModuleNotFoundError: No module named 'ansible.errors'; 'ansible' is not a package This `'ansible' is not a package` message occurs because ansible is a Mock. Depends-On: https://review.opendev.org/#/c/726768/ Change-Id: Iddbdd3d855daadbf12536cc990559e6b8e123051
-
- May 01, 2020
-
-
Radosław Piliszek authored
Fixes: - SB/NB DB address format (single host) for SB/NB DB daemon - SB/NB DB address format (all hosts) for Neutron / northd / ovn-ovs bootstrap - OVN tests Change-Id: I539773c48f89b731d068280c228ce11782bf5788 Closes-Bug: #1875222
-
- Apr 30, 2020
-
-
Hongbin Lu authored
Zun has a new component "zun-cni-daemon" which should be deployed in every compute nodes. It is basically an implementation of CNI (Container Network Interface) that performs the neutron port binding. If users is using the capsule (pod) API, the recommended deployment option is using "cri" as capsule driver. This is basically to use a CRI runtime (i.e. CRI plugin for containerd) for supporting capsules (pods). A CRI runtime needs a CNI plugin which is what the "zun-cni-daemon" provides. The configuration is based on the Zun installation guide [1]. It consits of the following steps: * Configure the containerd daemon in the host. The "zun-compute" container will use grpc to communicate with this service. * Install the "zun-cni" binary at host. The containerd process will invoke this binary to call the CNI plugin. * Run a "zun-cni-daemon" container. The "zun-cni" binary will communicate with this container via HTTP. Relevant patches: Blueprint: https://blueprints.launchpad.net/zun/+spec/add-support-cri-runtime Install guide: https://review.opendev.org/#/c/707948/ Devstack plugin: https://review.opendev.org/#/c/705338/ Kolla image: https://review.opendev.org/#/c/708273/ [1] https://docs.openstack.org/zun/latest/install/index.html Depends-On: https://review.opendev.org/#/c/721044/ Change-Id: I9c361a99b355af27907cf80f5c88d97191193495
-
- Apr 28, 2020
-
-
Marcin Juszkiewicz authored
Debian defaults to Python2 which is not complete in aarch64 images. This patch changes CI to always use Python3. We need to install several Python modules to have working ussuri jobs. "Failed to import the required Python library (setuptools) on primary's Python /usr/bin/python3." And then several Python2 ones for train->ussuri upgrade jobs: "Unable to find any of pip2 to use. pip needs to be installed." Change-Id: Ia0d3ff15d97d1cabbb0b8e7f32e8712ca3f94732
-
- Apr 26, 2020
-
-
Radosław Piliszek authored
Pipe hid an issue that Ironic client was not available in CI, making it look as if fake-hardware driver was not usable. This commit applies separation of concerns to easily discern between the two failures and provide better debugging experience. Change-Id: Iac3d84b7d707b84a8426c8d787b29a368ff7ae85 Related-Bug: #1872481
-
Radosław Piliszek authored
Removes and/or replaces all mentions of py27. Cleans up obsolete requirements and their lower-constraints. Separates test-requirements. Makes lower-constraints pass outside of CI (MarkupSafe). Adds FIXMEs about some hacky Mocks that may misbehave. Change-Id: Ifc090bf3c1db17d8542ee591c91e8225a597bfe2
-
- Apr 24, 2020
-
-
Radosław Piliszek authored
Bashate warned on init-swift.sh because of E043 -- arithmetic compound has inconsistent return semantics: (( next_port++ )) New Zuul reported that on every change as a warning. This is fixed here. This change makes Bashate always produce errors so that we do not introduce such warnings again. Change-Id: I40166b377ec2580e17901375b636183bca492d3a
-
- Apr 21, 2020
-
-
Marcin Juszkiewicz authored
Change-Id: I150c8952aad7b6fdb1260b343c26a96fb2360bce
-
- Apr 20, 2020
-
-
Mark Goddard authored
Drops support for creating Python 2 virtualenvs in bootstrap-servers, and looking for a python2 interpreter in the kolla-ansible script. Also forces the use of Python 3 as the remote interpreter in CI on Debian and Ubuntu hosts, since they typically symlink the unversioned interpreter to python2.7. Change-Id: Id0e977de381e7faafed738674a140ba36184727e Partially-Implements: blueprint drop-py2-support
-
- Apr 16, 2020
-
-
Michal Nasiadka authored
Followup of last reviews from [1]. [1]: https://review.opendev.org/#/c/696841 Change-Id: I7085093b20e8848e09dc521ae9fbf120e909470d
-
Marcin Juszkiewicz authored
We publish those images for a while. Change-Id: Ifc157b43e87e4f77a1c70d98343bd0ef9cc0de79
-
- Apr 10, 2020
-
-
Marcin Juszkiewicz authored
AArch64 does not have a way to get cpu features from libvirt. Change-Id: Ieed404e17e8a9829f38c03f7ee7fdb3caa3919e8
-
Marcin Juszkiewicz authored
AArch64 needs a bit more time to boot testing instance. So give it more time by doubling amount of connect attempts. Change-Id: I87ca65691dfbac84349e8af24d2f36f1db1c8be1
-
- Apr 09, 2020
-
-
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
CentOS 8 support is now fairly complete - time to drop CentOS 7. Partially-Implements: blueprint centos-rhel-8 Change-Id: I940b1d3eceb98e16fa366c243672f588b1412d70
-
- 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
-
-
Radosław Piliszek authored
We don't need tox nor tell our users to use it when doing kolla builds. Tox is going away from base infra images. It's already gone from aarch64 (arm64) ones. Change-Id: I2eb5203ad93c011b8806f4b6fb56db081c14a2cb
-
- Apr 02, 2020
-
-
Radosław Piliszek authored
Now that py2 is gone, oslotest dropped dependency on mock and will soon affect Ussuri CI [1], let's use unittest.mock built in py3. This also fixes py38 jobs and proactively prevents py36 and py37 failing due to [1]. This is because we never included mock in test-requirements (but in lower-constraints where it does not really belong at all) and instead relied on oslotest to bring it in. [1] https://review.opendev.org/716322 Change-Id: I30e82e2d87418272a71c7ee089a8acdaf8872158
-
- Mar 30, 2020
-
-
Radosław Piliszek authored
In stable branches we are getting hit by more py2-incompats. Let's pin u-c in all CI pip invocations. Change-Id: Ie2bcc7c115cd2aaf4639d90803216011b346daf3
-
- Mar 19, 2020
-
-
Michal Nasiadka authored
Sometimes ping & ssh to the instance are failing - outputting instance console log can help in the case when there are metadata access issues (or other issues). Change-Id: I8437300d621448782e964d877b2614ca606f5849
-
Michal Nasiadka authored
Since fluentd is disabled in MariaDB jobs - haproxy logs are not getting populated. Change-Id: I56b3fc1be6940d97905cdb2c4452b846f106c071 Depends-on: https://review.opendev.org/713704
-
- Mar 17, 2020
-
-
Michal Nasiadka authored
ceph-ansible by default uses "latest" tag for ceph Docker Hub images, but recently latest tag has been upgraded to be Octopus release, not Nautilus. Change-Id: I5247c10079ab91cce130cd5ba403f25ccaf7c1fb
-
Mark Goddard authored
tox will be removed from the base image. Install it before that happens. This change is made in a simple way that can be easily backported. Depends-On: https://review.opendev.org/713386 Change-Id: I4181654c88554c81940f0d079cf1d64326cdec79
-
- Mar 16, 2020
-
-
Radosław Piliszek authored
We are getting this randomly on neutron-server shutdown for upgrade. As it does not affect real operations (and if it did, we would definitely see it now), let's ignore it. Change-Id: Ibe561517d44a1108e8223442a71fab36b69c2258 Related-bug: #1863579
-
- Mar 03, 2020
-
-
Mark Goddard authored
Test upgrade from CentOS 8 train to CentOS 8 master. Change-Id: Ibff2c7f8844dec4758945cbc7aa8df80d70a3dfd Partially-Implements: blueprint centos-rhel-8
-
Mark Goddard authored
Following I21dd51c82534704f31ca8d3f72cb2587ee216cd9, the test inventory was synced with the multinode inventory. This removed some temporary ceph groups used by the ceph-ansible-upgrade jobs, and broke them. This change adds the groups back. Change-Id: I37379258447ffde6b083f4e8d9a1644bc17cd165
-
- Mar 02, 2020
-
-
Radosław Piliszek authored
TrivialFix Change-Id: I0e6924b5dc86e90c10037d96ab871bd981365cc9
-
- Mar 01, 2020
-
-
Radosław Piliszek authored
Also adds gawk for timestamping. This helps to correlate init events with failures elsewhere. Change-Id: I22fdb683ecf9870b2d66fedd6b40b7004317130a
-
- Feb 28, 2020
-
-
Radosław Piliszek authored
Inspired by pending work of mnasiadka [1] and mgoddard [2]. [1] https://review.opendev.org/708250 [2] https://review.opendev.org/707604 Depends-on: https://review.opendev.org/709362 Depends-on: https://review.opendev.org/709671 Depends-on: https://review.opendev.org/709830 Change-Id: Ifd7bde60881a4b644fc3f18dd9fcb7f8b02d3a00
-
- Feb 26, 2020
-
-
Radosław Piliszek authored
This is to allow CI testing of network connectivity. Note only "primary" node gets an address on it. Hence, "primary" becomes our fake external router. Depends-on: https://review.opendev.org/709361 Change-Id: I05592888796107d6de95b940c42b2bff73ac0669
-
- Feb 25, 2020
-
-
James Kirsch authored
Fix the upgrade TLS scenario in zuul to generate self signed certificates and to configure TLS to be enabled in the open stack deployment. Change-Id: Icacc28eed6ad5b81fc3954db80486d9d7f24c082 Partially-Implements: blueprint custom-cacerts
-
Mark Goddard authored
Clients are starting to release versions that don't support Python 2. The ironic scenario is currently failing on stable branches for this reason. Use upper constraints to avoid installing these new versions on stable branches. Change-Id: I4f91b53cbf2297d70da4b54d6c402c1427aacdd9
-
- Feb 21, 2020
-
-
Mark Goddard authored
Change-Id: I21dd51c82534704f31ca8d3f72cb2587ee216cd9
-
Radosław Piliszek authored
This was never necessary because C7 IPv6 CI was not enabled at the time and later we fixed IPv6 in C7 to avoid this issue. In Ussuri C7 is going away so even more reasons to drop it. :-) Change-Id: I4066c9cd86ff892d78f6713589f9afffc611dcc1
-
Radosław Piliszek authored
This allows for some real testing, especially in a multinode environment. Change-Id: Ic96819fefe460e14c8460e52a78d9b0d034edc80
-
- Feb 20, 2020
-
-
Michal Nasiadka authored
In some resource-constrained environments, particularly during service bootstrap Galera cluster nodes can experience timeouts in inter-node communication. This change sets the gmcast.peer_timeout based on the galera cluster documentation: https://galeracluster.com/library/documentation/galera-parameters.html We are observing peer timeout issues on some CI runs - therefore raising it to PT15S as in similar Ubuntu charms jobs. Change-Id: Id036e41b62a88bab486c35a5f1fde5cfc2fa4803
-