Bug 1725978 - Unable to create a release image with new manifests
Summary: Unable to create a release image with new manifests
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Abhinav Dahiya
QA Contact: liujia
URL:
Whiteboard:
Depends On: 1725977
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-01 22:28 UTC by Alex Crawford
Modified: 2019-11-06 18:21 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1725977
Environment:
Last Closed: 2019-07-29 17:30:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.