Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1583093 - Unused registry-console's ImageStream is deployed
Unused registry-console's ImageStream is deployed
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.7.0
Unspecified Unspecified
unspecified Severity medium
: ---
: 3.7.z
Assigned To: Vadim Rutkovsky
Johnny Liu
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-28 04:27 EDT by Kenjiro Nakayama
Modified: 2018-06-27 03:59 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-27 03:59:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3496521 None None None 2018-06-24 21:25 EDT
Red Hat Product Errata RHBA-2018:2009 None None None 2018-06-27 03:59 EDT

  None (edit)
Description Kenjiro Nakayama 2018-05-28 04:27:19 EDT
Description of problem:

- Unused registry-console's ImageStream is deployed.

Version-Release number of the following components:

  # rpm -q openshift-ansible
  openshift-ansible-3.9.14-1.git.3.c62bc34.el7.noarch

  # rpm -q ansible
  ansible-2.4.3.0-1.el7ae.noarch

How reproducible: 100%

Steps to Reproduce:
1. Install OCP 3.9

Actual results:
- ImageStream of registry-console is deployed "# oc get is -n default registry-console".
- However, DC refers image in registry.redhat.com

  # oc get dc -n default registry-console -o yaml |grep image:
          image: openshift3/registry-console:v3.9

Expected results:
- ImageStream is not deployed, if it is not referred from anywhere.

Additional info:
- Proposed patch: https://github.com/openshift/openshift-ansible/pull/8545
Comment 2 Johnny Liu 2018-06-10 22:18:53 EDT
1. The PR is targeted to 3.10, but this bug's "Target Release" is 3.7, is that true?
2. Even this bug's target release should be corrected to 3.10, the PR is already reverted, because it is causing new issue - BZ#1584966.
Comment 3 Vadim Rutkovsky 2018-06-11 06:46:21 EDT
New PR to remove imagestream - https://github.com/openshift/openshift-ansible/pull/8545, merged in openshift-ansible-3.10.0-0.65.0
Comment 4 Johnny Liu 2018-06-11 07:21:22 EDT
Just as what I said in comment 2, the PR#8545 is already reverted because it is causing BZ#1584966.

Based on the the above discuss, I think this bug should be targeted for v3.10, so move target release to 3.10.z.
Comment 5 Vadim Rutkovsky 2018-06-11 07:34:41 EDT
Oops, wrong PR link. Correct PR is https://github.com/openshift/openshift-ansible/pull/8621
Comment 6 Vadim Rutkovsky 2018-06-12 04:31:55 EDT
Fix is available in openshift-ansible-3.10.0-0.66.0
Comment 7 Johnny Liu 2018-06-13 06:45:11 EDT
Verified this bug with openshift-ansible-3.10.0-0.67.0.git.107.1bd1f01.el7.noarch, and PASS.

No registry-console imagestream is created.

[root@qe-jialiu3102-master-etcd-1 ~]# oc get po
NAME                       READY     STATUS    RESTARTS   AGE
docker-registry-1-s2n6k    1/1       Running   0          3h
registry-console-1-b5n5w   1/1       Running   0          3h
router-1-9lqls             1/1       Running   0          3h

[root@qe-jialiu3102-master-etcd-1 ~]# oc get is
No resources found.
Comment 9 errata-xmlrpc 2018-06-27 03:59:12 EDT
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, 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/RHBA-2018:2009

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