summaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2024-04-17Fix OpenSearch file ownership issueszed-eomMichal Nasiadka2-0/+4
Since 2.13 OpenSearch and OpenSearch-Dashboards packages install files in /usr/share/opensearch and /usr/share/opensearch-dashboards with root:root ownership instead of using opensearch/opensearch-dashboards user. Closes-Bug: #2061877 Change-Id: I3831d8ab76c8c7136ce7869db3d0d1e05b4ba8f8 (cherry picked from commit 7c098bdd3cac73505851d4c97d7f39e966f00e1b)
2024-02-26toolbox: Improve retry loop for ansible-galaxy15.6.0Michal Nasiadka1-1/+4
Currently if it somehow fails for 5 times - we get exit code 0. Closes-Bug: #2052293 Change-Id: I2bdeb77e3133123053b05adcbde3a426c60f3304 (cherry picked from commit 94bd013ed55fd79bc4bfa33121c823927ec40b56)
2024-02-22opensearch: set OPENSEARCH_INITIAL_ADMIN_PASSWORDMichal Nasiadka1-0/+2
Since 2.12 OpenSearch requires setting initial admin password, that is not trivial/weak. Closes-Bug: #2054586 Change-Id: I6b6ef656bc2009a2dc3cdfcb01956d50fba4b7b9 (cherry picked from commit 756ee984c3c761514115c342e7cba9a3cb533d02)
2024-01-04rabbitmq: Use timeout in healthcheck script15.4.0Michal Nasiadka1-6/+6
Currently we don't set timeout and the default is infinity. Change-Id: Id1a87995a36e202fc0aaf82daf022ec10d78e37d (cherry picked from commit 36df37be3136d1aa14b23f87632fa461363509b4)
2023-12-22Sync only local cell in nova bootstrap & upgradeAlex-Welsh1-2/+2
Added the --local_cell argument to nova db sync commands during bootstrap and upgrade. This was previously thought to have no effect [1], but has since been discovered to fail when rotating the nova database password. [1] https://opendev.org/openstack/kolla-ansible/src/branch/master/ansible/roles/nova/tasks/bootstrap_service.yml#L2-L3 Closes-Bug: #2045558 Change-Id: Ic64eb51325b3503a14ebab9b9ff2f4d9caec734a (cherry picked from commit de1487f05187387aea3f113dcbb6926734b1ce6b)
2023-12-21Merge "Swift: Remove unused rootwrap" into stable/zedZuul4-43/+0
2023-12-20Merge "Adding db sync script for venus" into stable/zedZuul3-2/+11
2023-11-27Swift: Remove unused rootwrapTakashi Kajinami4-43/+0
Swift does not use oslo.rootwrap. Thus the command and its config file is just useless. Change-Id: If4e346c2db841aad9b2ddac049dbbbc1ba5782ec (cherry picked from commit d7e497ce52cc109c9f7b4a83d85f0bebfa05298e)
2023-11-27Add rsync to nova-computeJeffrey Zhang1-0/+2
when configure `remote_filesystem_transport` to rsync, rsync binary is required. Change-Id: I07be614846be9305f0775df22a6d931ceab1720a (cherry picked from commit 92cedcd2b155907ab65884a0ba4dbae480900d28)
2023-11-19Adding db sync script for venushowardlee3-2/+11
The script for database synchronization is missing in the venus-api image, which makes it impossible to create the required database tables during venus deployment. Closes-Bug: #2029915 Change-Id: Ibbf75fa73b8397ea3686b42cec6cad6d8f6d3858 (cherry picked from commit 772de9662caa5e2041d557322a9b6a7344b3e0f0)
2023-10-24Fix missing grafana opensearch datasource15.3.0Dawud1-1/+2
The grafana opensearch datasource was missing from the docker image. This commit installs the datasource plugin. Change-Id: Ia3a39c975abf815a66765f2f98c4789d6cec33d7 (cherry picked from commit a97a561bab1573b0ed19d91f827a8bbde9ed8165)
2023-10-16Fix an issue with zun-cni-daemon building images in aarch64renliang1-1/+1
In the aarch64 image build, use debian_arch to determine packages of different architectures. Closes-Bug: #2036874 Change-Id: Ic86e6c22840f658bb68387aac688918d4db1f766 (cherry picked from commit 0eed86bb02e87c12098e52359897708e071aa07e)
2023-09-19Merge "Add support for running Nova upgrade checks" into stable/zedZuul2-1/+6
2023-09-14Merge "Improve kolla-toolbox offline support." into stable/zedZuul1-3/+6
2023-09-06Improve kolla-toolbox offline support.Gaƫl THEROND (Fl1nt)1-3/+6
* Use structure that allow for custom package version and base URL. Change-Id: I169e51c0f5c691518ada1837990b5bdd2a3d1481 Closes-bug: #2020761 (cherry picked from commit 7f38e1df71eafb250b14c4e125c7313bd9218f7d)
2023-08-30Add server-status handler to Rocky/Centos Apache confMaksim Malchuk1-0/+9
This added to make Rocky/Centos similar to Ubuntu/Debian to provide /server-status handler for local monitoring of the Apache. Since I3ec1af6353c3ecc64589599abe375b0ae9b14d5c is merged it safe to add this change. Change-Id: I14ba7e0319b7eb0390361d397d4baad0e9a3f0b1 Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com> (cherry picked from commit daf9fdd3a6e96d417f19440d59452e3b271ec9d9)
2023-08-30Add comprehensive checks for container restartsDawud M1-1/+3
When adding a dashboard to grafana the containers aren't restarted when they should be. This is due to a bug in Kolla where the logic to determine whether or the container needs to be restarted fails in the case where the file does not exist in the container. This patch adds more comprehensive checks for container restarts in the set_configs.py file. This patch also adds a test to ensure that the functions work as expected. Closes-Bug: #1997984 Co-Authored-By: Will Szumski <will@stackhpc.com> Change-Id: I67f5f12700d7b55f26bff81e9b54559303da6d83 (cherry picked from commit d9a6c5f3901e078a30d341397ac57d867d8191cc)
2023-08-22Add support for running Nova upgrade checksPierre Riteau2-1/+6
NOTE: Specific to the Zed release, the KOLLA_UPGRADE_CHECK feature is not guaranteed to be present in the nova_api image. As such. a label has been added to be checked for in Kolla-Ansible. Related-Bug: #1957080 Change-Id: I6cbbdfcd40a8f486a3a636b41d704ee6ffafb812 (cherry picked from commit 48b5980c6352ad4e5cf0ac6da369140910c8f389)
2023-06-27Use erlang-25 from copr on aarch64Michal Nasiadka1-2/+2
Change-Id: I9f40167fed9412b3f33f82e2f97f353275431292 (cherry picked from commit 51675bb232f0c4826ff74351b68c1e16a1893545)
2023-06-23opensearch: drop unnecessary workaroundsMichal Nasiadka2-21/+2
Change-Id: Id6db7ffb22b3f63e9a406455d52078b76071672f (cherry picked from commit b33167972d6e17b2eaab85e72043e3b4efa4b789)
2023-06-22Merge "rabbitmq: use erlang-25 ppa on Debian/Ubuntu" into stable/zedZuul3-9/+1
2023-06-21rabbitmq: use erlang-25 ppa on Debian/UbuntuMichal Nasiadka3-9/+1
RMQ team is now maintaining erlang-24, erlang-25 ppas, see [1]. [1]: https://github.com/rabbitmq/erlang-debian-package/discussions/33 Change-Id: I7e289bd5ce52319604717e0b319d0642a8e598db (cherry picked from commit 0e881148d0036f27b95c5a27459e527fb3b0476d)
2023-06-20Fix cinder-volume: add missing nvme-cli rpm packageMaksim Malchuk1-0/+1
Closes-Bug: #2024390 Change-Id: I84c7633765749a5e9ced983505ef290c32154ccc Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com> (cherry picked from commit 11f90f3746f6affd34885019a82eb94d3c098ee9)
2023-06-19Fix cinder-volume: Add forgotten lsscsi rpm packageMaksim Malchuk1-0/+1
Closes-Bug: #2024018 Change-Id: I7eb97c6bfb65f26b044f26fece09521836ac5a3b Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com> (cherry picked from commit 2e2900e00bb88a38ea51c925d2c6c0cfcd5841bb)
2023-06-19Fix rabbitmq image buildMichal Arbet1-1/+1
This patch is replacing ppa.launchpadcontent.net by ppa1.novemberain.com. Reason for replacement is that only latest erlang version is available on the current ppa source. Setting Debian ARM jobs non voting for now, since the new ppa does not contain arm64 packages. This repo is based on the official Erlang/OTP package for Debian. The RabbitMQ team adapted the upstream package to produce packages for more/different combinations of Erlang/OTP, Debian and Ubuntu releases. Change-Id: Iddec6ec555f98e13c2f199e5ca7dad7f4819b1a8 (cherry picked from commit 4950c03e59b8d1af46018b81a49fa028e1b8296d) Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-06-01mariadb-clustercheck: ensure /var/log/kolla/mariadb existsMark Goddard2-0/+15
If mariadb-clustercheck starts before mariadb, the directory may not exist, and the command fails. This is necessary for the refactored MariaDB restart in I5a12670d07077d24047aaff57ce8d33ccf7156ff. Change-Id: Ie1b36eb9a403611c2f86aa4c1d500d324e5291f3 (cherry picked from commit 9035251443ed6cbb110e9dc5efdbc9d4be797ef5)
2023-05-24opensearch-dashboards: Fix permissionsMichal Nasiadka2-6/+6
Since we moved to using rpm/deb packages, the user has changed. Related-Bug: #2020152 Change-Id: I2a5a0d761223b4e99c8df59f80261108380d5038 (cherry picked from commit 6786e4384c1a19e4658310e109b8ab9704f5eff9)
2023-05-18Merge "opensearch: move to yum/apt repos" into stable/zedZuul4-35/+51
2023-05-18opensearch: move to yum/apt reposMichal Nasiadka4-35/+51
systemd-tmpfiles is needed otherwise opensearch postinst on Debian/Ubuntu fails Change-Id: I5aeb5796f8de7697a1c4a7404fe292ef9eb522ee (cherry picked from commit 6bd7898a1d95157c713bdff0fe5bdf5a59b65550)
2023-05-16toolbox: pin ansible.posix to <1.5.4Michal Nasiadka1-1/+1
ansible.posix 1.5.4 has been released and it broke the way we use JSON callback plugin (it requires play.path) - see [1] and [2]. [1]: https://github.com/ansible-collections/ansible.posix/commit/3bbf2e3cd56775096fc8ce69e281142472b73cac [2]: https://github.com/ansible-collections/ansible.posix/issues/461 Change-Id: I2f879e59a64b9039a8a27c40bd462fde4df73f43 (cherry picked from commit d965b1b3da9b8c2780a91781834a46f5886bd9c2)
2023-04-26Merge "ovsdpdk: add libdpdk-dev" into stable/zedZuul1-2/+3
2023-04-25Merge "https: remove dhparams.pem before running gencerts" into stable/zedZuul1-0/+2
2023-04-24Merge "Glance-api fails due to absent multipath tools" into stable/zedZuul1-1/+5
2023-04-21https: remove dhparams.pem before running gencertsMichal Nasiadka1-0/+2
On EL9 the file exists and script errors with wrong permissions to it. Closes-Bug: #2011716 Change-Id: Ib32baa3208e6bfc5520ff8537193c9a4d6cbada7 (cherry picked from commit 12d431e3994023ce735a2352554a99a5cc9431c9)
2023-04-19Merge "Replace invisible unicode chars" into stable/zedZuul1-2/+2
2023-04-17Glance-api fails due to absent multipath toolsMaksim Malchuk1-1/+5
Closes-Bug: #2015500 Change-Id: Ifa095a4a5a4a2476b356b082b9b57b491c9e29db Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com> (cherry picked from commit d23ace3fa6197d32fc6a883f9f06e54293d2089b)
2023-04-13ovsdpdk: add libdpdk-devMichal Nasiadka1-2/+3
Closes-Bug: #1980328 Change-Id: I29dde2696ff81f3f48effdd6821d94d0d84ff536 (cherry picked from commit f7436ee60256687a71a3a89fac2e15b61e9e4859)
2023-04-12Merge "Cinder backup fails due to absent multipath tools" into stable/zedZuul1-0/+2
2023-04-12nova-libvirt: Fix for missing libvirt-daemon-driver-nodedev packageRafal Lewandowski1-0/+1
Closes-Bug: #2012821 Change-Id: I989cedce7a9af3882b5510d3479b29150139e861 (cherry picked from commit 2783fb710710103fe6aca3ff18c976590ca15e09)
2023-04-06Merge "base: make curl retry on all errors" into stable/zedZuul1-0/+1
2023-04-04keystone: Fix for missing libldap-common package for debianRafal Lewandowski1-0/+1
Closes-Bug: #2009484 Change-Id: I01578289e65010748bfaf6d6b81861764aa62368 (cherry picked from commit 2050aa35dbd074610adee5611194fde280cfea20)
2023-03-28Replace invisible unicode charsPiotr Parczewski1-2/+2
They're believed to have no special meaning and were put by accident. TrivialFix Change-Id: I66ea5711810ed0060cf89192a780bfcc92e79770 (cherry picked from commit 2ddf0aeb204d754636ded6ff2be4e2dcfc3ee421)
2023-03-28neutron-mlnx-agent: pin pyzmq at 21.*Marcin Juszkiewicz1-2/+4
20.* fails to build so let us try version where upstream fixed packaging issues. Change-Id: I099b21872a12c2dccaba4065965d9227ee2e87bc (cherry picked from commit b2d5307a442994d1a9348926f0664bb94ef96248)
2023-03-27Cinder backup fails due to absent multipath toolsVladislav Belogrudov1-0/+2
Closes-Bug: #2012508 Change-Id: I7d9c53297db1a9bd14e3e69b58867293014af69b (cherry picked from commit d98b48092571e2e7730d259cbd638f67ab3e19df)
2023-03-23base: make curl retry on all errorsMichal Nasiadka1-0/+1
Change-Id: Icbf54154e4a2dffd840cfda9b6a863247d28c226 (cherry picked from commit 90e157e3e35798dc9b524469a1bd7df0602f0355)
2023-03-23neutron: Add iproute-tcMichal Nasiadka1-0/+1
Closes-Bug: #2000782 Change-Id: I5cf944c509f23d430665de458cbbdb2fd31db7bb (cherry picked from commit d7d43bed84dff0c394a28730fef593bdfbb064f2)
2023-02-15Pin setuptools=67.2.*Michal Nasiadka1-1/+1
67.3.1 is out and it broke Horizon builds Change-Id: Ie6c078a9c37f54d60f0d5a4aadb647e184489cb8 (cherry picked from commit ca0238598a37c4a174c7b8d55b64c15bb34ef58a)
2023-01-31influxdb: Update gpg keyMichal Nasiadka2-2/+2
Influx repo gpg key has been rotated as of of 2023-01-26 [1]. [1]: https://www.influxdata.com/blog/linux-package-signing-key-rotation/ Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/872257 Change-Id: I76b35bb20ddc0130ca15ff03942e1a97f5d36ff0 (cherry picked from commit ab70c7618b3b7e025759fe38c8692f66ef420b15)
2023-01-26Add util-linux to centos base packagesMichal Nasiadka1-9/+10
Currently /usr/sbin/nologin is missing, because util-linux is not installed in the image. Change-Id: I717b4f2215054ef9135a1ac252ed26820bdcb1aa (cherry picked from commit 1371e4fc5b9d3d55f5bb48540753f740f1d1af02)
2023-01-18grafana: remove SHA1 workaroundMichal Nasiadka2-9/+0
Change-Id: I08fe2827bc58baa95d396daf28de1079e3df4f77 (cherry picked from commit 47a9a818596b27f658fb7b40aac2130fd04b66b6)