- Oct 22, 2021
-
-
Radosław Piliszek authored
As promised for Xena. Change-Id: Id634426a1961f0b883068e4ed80e7d1633e5708e
-
- Sep 30, 2021
-
-
wu.chunyang authored
chrony is not supported in Xena cycle, remove it from kolla Moved tasks from chrony role to chrony-cleanup.yml playbook to avoid a vestigial chrony role. Co-Authored-By:
Mark Goddard <mark@stackhpc.com> Change-Id: I5a730d55afb49d517c85aeb9208188c81e2c84cf
-
- Jul 02, 2021
-
-
Mark Goddard authored
Adds a new variable, 'disable_firewall', which defaults to true. If set to false, then the host firewall will not be disabled during kolla-ansible bootstrap-servers. Change-Id: Ie5131013012f89c8c3b91ca359ad17d9cb77efc8
-
- Jun 23, 2021
-
-
Mark Goddard authored
By default, Ansible injects a variable for every fact, prefixed with ansible_. This can result in a large number of variables for each host, which at scale can incur a performance penalty. Ansible provides a configuration option [0] that can be set to False to prevent this injection of facts. In this case, facts should be referenced via ansible_facts.<fact>. This change updates all references to Ansible facts within Kolla Ansible from using individual fact variables to using the items in the ansible_facts dictionary. This allows users to disable fact variable injection in their Ansible configuration, which may provide some performance improvement. This change disables fact variable injection in the ansible configuration used in CI, to catch any attempts to use the injected variables. [0] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inject-facts-as-vars Change-Id: I7e9d5c9b8b9164d4aee3abb4e37c8f28d98ff5d1 Partially-Implements: blueprint performance-improvements
-
- Apr 27, 2021
-
-
Radosław Piliszek authored
As agreed during IRC meeting. [1] [1] http://eavesdrop.openstack.org/meetings/kolla/2021/kolla.2021-04-07-15.00.html Change-Id: Ibffa019e2106784e97f5c482106bb5082f788752
-
- Mar 26, 2021
-
-
Michal Nasiadka authored
Change-Id: I947c2940518c0f4872acaa977edeaca370dc9a96
-
- Dec 23, 2020
-
-
Andrew Lukoshko authored
ansible_lsb.codename fact needs lsb-release package installed but it absent in Debian 10 minimal install. It's better to use ansible_distribution_release fact which contain the same value and don't need extra packages. Change-Id: Ifda71047ab041b4b9838e3480d6a301a43c1c156
-
- Oct 08, 2020
-
-
Mark Goddard authored
If iptables is not installed, e.g. in the CentOS 8 cloud image, and Docker iptables management is enabled, we get the following errors: Failed to find iptables: exec: \"iptables\": executable file not found in $PATH failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: Iptables not found This change installs the iptables package Docker iptables management is enabled. Change-Id: I3ba5318debccafb28c3cbce8e4e9813c28b086fc Closes-Bug: #1899060
-
- Sep 28, 2020
-
-
Michal Nasiadka authored
Update to CentOS 8 versions of packages in docker-ce repo (that are now available) Change-Id: I50d28ea31c3c29322974b91a72a2bd7999324ac7
-
- Jun 15, 2020
-
-
Michal Arbet authored
This patch is removing chrony package from docker host when containerized chrony is enabled. It is also fixing issue with chrony container running under Ubuntu docker host as noted below. + exec /usr/sbin/chronyd -d -f /etc/chrony/chrony.conf 2020-06-08T08:19:09Z chronyd version 3.4 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6 -DEBUG) 2020-06-08T08:19:09Z Fatal error : Could not open configuration file /etc/chrony/chrony.conf : Permission denied Added also removal apparmor profile for ubuntu when containerized chrony is enabled, as chrony's package is not removing apparmor profile, and therefore containerized chrony is not working. Change-Id: Icf3bbae38b9f5630b69d5c8cf6a8bee11786a836 Closes-Bug: #1882513
-
- May 08, 2020
-
-
Fabian Zimmermann authored
install sg3-utils-udev if multipath is enabled, else SCSI_IDENT* vars are missing in udev. Closes-Bug: 1877509 Change-Id: Ib205f3cdb775c9cfa719325f702f4fad196d346b
-
- Apr 22, 2020
-
-
Marcin Juszkiewicz authored
Looks like none of supported distros has it so why bother? Change-Id: I3411c00664eac4e5ba9b79bff39f3d8b7514ad24
-
- 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 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
-
- 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
-
- Jan 28, 2020
-
-
Mark Goddard authored
* HAProxy is now 1.8 in CentOS 8 * Support python3 in baremetal role * Remove support for environments without python2 installed (this could not have worked since we gather facts before this point) Workarounds: * Using CentOS 7 yum repo for Docker, with module_hotfixes Change-Id: I30bd3d58f6224ad4c9575ba66c74deabe6895cc4 Partially-Implements: blueprint centos-rhel-8
-
- Oct 12, 2019
-
-
Radosław Piliszek authored
This could badly affect containerized chrony on Debian family distros. Change-Id: I3c57c0fe254b6166db55fa33358be646a4a23192 Closes-bug: #1847863
-
- Sep 05, 2019
-
-
Marcin Juszkiewicz authored
Instead of changing Docker daemon command line let's change config for Docker instead. In /etc/docker/daemon.json file as it should be. Custom Docker options can be set with 'docker_custom_config' variable. Old 'docker_custom_option' is still present but should be avoided. Co-Authored-By:
Radosław Piliszek <radoslaw.piliszek@gmail.com> Change-Id: I1215e04ec15b01c0b43bac8c0e81293f6724f278
-
- Aug 06, 2019
-
-
Mark Goddard authored
Docker is now always installed using the community edition (CE) packages. Change-Id: I8c3fe44fd9d2da99b5bb1c0ec3472d7e1b5fb295
-
- Aug 05, 2019
-
-
Radosław Piliszek authored
This change makes kolla-ansible more compatible with RHEL which does not provide epel-release package. EPEL was required to install simplejson from rpm which was an ansible requirement when used python version was below 2.5 ([1]). This has been obsolete for quite a time so it's a good idea to get rid of it. This change includes update of docs to read more properly. [1] https://docs.ansible.com/ansible/2.3/intro_installation.html Change-Id: I825431d41fbceb824baff27130d64dabe4475d33 Signed-off-by:
Radosław Piliszek <radoslaw.piliszek@gmail.com>
-
- Jul 16, 2019
-
-
Michal Nasiadka authored
* Ubuntu ships with nfs-ganesha 2.6.0, which requires to do an rpcbind udp test on startup (was fixed later) * Add rpcbind package to be installed by kolla-ansible bootstrap when ceph_nfs is enabled * Update Ceph deployment docs with a note Change-Id: Ic19264191a0ed418fa959fdc122cef543446fbe5
-
- May 20, 2019
-
-
Marcin Juszkiewicz authored
Change-Id: I49588f9ceef60472428d835b95d26a36eaf2b47e
-
- May 16, 2019
-
-
Serhat Demircan authored
Change-Id: I053c4a47e657effe25e8d75a3ef55477635729d2
-
- Apr 09, 2019
-
-
Mark Goddard authored
Currently easy_install is not available on Ubuntu 18+ due to [1]. In that case, install pip via apt rather than easy_install. [1] https://bugs.launchpad.net/ubuntu/+source/python-setuptools/+bug/1774419 Change-Id: Id358fdb655d71490b0915680dff131cfe33f4a40 Closes-Bug: #1813492
-
- Dec 17, 2018
-
-
Mark Goddard authored
Kolla Ansible's bootstrap-servers command provides support for installing the Docker engine. This is currently done using the packages at https://apt.dockerproject.org and https://yum.dockerproject.org. These packages are outdated, with the most recent packages from May 2017 - docker-engine-17.05. The source for up to date docker packages is https://download.docker.com, which was introduced with the move to Docker Community Edition (CE) and Docker Enterprise Edition (EE). This change adds support to bootstrap-servers for Docker CE for CentOS and Ubuntu. It also adds a new variable, 'enable_docker_repo', which controls whether a package repository for Docker will be enabled. It also adds a new variable, 'docker_legacy_packages', which controls whether the legacy packages at dockerproject.org will be used or the newer packages at docker.com. The default value for this variable is 'false', meaning to use Docker CE. Upgrading from docker-engine to docker-ce has been tested on CentOS 7.5 and Ubuntu 16.04, by running 'kolla-ansible bootstrap-servers' with 'docker_legacy_packages' set to 'false'. The upgrades were successful, but result in all containers being stopped. For this reason, the bootstrap-servers command checks running containers prior to upgrading packages, and ensures they are running after the package upgrade is complete. As mentioned in the release note, care should be taken when upgrading Docker with clustered services, which could lose quorum. To avoid this, use --serial or --limit to apply the change in batches. Change-Id: I6dfd375c868870f8646ef1a8f02c70812e8f6271 Implements: blueprint docker-ce
-
- Aug 03, 2018
-
-
caoyuan authored
since we use chrony container to adjust time by default, we no need to enable ntp service, this ps to disable it. Change-Id: I2f1fd9269c9f8cfd0c98e0e903ba69de692473a0
-
- Jul 09, 2018
-
-
Mark Goddard authored
In some environments it may not be desirable to modify the sudoers configuration. This change makes this part of bootstrap-servers optional, based on the create_kolla_user_sudoers variable. Change-Id: I653403bfc5431741807edef57df58e05e679900b
-
- Jun 25, 2018
-
-
fan_guiju authored
sudo package is required when we use ubuntu base on centos to deploy. The following tasks belong to the environment check after installation of environment-related software packages. So, move to the post-install module. Create kolla user Add public key to kolla user authorized keys Grant kolla user passwordless sudo Ensure node_config_directory directory exists for user kolla Ensure node_config_directory directory exists Change-Id: I86bf5e1df3d6568c4f1ca6f4757f08a3dd22754d Closes-Bug: #1777571
-
- May 30, 2018
-
-
Kevin Tibi authored
Some options can't be add in the daemon.json The only way to configure daemon is to add option in the service file Change-Id: I88697951ed6518f62bca30bb52288ad0e487ec03
-
- Feb 27, 2018
-
-
zhubingbing authored
Change-Id: I653e16270aab539edcec6d8622f0a1c06d04b492
-
- Feb 03, 2018
-
-
pengdake authored
1.Fix the invalid value about selinux policy 2.Update description of task about selinux.The permissive mode need enable selinux.The parameter named "disable_selinux" is not good. In order to customize selinux modes, we need a new parameter named "selinux_state". Closes-Bug: #1749046 Change-Id: I20c084cf2e46cc0de149afbd34c6dcb77a1051f4
-
- Jan 21, 2018
-
-
Mark Goddard authored
Installing python packages directly to the system site-packages can cause various problems, in particular when pip overwrites a system package. Python virtualenvs are one solution to this issue, as they allow python packages to be installed in an isolated environment. This change adds support to the baremetal role for installing python dependencies in a virtualenv. Typically we will need to enable use of system site-packages from within this virtualenv, to support the use of modules such as yum, apt, and selinux, which are not available on PyPI. The path to the virtualenv is configured via the 'virtualenv' variable, and access to site-packages is controlled via 'virtualenv_site_packages'. When executing other kolla-ansible commands, the variable 'ansible_python_interpreter' should be set to the python interpreter installed in 'virtualenv'. Note that this variable cannot be templated. Change-Id: I0741923065246f9c5b168059fcd66504f2753c41 Related-Bug: #1731026
-
- Jan 13, 2018
-
-
pengdake authored
Control the disk space used for Docker images, containers and volumes is important for us.We need add configuration of docker daemon to control the disk spaces used for docker images, containers and volumes. Change-Id: I3cf99f4e3f62c8406d37201b1cc24a83c68e3b27 Signed-off-by:
pengdake <19921207pq@gmail.com>
-
- Jan 09, 2018
-
-
Tone.Zhang authored
Enable docker-ce on AArch64 platform in Debian. Set the docker daemon name according to the existing of "dockerd" binary. Closes-Bug: #1734255 Co-authored-by:
Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Change-Id: Ie0b3bac72b408dccf3fb99912b4fe2d4788705e5 Signed-off-by:
Tone.Zhang <tone.zhang@arm.com>
-
- Sep 23, 2017
-
-
Eduardo Gonzalez authored
This patch includes three unrelated fixes. Make qemu use nova user in centos Libvirt 3.2.0 (latest version in centos) seems to have changed behavior of dynamic_ownership. Pin ansible to <2.4 to make ara work in gates ARA does not work yet with ansible 2.4, this change pins to lower version to make gates work. Revert once ara works with 2.4 Disable selinux for oraclelinux and centos. Co-Authored-By:
wanghongxu <wang19930902@gmail.com> Co-Authored-By:
Jeffrey Zhang <jeffrey.zhang@99cloud.net> Change-Id: Iac8bec19437192cd198d58f71c6ed0a65a76f820 Closes-bug: #1718541
-
- Jul 23, 2017
-
-
James Benson authored
Change-Id: I0447e90f53f9b04315bc4e6618e528351521e05d Closes-Bug: #1705558
-
- Jul 10, 2017
-
-
Michel Rode authored
The bootstrapping process should remove the open-iscsi package. Otherwise the iscsid startup will failed. Change-Id: I0c31c84f4486bd44c467fbaf7a26563e4dbc5ccf
-
- May 12, 2017
-
-
Pavel Glushchak authored
On RedHat libvirt is just a metapackage and it does nothing with libvirt daemon itself if we remove it. On Ubuntu the correct package name with libvirt daemon is libvirt-bin. Closes-Bug: #1690356 Change-Id: Ief8dfd8c038b10878621aefcc8f559aa20dc498b Signed-off-by:
Pavel Glushchak <pglushchak@virtuozzo.com>
-
- Jan 31, 2017
-
-
Michal (inc0) Jastrzebski authored
I've seen issues with API versioning between docker 1.11 and docker-py in containers. 1.12 seems fine. We should also pin docker-py version in kolla-toolbox image. Change-Id: I07d5f573176b79a3775dcab2748f428c114bd985
-
- Aug 31, 2016
-
-
Sean Mooney authored
- The baremetal_nic variable was used as part of kolla host playbook when generating the /etc/hosts file. Populating the /etc/hosts is done to ensure that rabbitmq can reach the other nodes in the rabbitmq cluster by hostname. - Before this change the baremetal_nic variable was used to determin which interface to read when mapping the hostname to an ip address. - This change removes baremetal_nic and uses api_interface instead as the hostname used by rabbitmq should always map to the api_interface ip. TrivialFix Closes-Bug: #1618381 Change-Id: I65fe3aad58ac34b001a1f4a38641addc9fa5a1d4
-