INSPIRE-MIF / helpdesk-validator

Community discussion forum for INSPIRE validation issues
42 stars 23 forks source link

Container image v2024.2 failes to start apache2 and squid #1107

Open tfunq opened 1 month ago

tfunq commented 1 month ago

Upgrading from v2023.3 to v2024.2 failes. It seems like apache2 and squid wont start. I get

Setting hostname ...
hostname: sethostname: Operation not permitted                                                                                                                                                                                
ERROR: hostname failed to start

Any ideas what to do?

juanluisrp commented 3 weeks ago

We have found the same problem running the image in kubernetes. Apache and Squid can't start. There was some discussion in this other support issue about this https://github.com/INSPIRE-MIF/helpdesk-validator/issues/1081#issuecomment-2206581343 but it was closed because it wasn't related to the original ticket subject.

stempler commented 2 weeks ago

For me as workaround it worked to add changes to the Dockerfile as mentioned here and modify the Pod configuration in Kubernetes as mentioned here.

Before that had tried to disable the use of squid as proxy for HTTP, but this resulted in errors when running tests, as the validator was not able to load some resources that use redirects.