Bug 1881527
| Summary: | opm version in uay.io/openshift/origin-operator-registry:4.6.0 changed behaviour | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Tom Buskey <tbuskey> |
| Component: | OLM | Assignee: | Ankita Thomas <ankithom> |
| OLM sub component: | OLM | QA Contact: | Tom Buskey <tbuskey> |
| Status: | CLOSED NOTABUG | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | aos-bugs, bandrade, dageoffr, jesusr, jiazha, krizza, nhale, tbuskey |
| Version: | 4.6 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.7.0 | ||
| 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: | 2020-10-23 13:30:01 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 of problem: podman run -it --entrypoint /bin/bash quay.io/openshift/origin-operator-registry:4.6.0 opm index export -i quay.io/olmqe/etcd-index:0.9.2 -f etcd -o etcd # no longer allowed opm index export -i quay.io/olmqe/etcd-index:0.9.2 etcd # creates etcd/etcd/ directory instead of etcd/ Version-Release number of selected component (if applicable): container: podman images quay.io/openshift/origin-operator-registry 4.6.0 8e7989e73bcd 24 hours ago 1.1 GB Inside container: opm version Version: version.Version{OpmVersion:"", GitCommit:"", BuildDate:"2020-09-21T15:33:46Z", GoOs:"linux", GoArch:"amd64"} How reproducible: always Steps to Reproduce: 1. podman run -it --entrypoint /bin/bash quay.io/openshift/origin-operator-registry:4.6.0 2. opm index export -i quay.io/olmqe/etcd-index:0.9.2 -f etcd -o etcd # fails 3. opm index export -i quay.io/olmqe/etcd-index:0.9.2 -f etcd etcd # succeeds with wrong result Actual results: bash-4.4$ ls etcd/ etcd Expected results: bash-4.4$ ls etcd/ package.yaml 0.9.2 0.9.4 Additional info: https://polarion.engineering.redhat.com/polarion/#/project/OSE/workitem?id=OCP-30189 workaround to make existing scripts work run step 3 mv etcd tmp mv tmp/etcd ./etcd