- Jun 05, 2021
-
-
likui authored
Change-Id: Ic45f618204875684f52133ec0f69fe7512ec9e2c
-
- Jun 02, 2021
-
-
Mark Goddard authored
The chrony container is deprecated in Wallaby, and disabled by default. This change allows to remove the container if chrony is disabled. Change-Id: I1c4436072c2d47a95625e64b731edb473384b395
-
- May 24, 2021
-
-
Mark Goddard authored
The linters job started failing, due to a dependency change. Change-Id: Ibab350ecf6d9551da8e9c8b704693122cec11559
-
- Apr 08, 2021
-
-
Michal Arbet 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 Above is currently working only in virtualenv, but there is no reason to not allow in all cases. This is usefull for example when user is building his own docker container with editable kolla-ansible installed from git without virtualenv. Change-Id: I185f7c09c3f026fd6926a26001393f066ff1860d
-
- Mar 08, 2021
-
-
Michał Nasiadka authored
Min version stays as 2.9 Change-Id: I7ec8c5eb36757248c9aa016dc7d4e495ec5bb635
-
- Mar 03, 2021
-
-
Doug Szumski authored
Historically Monasca Log Transformer has been for log standardisation and processing. For example, logs from different sources may use slightly different error levels such as WARN, 5, or WARNING. Monasca Log Transformer is a place where these could be 'squashed' into a single error level to simplify log searches based on labels such as these. However, in Kolla Ansible, we do this processing in Fluentd so that the simpler Fluentd -> Elastic -> Kibana pipeline also benefits. This helps to avoid spreading out log parsing configuration over many services, with the Fluentd Monasca output plugin being yet another potential place for processing (which should be avoided). It therefore makes sense to remove this service entirely, and squash any existing configuration which can't be moved to Fluentd into the Log Perister service. I.e. by removing this pipeline, we don't loose any functionality, we encourage log processing to take place in Fluentd, or at least outside of Monasca, and we make significant gains in efficiency by removing a topic from Kafka which contains a copy of all logs in transit. Finally, users forwarding logs from outside the control plane, eg. from tenant instances, should be encouraged to process the logs at the point of sending using whichever framework they are forwarding them with. This makes sense, because all Logstash configuration in Monasca is only accessible by control plane admins. A user can't typically do any processing inside Monasca, with or without this change. Change-Id: I65c76d0d1cd488725e4233b7e75a11d03866095c
-
- Feb 12, 2021
-
-
Mark Goddard authored
If kolla-ansible is installed via pip install --user, currently the kolla-ansible script is unable to locate the installed playbooks. This leads to a failure when running commands. This change fixes the issue by checking for the user's .local directory as a possible installation path. This fixes some of the scenario tests which were failing after switching to a user installation in Ifaf1948ed5d42eebaa62d7bad375bbfc12b134d5. Most tests did not fail since the kolla-ansible script in the source checkout was used. Closes-Bug: #1915527 Change-Id: I5b47a146627d06bb3fe4a747c5f20290c726b0f9
-
- Nov 20, 2020
-
-
Mark Goddard authored
This file is for kolla images. Change-Id: I2c1a21790b65cf6537380d576c0abb4d16bd369b
-
- Nov 18, 2020
-
-
zengchen228 authored
One of the pyenv-virtualenv-set-up aliases depends on a symlink. It seems pyenv runs the bash script from such a path and it fails because of a failing comparison (VIRTUAL_ENV not detected). The VIRTUAL_ENV is ensured to be fully resolved as well for safety. This requires readlink from GNU coreutils but all supported platforms have it by default. Extra comments included, as well as simplification of directory detection - readlink handles this (not that `bin` itself was ever a symlink...). Closes-Bug: #1903887 Co-Authored-By:
Radosław Piliszek <radoslaw.piliszek@gmail.com> Change-Id: I2fe6eb13ce7be68d346b1b3b7036859f34c896c4
-
- Nov 13, 2020
-
-
Mark Goddard authored
Change-Id: Ibd06726ac6edcb63a1d5d4f4148851876316dc5b
-
- Oct 08, 2020
-
-
Mark Goddard authored
implemented as a separate command (kolla-ansible octavia-certificates) Implements: blueprint implement-automatic-deploy-of-octavia Co-Authored-By:
wu.chunyang <wuchunyang@yovole.com> Co-Authored-By:
Radosław Piliszek <radoslaw.piliszek@gmail.com> Change-Id: I2c5b26ce9e363f35c523865904a582f7960aa682
-
- Sep 29, 2020
-
-
zhoulinhui authored
The kolla-cli is deprecation [1], it should be clean up from kolla-ansible's cleanup-host script [1]: https://review.opendev.org/#/c/749045/ Change-Id: I7072de235d9d629b0f538dc98c5258ee5f023376
-
- Sep 23, 2020
-
-
Pierre Riteau authored
Change-Id: I5befc72a4894d625ca352b27df9d3aa84a2f5b2c
-
- Sep 12, 2020
-
-
Radosław Piliszek authored
If we don't set it, then Zun chooses one randomly (the first one from Neutron). This may break if it is a network that is not available on target hosts, e.g. external via L3 agent router. Since capsules do not support nets yet [1], this patch ensures desired network creation order in init-runonce instead. [1] https://bugs.launchpad.net/zun/+bug/1895263 Change-Id: Iaa113dcfb826164a2772d2c91d34ec0236be0817
-
- Sep 08, 2020
-
-
Radosław Piliszek authored
This is confusing as it is not meant to be used by users. Also, various tools show duplicated matches due to both locations containing the exact same content. Change-Id: I2debe121f64954e57788270d3258775f29f1cbb0
-
- Aug 20, 2020
-
-
likui authored
Change-Id: Iff699b6dd9417e2e72618263641cbfa6ccb6e585 Related-Bug: #1892341
-
- Aug 19, 2020
-
-
wu.chunyang authored
remove cluster_interface from project. update storage_interface docs.and remove storage_interface_address variable Change-Id: I3f811db988234f94b5ed0cc9d24233f70784f58d
-
- 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
-