Closed jtudelag closed 2 years ago
Another alternative would be to make the all the AI related Pods that requite internet access (I guess only the AI one) run in the host network instead....but that might have some implications I am not aware at the moment.
Bug description
When the host where the AI Pod is running has access to internet via proxy, that is not taken into account into the AI Pod config, that requires internet access to pull the OCP release container payload (among other things probably):
time="2022-06-16T14:12:50Z" level=warning msg="Failed to generate steps for command *hostcommands.imageAvailabilityCmd" func="github.com/openshift/assisted-service/internal/host/hostcommands.(*InstructionManager).GetNextSteps" file="/go/src/github.com/openshift/origin/internal/host/hostcommands/instruction_manager.go:158" error="command 'oc adm release info --image-for=machine-config-operator --insecure=false quay.io/openshift-release-dev/ocp-release@sha256:bf48faa639523b73131ec7c91637d5c94d33a4afe09ac8bdad672862f5e86ccb --registry-config=/tmp/registry-config534443934' exited with non-zero exit code 1: \nerror: unable to read image quay.io/openshift-release-dev/ocp-release@sha256:bf48faa639523b73131ec7c91637d5c94d33a4afe09ac8bdad672862f5e86ccb: Get \"https://quay.io/v2/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)\n" go-id=339830 host_id=1799628f-6d23-340a-79ed-a3bf4822d4aa pkg=instructions request_id=f51fca9c-4cee-4ba5-bcf8-23d17eb60074
This should be fixed in
OpenShift version
4.8
Assisted Installer version
v1.0.24.2
Relevant log output
Inventory file
No response
Required statements