- Jul 10, 2020
-
-
Michal Nasiadka authored
Currently seting --configdir on kolla-ansible CLI doesn't set properly the path for the passwords file. Change-Id: I38d215b721ec256be6cfdd6313b5ffb90c2a3f4c Closes-Bug: #1887180 Co-Authored-By:
Radosław Piliszek <radoslaw.piliszek@gmail.com>
-
Mark Goddard authored
Tests prometheus, grafana, and centralised logging. The tests could be improved in future by querying logs in elasticsearch, and metrics in prometheus. Change-Id: Iabad035d583d291169f23be3d71931cb260e87ae
-
- Jul 07, 2020
-
-
Mark Goddard authored
The common role was previously added as a dependency to all other roles. It would set a fact after running on a host to avoid running twice. This had the nice effect that deploying any service would automatically pull in the common services for that host. When using tags, any services with matching tags would also run the common role. This could be both surprising and sometimes useful. When using Ansible at large scale, there is a penalty associated with executing a task against a large number of hosts, even if it is skipped. The common role introduces some overhead, just in determining that it has already run. This change extracts the common role into a separate play, and removes the dependency on it from all other roles. New groups have been added for cron, fluentd, and kolla-toolbox, similar to other services. This changes the behaviour in the following ways: * The common role is now run for all hosts at the beginning, rather than prior to their first enabled service * Hosts must be in the necessary group for each of the common services in order to have that service deployed. This is mostly to avoid deploying on localhost or the deployment host * If tags are specified for another service e.g. nova, the common role will *not* automatically run for matching hosts. The common tag must be specified explicitly The last of these is probably the largest behaviour change. While it would be possible to determine which hosts should automatically run the common role, it would be quite complex, and would introduce some overhead that would probably negate the benefit of splitting out the common role. Partially-Implements: blueprint performance-improvements Change-Id: I6a4676bf6efeebc61383ec7a406db07c7a868b2a
-
- Jul 02, 2020
-
-
Mark Goddard authored
An editable installation allows changes to be made to the source code directly, and have those changes applied immediately without having to reinstall. pip install -e /path/to/kolla-ansible Change-Id: I023d96d25edd9d2fafd4415743e298af72a861a1
-
- Jun 29, 2020
-
-
Mark Goddard authored
Recently a feature was merged to support pulling in multiple configuration files from a globals.d directory. However, if this directory does not exist, we get the following error when executing kolla-ansible: find: '/etc/kolla/globals.d': No such file or directory This change addresses this by redirecting find command stderr to /dev/null. TrivialFix Change-Id: Ie5aa511a5ebf3355817a7c3bb65b09ac5dcf2b67
-
- Jun 18, 2020
-
-
Konstantinos Mouzakitis authored
Added a spec file for this blueprint. Changed the kolla-ansible script to accept more than one globals.yml file. That will still be the main one but operators will be able to create more, under the /etc/kolla/globals.d directory. Also added some paragraphs in the quickstart documentation about this. Finally, Adding a release note Change-Id: I34eb91d0e2ed80694594b8fc6801cf8ad77da754 Implements: blueprint multiple-globals-files
-
- Jun 12, 2020
-
-
Radosław Piliszek authored
This ought to fix #1864238 for the stable branches. Change-Id: I218905247a4a4003ecfc2c9ab3e47767bb5ab33e Related-bug: #1864238
-
- May 29, 2020
-
-
Luke Short authored
This is to avoid waiting for the user to input data to continue creating sample resources. Change-Id: I46ff7a4779dae4c9cbe157e1712afa4e53be269e Signed-off-by:
Luke Short <ekultails@gmail.com>
-
- May 17, 2020
-
-
xiaojueguan authored
Change-Id: I0ecc10f8035f421d7dc1132c2b29db0d9cc84cdf Closes-Bug: #1879125
-
- Apr 27, 2020
-
-
Radosław Piliszek authored
Fix-feature following up on the original check [1] to make it test the correct interpreter. Additionally, this change removes last, unneeded call to random python - getting script directory is perfectly doable in bash. All checks are done from Python, not Ansible, due to its performance. Python version feels snappy (0.2 s to check), compared to sluggish Ansible (2.0 s to check). What is more, relying on Ansible would require hacky solutions to e.g. prevent custom config from interfering with it. We might be willing to steer Ansible from Python in the future anyhow. [1] Icf0399d21b3fde8d530d73e6e7ee4a57665da276 Change-Id: Ib8f2e6b6672e7c06aa94bc226c4d72640d25d8c2 Closes-Bug: #1856346
-
- 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 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 09, 2020
-
-
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
-
- 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 21, 2020
-
-
Marcin Juszkiewicz authored
We released CirrOS 0.5.1. Time to move then. Change-Id: Ibca24836f19b3cbf6166fa39a3702883938feda8
-
- Mar 20, 2020
-
-
Radosław Piliszek authored
The affected command was meant to create a tenant network, so let us really test it this way. Not marking CI, because someone may be using this script. Change-Id: I5abe46948992121a11a36f941d4f8fac1caa92b1
-
- Mar 19, 2020
-
-
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 16, 2020
-
-
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 03, 2020
-
-
Radosław Piliszek authored
This avoids issues with IPv6 not enabled in docker. Change-Id: I0faa1df8a04acd1746fa8a5f0d8455f819c254b5
-
- 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 25, 2020
-
-
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 23, 2020
-
-
Radosław Piliszek authored
I'm not marking it CI-only as ppl seem to be using it. OTOH, not adding a release note as we are not promoting its usage. This is to allow us to customize for CI. Change-Id: I8100a6cb63b1e54078629bd6ca8475dc5896784a
-
- Feb 19, 2020
-
-
Will Szumski authored
This allows you to tune the performance of InfluxDB by locating the volume on a drive that is separate to the default docker storage. Change-Id: Iea555a2702b225b30f5d7035b8a703d4f3376ee7
-
- Feb 13, 2020
-
-
Dincer Celik authored
The bash part of version checking fails when ANSIBLE_DEBUG is set while running kolla-ansible, so need to skip it. Change-Id: I4adc986365c4b0c11eb69e128eb7d037a24a2baf
-
- Feb 12, 2020
-
-
Mark Goddard authored
Also better organise the 'tips and tricks' section. Change-Id: If20a89ae93b64b5a1b5895bb9dc73c4e70adaba7 Related-Bug: #1862649
-
- Feb 11, 2020
-
-
Michal Nasiadka authored
Kolla-Ansible Ceph deployment mechanism has been deprecated in Train [1]. This change removes the Ansible code and associated CI jobs. [1]: https://review.opendev.org/669214 Change-Id: Ie2167f02ad2f525d3b0f553e2c047516acf55bc2
-
- Feb 06, 2020
-
-
Radosław Piliszek authored
Adds new CI job definitions for CentOS 8: - kolla-ansible-centos8-source - kolla-ansible-centos8-binary - kolla-ansible-centos8-source-ceph-ansible - kolla-ansible-centos8-source-cinder-lvm - kolla-ansible-centos8-source-mariadb - kolla-ansible-centos8-source-bifrost - kolla-ansible-centos8-source-zun - kolla-ansible-centos8-source-swift - kolla-ansible-centos8-source-scenario-nfv - kolla-ansible-centos8-source-ironic - kolla-ansible-centos8-binary-ironic - kolla-ansible-centos8-source-masakari - kolla-ansible-centos8-source-cells The following jobs are added to the check pipeline: - kolla-ansible-centos8-source - kolla-ansible-centos8-binary - kolla-ansible-centos8-source-cinder-lvm - kolla-ansible-centos8-source-mariadb - kolla-ansible-centos8-source-zun - kolla-ansible-centos8-source-swift - kolla-ansible-centos8-source-scenario-nfv - kolla-ansible-centos8-source-ironic - kolla-ansible-centos8-binary-ironic - kolla-ansible-centos8-source-cells The following jobs are not yet passing so are not added to the check pipeline: - kolla-ansible-centos8-source-ceph-ansible - kolla-ansible-centos8-source-bifrost - kolla-ansible-centos8-source-masakari The kolla-ansible-centos8-source job is added to the gate. Upgrade jobs will be added when CentOS 8 support exists in Train. Depends-On: https://review.opendev.org/704337 Depends-On: https://review.opendev.org/704848 Depends-On: https://review.opendev.org/704965 Co-Authored-By:
Mark Goddard <mark@stackhpc.com> Change-Id: Ibd806feee71721b122b77d7eff33228ca1cc2853 Partially-Implements: blueprint centos-rhel-8
-
- Feb 05, 2020
-
-
Radosław Piliszek authored
As discussed during the meeting. [1] [1] http://eavesdrop.openstack.org/meetings/kolla/2020/kolla.2020-02-05-15.00.html Change-Id: I339fc7f01f640a32ff35d19ded54b6f8e2fdec15
-
- Jan 30, 2020
-
-
Mark Goddard authored
Change-Id: I957fcea4ab180dd82d1faaa9a012f83d3647f043
-
- Jan 28, 2020
-
-
Mark Goddard authored
Due to regex matching of images, we are currently building quite a few unnecessary images in CI. Images that can unexpectedly match: * barbican-keystone-listener * ironic-neutron-agent * prometheus-haproxy-exporter * prometheus-memcached-exporter This change improves the situation by anchoring matches to the start of the name. A full solution would be to specify every image required for each job. This would be quite verbose and require maintenance. Change-Id: I7387ccd0cb394c54c79bfba8b1c09fce7ee2973e
-
- Jan 27, 2020
-
-
Dincer Celik authored
This change introduces prune-images command. Uses docker_prune module of Ansible that comes with version 2.8. Depends-On: https://review.opendev.org/#/c/699333/ Implements: blueprint docker-image-pruning Change-Id: Icbf374dd50e1cc1f1604bb4fa779b34279efd50c
-
- Jan 24, 2020
-
-
Michal Nasiadka authored
* Adding zuul centos-source/ubuntu-source ceph-ansible jobs * Jobs will deploy all Ceph integrated OpenStack components, i.e. cinder, glance, nova * Will utilize core openstack testing script Depends-On: https://review.opendev.org/685032 Depends-On: https://review.opendev.org/698301 Implements: blueprint ceph-ansible Change-Id: I233082b46785f74014177f579aeac887a25b2ae2
-
- Jan 09, 2020
-
-
Dincer Celik authored
Maximum supported version is set to 2.9 Updated the minimum supported version to 2.8 Implements: blueprint ansible-max-version Change-Id: I97cc95e37f49886e6d74f2d5a789b923b14b5a2d
-
- Jan 08, 2020
-
-
Mark Goddard authored
In CentOS/RHEL 8 there is no scsi-target-utils package, nor is it available in EPEL. It is removed from kolla in [1]. In RHEL 7 and beyond the LIO kernel subsystem can be used instead of the tgtd daemon. This change removes support for the SCSI target daemon on CentOS/RHEL 8. The 'tgtd' image is no longer available for CentOS/RHEL 8. [1] https://review.openstack.org/#/c/613815/5 Change-Id: I718fc16cde2dd177b2a1c2f79b932426034897fe Related: blueprint centos-rhel-8
-
- Dec 11, 2019
-
-
Mark Goddard authored
This switches our test jobs to use python 3 for the installation of OpenStack clients used to test the control plane. Change-Id: I6bf0a315cef174c42a69db3a7d57f602b27ac92c Related: blueprint python 3
-
- Dec 10, 2019
-
-
Hongbin Lu authored
Co-authored-by:
Radosław Piliszek <radoslaw.piliszek@gmail.com> Depends-on: https://review.opendev.org/694476 Change-Id: I6e7f2f4229c8b579dcc17dacffeb74160875ae29
-
- Dec 09, 2019
-
-
Mark Goddard authored
Continue to reduce the scope of setup_gate.sh. Allows us to more easily select python 2 or 3. Change-Id: If2eeeacbbbdf58afb765b4a39772b5a1af7b952b Partially Implements: blueprint python-3
-