Bug 1877757
| Summary: | [Assisted-4.6 ]Hosts unable to pull image during installation when using HTTP proxy | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | nshidlin <nshidlin> |
| Component: | assisted-installer | Assignee: | Moti Asayag <masayag> |
| assisted-installer sub component: | discovery-agent | QA Contact: | Yuri Obshansky <yobshans> |
| Status: | CLOSED CURRENTRELEASE | Docs Contact: | |
| Severity: | urgent | ||
| Priority: | unspecified | CC: | aos-bugs, sasha, vlaad |
| Version: | 4.6 | Keywords: | TestBlocker |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | OCP-Metal-v1.0.9.5 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-25 21:32:05 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
nshidlin
2020-09-10 11:44:54 UTC
The PR https://github.com/openshift/assisted-service/pull/287 was merged 3 days ago, but it didn't make to "assisted-installer-service": "quay.io/app-sre/assisted-service:f0172a8" Moving to ON_QE so this one can be verified on the next build. Retested on staging:
{
"release_tag": "v1.0.9.2-ds",
"versions": {
"assisted-ignition-generator": "quay.io/ocpmetal/assisted-ignition-generator:v1.0.9.2",
"assisted-installer": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-rhel8:v4.6.0-14",
"assisted-installer-controller": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-reporter-rhel8:v4.6.0-10",
"assisted-installer-service": "quay.io/app-sre/assisted-service:990e3e0",
"discovery-agent": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-agent-rhel8:v4.6.0-12",
"image-builder": "quay.io/app-sre/assisted-iso-create:990e3e0"
}
}
And the issue persists
This issue happens for d/s image of assisted-installer based on ubi8-minimal:8-released https://code.engineering.redhat.com/gerrit/gitweb?p=assisted-installer.git;a=blob;f=distgit/containers/assisted-installer/Dockerfile.in;h=640fe2a2c87d8653b0cbec48e3a680806a2d6c79;hb=refs/heads/rhaos-4.6-rhel-8 While U/S assisted-installer image is based on bash, was able to download the resource via the proxy settings. https://github.com/openshift/assisted-installer/blob/800610175080981aa67cb3a306bac0be667f8a89/Dockerfile.assisted-installer In order to make sure behavior is expected and aligned, proxy env vars will be provided explicitly to the commands being executed on the assisted-installer image on a process-id other than the agent. https://github.com/openshift/assisted-installer/pull/35 https://github.com/openshift/assisted-service/pull/362 Verified on staging 9/18:
{
"release_tag": "v1.0.9.4-ds",
"versions": {
"assisted-ignition-generator": "quay.io/ocpmetal/assisted-ignition-generator:v1.0.9.4",
"assisted-installer": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-rhel8:v4.6.0-19",
"assisted-installer-controller": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-reporter-rhel8:v4.6.0-15",
"assisted-installer-service": "quay.io/app-sre/assisted-service:b793c52",
"discovery-agent": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-agent-rhel8:v4.6.0-15",
"image-builder": "quay.io/app-sre/assisted-iso-create:b793c52"
}
}
Verified on staging 9/18:
{
"release_tag": "v1.0.9.4-ds",
"versions": {
"assisted-ignition-generator": "quay.io/ocpmetal/assisted-ignition-generator:v1.0.9.4",
"assisted-installer": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-rhel8:v4.6.0-19",
"assisted-installer-controller": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-reporter-rhel8:v4.6.0-15",
"assisted-installer-service": "quay.io/app-sre/assisted-service:b793c52",
"discovery-agent": "registry-proxy.engineering.redhat.com/rh-osbs/openshift4-assisted-installer-agent-rhel8:v4.6.0-15",
"image-builder": "quay.io/app-sre/assisted-iso-create:b793c52"
}
}
|