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

Bug 1780790

Summary: Unable to extract installer
Product: OpenShift Container Platform Reporter: Chris Callegari <ccallega>
Component: ocAssignee: Maciej Szulik <maszulik>
Status: CLOSED DUPLICATE QA Contact: zhou ying <yinzhou>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, jokerman, mfojtik, wking
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: 2019-12-06 23:35:40 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 Chris Callegari 2019-12-06 23:04:38 UTC
Description of problem:
Unable to extract installer from supposed 4.4.x client

Version-Release number of selected component (if applicable):
https://mirror.openshift.com/pub/openshift-v4/clients/ocp-dev-preview/4.4.0-0.nightly-2019-12-06-144548/openshift-client-linux-4.4.0-0.nightly-2019-12-06-144548.tar.gz

$ ./oc version
Client Version: openshift-clients-4.3.0-201910250623-91-gc994341a

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:
$ echo $pullsecret_file
/home/ccallegar/pull-secret.txt

$ echo $cmd
openshift-baremetal-install

$ echo $extract_dir
/home/ccallegar

$ echo $RELEASE_IMAGE
quay.io/openshift-release-dev/ocp-release-nightly@sha256:3c55a9595c3534a1fcbe1a15f8591dd794d9176a2262b3528bfdc6b40f6cffad

$ ./oc adm release extract --registry-config "${pullsecret_file}" --command=$cmd --to "${extract_dir}" ${RELEASE_IMAGE}
warning: Unable to make all expected replacements in openshift-baremetal-install.  Remaining: release version

Expected results:


Additional info:

Comment 1 W. Trevor King 2019-12-06 23:35:40 UTC
> warning: Unable to make all expected replacements in openshift-baremetal-install

This is because the oc side of installer-version injection has landed but the installer-side of it has not (bug 1773257).

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

Comment 2 W. Trevor King 2019-12-06 23:36:50 UTC
Also, the warning is cosmetic.  The extraction itself should still give you working installers.