securesign / sigstore-ocp

sigstore helm-charts and build scripts opinionated for running on OCP and RHEL
Apache License 2.0
13 stars 19 forks source link

Clientserver does not work with Kind #161

Open Gregory-Pereira opened 7 months ago

Gregory-Pereira commented 7 months ago

After testing operator installs, it was found that the client-server image works on OCP but produces the following error with kind:

=> sourcing 40-ssl-certs.sh ...
---> Generating SSL key pair for httpd...
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.244.0.6. Set the 'ServerName' directive globally to suppress this message
[Fri Jan 26 17:33:43.743837 2024] [core:emerg] [pid 1:tid 1] (95)Operation not supported: AH00023: Couldn't create the ssl-cache mutex
AH00016: Configuration Failed

While this is not a blocker, we use kind in our automated operator installs so it would speed our development process if we resolve this. /cc @lance

lance commented 7 months ago

This can be reproduced by simply running the image locally

podman run quay.io/redhat-user-workloads/rhtas-tenant/access-1-0-gamma/client-server-1-0-gamma@sha256:5a74147cd6edd9ee6627a02653a101ac3e927148576ab35467bacb65fd35ce98
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
=> sourcing 10-set-mpm.sh ...
=> sourcing 20-copy-config.sh ...
=> sourcing 40-ssl-certs.sh ...
---> Generating SSL key pair for httpd...
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.0.3. Set the 'ServerName' directive globally to suppress this message
[Mon Jan 29 19:58:53.406041 2024] [core:emerg] [pid 1:tid 1] (95)Operation not supported: AH00023: Couldn't create the ssl-cache mutex
AH00016: Configuration Failed