Skip to content

Commit 1ea7280

Browse files
committed
Add httpd fix to watcher api containerfile
When trying to run a Watcher API container built with the existing container file, the httpd server fails with the error "SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty". We already have an script to fix it [1], but it's not used for the watcher api image, this change adds it. [1] https://github.com/openstack-k8s-operators/tcib/blob/main/container-images/kolla/base/httpd_setup.sh
1 parent d0b9e01 commit 1ea7280

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

container-images/tcib/base/os/watcher-base/watcher-api/watcher-api.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
tcib_actions:
22
- run: dnf -y install {{ tcib_packages['common'] | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
33
- run: sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf && sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
4+
- run: bash /usr/local/bin/kolla_httpd_setup
45
tcib_packages:
56
common:
67
- openstack-watcher-api

0 commit comments

Comments
 (0)