Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1907666

Summary: [Assisted-4.6][On-prem][Disconnected] Cluster deploy failed on error: unable to connect to image repository
Product: OpenShift Container Platform Reporter: Yuri Obshansky <yobshans>
Component: assisted-installerAssignee: Antoni Segura Puimedon <asegurap>
assisted-installer sub component: stand-alone QA Contact: Yuri Obshansky <yobshans>
Status: CLOSED DUPLICATE Docs Contact:
Severity: urgent    
Priority: unspecified CC: aos-bugs
Version: 4.6Keywords: TestBlocker
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-24 07:45:50 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:
Attachments:
Description Flags
Screenshot none

Description Yuri Obshansky 2020-12-15 00:55:29 UTC
Created attachment 1739204 [details]
Screenshot

Description of problem:
Standalone Assisted Installer runs on Disconnected virt env where is VM traffic to internet blocked by iptables rule 
iptables -t nat -F POSTROUTING
Nodes discovered successfully
Started Cluster installation ->
Cluster installation failed

Exit status 1.
Reset the installation process to return to the configuration and try again. Some hosts may need to be re-registered by rebooting into the Discovery ISO. 

podman logs installer

ERRO[1582]/go/src/github.com/openshift/origin/internal/oc/release.go:56 github.com/openshift/assisted-service/internal/oc.execute() error: unable to connect to image repository registry.ocp-cluster-sealusa3-0-0.qe.lab.redhat.com:5000/ocp4@sha256:d78292e9730dd387ff6198197c8b0598da340be7678e8e1e4810b557a926c2b9: Get "http://registry.ocp-cluster-sealusa3-0-0.qe.lab.redhat.com:5000/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers)  go-id=1696 pkg=local-job-wrapper request_id=0fa1a56d-42f6-4fb3-9669-2b75c5610666
ERRO[1582]/go/src/github.com/openshift/origin/internal/oc/release.go:137 github.com/openshift/assisted-service/internal/oc.extractFromRelease() error running "oc adm release extract" for release registry.ocp-cluster-sealusa3-0-0.qe.lab.redhat.com:5000/ocp4@sha256:d78292e9730dd387ff6198197c8b0598da340be7678e8e1e4810b557a926c2b9  error="exit status 1" go-id=1696 pkg=local-job-wrapper request_id=0fa1a56d-42f6-4fb3-9669-2b75c5610666
ERRO[1582]/go/src/github.com/openshift/origin/internal/oc/release.go:110 github.com/openshift/assisted-service/internal/oc.(*release).Extract() failed to extract openshift-baremetal-install from mirror release image registry.ocp-cluster-sealusa3-0-0.qe.lab.redhat.com:5000/ocp4@sha256:d78292e9730dd387ff6198197c8b0598da340be7678e8e1e4810b557a926c2b9  error="exit status 1" go-id=1696 pkg=local-job-wrapper request_id=0fa1a56d-42f6-4fb3-9669-2b75c5610666
ERRO[1582]/go/src/github.com/openshift/origin/internal/bminventory/inventory.go:1300 github.com/openshift/assisted-service/internal/bminventory.(*bareMetalInventory).generateClusterInstallConfig() Failed generating kubeconfig files for cluster aca5702a-b715-437e-9d74-9817a7b65fc6  error="exit status 1" go-id=1696 pkg=Inventory request_id=0fa1a56d-42f6-4fb3-9669-2b75c5610666
ERRO[285398]/go/src/github.com/openshift/origin/internal/oc/release.go:56 github.com/openshift/assisted-service/internal/oc.execute() error: unable to connect to image repository registry.ocp-cluster-sealusa3-0-0.qe.lab.redhat.com:5000/ocp4@sha256:d78292e9730dd387ff6198197c8b0598da340be7678e8e1e4810b557a926c2b9: Get "http://registry.ocp-cluster-sealusa3-0-0.qe.lab.redhat.com:5000/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers)  go-id=119363 pkg=local-job-wrapper request_id=726c7cad-ed85-4f0d-a5a1-385ef9be786e
ERRO[285398]/go/src/github.com/openshift/origin/internal/oc/release.go:137 github.com/openshift/assisted-service/internal/oc.extractFromRelease() error running "oc adm release extract" for release registry.ocp-cluster-sealusa3-0-0.qe.lab.redhat.com:5000/ocp4@sha256:d78292e9730dd387ff6198197c8b0598da340be7678e8e1e4810b557a926c2b9  error="exit status 1" go-id=119363 pkg=local-job-wrapper request_id=726c7cad-ed85-4f0d-a5a1-385ef9be786e
ERRO[285398]/go/src/github.com/openshift/origin/internal/oc/release.go:110 github.com/openshift/assisted-service/internal/oc.(*release).Extract() failed to extract openshift-baremetal-install from mirror release image registry.ocp-cluster-sealusa3-0-0.qe.lab.redhat.com:5000/ocp4@sha256:d78292e9730dd387ff6198197c8b0598da340be7678e8e1e4810b557a926c2b9  error="exit status 1" go-id=119363 pkg=local-job-wrapper request_id=726c7cad-ed85-4f0d-a5a1-385ef9be786e
ERRO[285398]/go/src/github.com/openshift/origin/internal/bminventory/inventory.go:1300 github.com/openshift/assisted-service/internal/bminventory.(*bareMetalInventory).generateClusterInstallConfig() Failed generating kubeconfig files for cluster aca5702a-b715-437e-9d74-9817a7b65fc6  error="exit status 1" go-id=119363 pkg=Inventory request_id=726c7cad-ed85-4f0d-a5a1-385ef9be786e

Version-Release number of selected component (if applicable):

Assisted Installer UI version
    (quay.io/ocpmetal/ocp-metal-ui:001395dd914dbf9fde9f5754cae80ae9eea33e98)
Assisted Installer UI library version
    1.5.1
Assisted Installer
    quay.io/ocpmetal/assisted-installer:latest
Assisted Installer Controller
    quay.io/ocpmetal/assisted-installer-controller:latest
Assisted Installer Service
    quay.io/ocpmetal/assisted-iso-create:latest
Discovery Agent
    quay.io/ocpmetal/agent:latest
Image Builder
    quay.io/ocpmetal/assisted-iso-create:latest

How reproducible:
http://10.9.76.6:8070/clusters/aca5702a-b715-437e-9d74-9817a7b65fc6

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Antoni Segura Puimedon 2021-03-24 07:45:50 UTC

*** This bug has been marked as a duplicate of bug 1941606 ***