Bug 1725978

Summary: Unable to create a release image with new manifests
Product: OpenShift Container Platform Reporter: Alex Crawford <crawford>
Component: Cluster Version OperatorAssignee: Abhinav Dahiya <adahiya>
Status: CLOSED NOTABUG QA Contact: liujia <jiajliu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: aos-bugs, bleanhar, jokerman, maszulik, mfojtik, mmccomas, tnozicka, xxia
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1725977 Environment:
Last Closed: 2019-07-29 17:30:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1725977    
Bug Blocks:    

Description Alex Crawford 2019-07-01 22:28:01 UTC
+++ This bug was initially created as a clone of Bug #1725977 +++

Description of problem:
When using `oc adm release new`, I'm unable to add a new operator using an override.

Version-Release number of selected component (if applicable):
$ oc version
Client Version: version.Info{Major:"4", Minor:"1+", GitVersion:"v4.1.0-201905191700+7bd2e5b-dirty", GitCommit:"7bd2e5b", GitTreeState:"dirty", BuildDate:"2019-05-19T23:52:43Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.0+d4cacc0", GitCommit:"d4cacc0", GitTreeState:"clean", BuildDate:"2019-05-02T11:52:09Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}

How reproducible:
Always

Steps to Reproduce:
1. oc adm release new --from-release registry.svc.ci.openshift.org/origin/release:4.2 --to-dir release-image cluster-etcd-operator=quay.io/hexfusion/cluster-etcd-operator:latest
2. fd 0000_12 release-image

Actual results:
No manifests from the etcd operator are present in the directory.

Expected results:
$ fd 0000_12 release-image
release-image/0000_12_etcd-operator_00_namespace.yaml
release-image/0000_12_etcd-operator_01_cluster-member-request-crd.yaml
release-image/0000_12_etcd-operator_01_config.crd.yaml
release-image/0000_12_etcd-operator_01_operator.cr.yaml
release-image/0000_12_etcd-operator_02_service.yaml
release-image/0000_12_etcd-operator_03_configmap.yaml
release-image/0000_12_etcd-operator_04_clusterrolebinding.yaml
release-image/0000_12_etcd-operator_05_serviceaccount.yaml
release-image/0000_12_etcd-operator_06_deployment.yaml
release-image/0000_12_etcd-operator_07_clusteroperator.yaml

Additional info:
Patch is here: https://github.com/openshift/oc/pull/2

Comment 1 Abhinav Dahiya 2019-07-03 00:53:59 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1725977#c1

Comment 3 Brenton Leanhardt 2019-07-29 17:30:58 UTC
We'd like to propose this for 4.3.  If you disagree please reopen.