Bug 1925148
Summary: | Shouldn't create the redundant imagestream when use `oc new-app --name=testapp2 -i ` with exist imagestream | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | zhou ying <yinzhou> |
Component: | Build | Assignee: | Alice Rum <irum> |
Status: | CLOSED ERRATA | QA Contact: | XiuJuan Wang <xiuwang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.7 | CC: | adam.kaplan, aos-bugs, jokerman, mfojtik, nagrawal |
Target Milestone: | --- | ||
Target Release: | 4.8.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: | 2021-07-27 22:41:34 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
zhou ying
2021-02-04 13:51:33 UTC
Build oc client from pr code. Can't reproduce the bug issue now, when reference ImageStream already exists, no new ImageStream is created. And no regression issue found. $ ./oc new-app openshift/deployment-example $ ./oc new-app --name=apptest -i deployment-example --> Found image 1c839d8 (5 years old) in image stream "xiuwang/deployment-example" under tag "latest" for "deployment-example" --> Creating resources ... deployment.apps "apptest" created service "apptest" created --> Success Application is not exposed. You can expose services to the outside world by executing one or more of the commands below: 'oc expose service/apptest' Run 'oc status' to view your app. Can't reproduce the bug issue now, when reference ImageStream already exists, no new ImageStream is created. oc client version 4.8.0-0.nightly-2021-04-09-222447. $oc new-app openshift/deployment-example $oc new-app --name=apptest -i deployment-example --> Found image 1c839d8 (5 years old) in image stream "xiuwang/deployment-example" under tag "latest" for "deployment-example" --> Creating resources ... deployment.apps "apptest" created service "apptest" created --> Success Application is not exposed. You can expose services to the outside world by executing one or more of the commands below: 'oc expose service/apptest' Run 'oc status' to view your app. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2438 |