Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1533559

Summary: Duplicate information shown when run “oc get all” in openshift created in openstack
Product: OpenShift Container Platform Reporter: Weibin Liang <weliang>
Component: ocAssignee: Juan Vallejo <jvallejo>
Status: CLOSED DUPLICATE QA Contact: Xingxing Xia <xxia>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.9.0CC: aos-bugs, hongkliu, jokerman, mifiedle, mmccomas, wmeng, xiaocwan
Target Milestone: ---   
Target Release: 3.9.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: 2018-01-22 05:41:23 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 Weibin Liang 2018-01-11 16:22:20 UTC
Description of problem:
Duplicate information shown when  run “oc get all” in openshift created in openstack.

But this will not seen in openshift created in AWS.

Version-Release number of selected component (if applicable):
oc v3.9.0-0.16.0

How reproducible:
Every time

Steps to Reproduce:
## Openstack:
[root@host-172-16-120-14 ~]# oc version
oc v3.9.0-0.16.0
kubernetes v1.9.0-beta1
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://172.16.120.14:8443
openshift v3.9.0-0.16.0
kubernetes v1.9.0-beta1
[root@host-172-16-120-14 ~]# oc get all
NAME                            DOCKER REPO                                                 TAGS      UPDATED
imagestreams/registry-console   docker-registry.default.svc:5000/default/registry-console   v3.9      

NAME                                 REVISION   DESIRED   CURRENT   TRIGGERED BY
deploymentconfigs/docker-registry    1          1         1         config
deploymentconfigs/registry-console   1          1         1         config
deploymentconfigs/router             1          1         1         config

NAME                      HOST/PORT                                               PATH      SERVICES           PORT      TERMINATION   WILDCARD
routes/docker-registry    docker-registry-default.apps.0111-mr6.qe.rhcloud.com              docker-registry    <all>     passthrough   None
routes/registry-console   registry-console-default.apps.0111-mr6.qe.rhcloud.com             registry-console   <all>     passthrough   None

NAME                                 REVISION   DESIRED   CURRENT   TRIGGERED BY
deploymentconfigs/docker-registry    1          1         1         config
deploymentconfigs/registry-console   1          1         1         config
deploymentconfigs/router             1          1         1         config

NAME                            DOCKER REPO                                                 TAGS      UPDATED
imagestreams/registry-console   docker-registry.default.svc:5000/default/registry-console   v3.9      

NAME                      HOST/PORT                                               PATH      SERVICES           PORT      TERMINATION   WILDCARD
routes/docker-registry    docker-registry-default.apps.0111-mr6.qe.rhcloud.com              docker-registry    <all>     passthrough   None
routes/registry-console   registry-console-default.apps.0111-mr6.qe.rhcloud.com             registry-console   <all>     passthrough   None

NAME                          READY     STATUS    RESTARTS   AGE
po/docker-registry-1-hcxpn    1/1       Running   0          1h
po/registry-console-1-64b44   1/1       Running   0          1h
po/router-1-jwsb5             1/1       Running   0          1h

NAME                    DESIRED   CURRENT   READY     AGE
rc/docker-registry-1    1         1         1         1h
rc/registry-console-1   1         1         1         1h
rc/router-1             1         1         1         1h

NAME                   TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)                   AGE
svc/docker-registry    ClusterIP   172.30.125.25    <none>        5000/TCP                  1h
svc/kubernetes         ClusterIP   172.30.0.1       <none>        443/TCP,53/UDP,53/TCP     1h
svc/registry-console   ClusterIP   172.30.234.148   <none>        9000/TCP                  1h
svc/router             ClusterIP   172.30.15.99     <none>        80/TCP,443/TCP,1936/TCP   1h
[root@host-172-16-120-14 ~]# 


## AWS:
[root@ip-172-18-8-137 ~]# oc version
oc v3.9.0-0.16.0
kubernetes v1.9.0-beta1
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://ip-172-18-8-137.ec2.internal:8443
openshift v3.9.0-0.16.0
kubernetes v1.9.0-beta1
[root@ip-172-18-8-137 ~]# oc get all
NAME                            DOCKER REPO                                                 TAGS      UPDATED
imagestreams/registry-console   docker-registry.default.svc:5000/default/registry-console   v3.9      

NAME                                 REVISION   DESIRED   CURRENT   TRIGGERED BY
deploymentconfigs/docker-registry    1          1         1         config
deploymentconfigs/registry-console   1          1         1         config
deploymentconfigs/router             1          1         1         config

NAME                      HOST/PORT                                               PATH      SERVICES           PORT      TERMINATION   WILDCARD
routes/docker-registry    docker-registry-default.apps.0111-ih6.qe.rhcloud.com              docker-registry    <all>     passthrough   None
routes/registry-console   registry-console-default.apps.0111-ih6.qe.rhcloud.com             registry-console   <all>     passthrough   None

NAME                          READY     STATUS    RESTARTS   AGE
po/docker-registry-1-flk7q    0/1       Error     0          23m
po/registry-console-1-ln4rx   0/1       Error     0          22m
po/router-1-jsrvs             0/1       Error     0          23m

NAME                    DESIRED   CURRENT   READY     AGE
rc/docker-registry-1    1         1         0         25m
rc/registry-console-1   1         1         0         22m
rc/router-1             1         1         0         25m

NAME                   TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)                   AGE
svc/docker-registry    ClusterIP   172.30.101.41    <none>        5000/TCP                  25m
svc/kubernetes         ClusterIP   172.30.0.1       <none>        443/TCP,53/UDP,53/TCP     33m
svc/registry-console   ClusterIP   172.30.187.221   <none>        9000/TCP                  22m
svc/router             ClusterIP   172.30.51.236    <none>        80/TCP,443/TCP,1936/TCP   25m
[root@ip-172-18-8-137 ~]# 

Actual results:
Duplicated information show in openstack

Expected results:
Show not happened

Additional info:

Comment 1 Juan Vallejo 2018-01-11 23:20:43 UTC
*** Bug 1533625 has been marked as a duplicate of this bug. ***

Comment 2 Juan Vallejo 2018-01-12 15:52:16 UTC
Origin PR: https://github.com/openshift/origin/pull/18085

Comment 3 Juan Vallejo 2018-01-16 21:01:51 UTC
PR [1] has merged. Moving to ON_QA

1. https://github.com/openshift/origin/pull/18085

Comment 4 Xingxing Xia 2018-01-17 06:29:19 UTC
Same as https://bugzilla.redhat.com/show_bug.cgi?id=1523493#c6 , PR not come into OCP v3.9.0-0.20.0 yet. Need wait for next puddle to verify

Comment 5 XiaochuanWang 2018-01-19 02:29:14 UTC
Same as https://bugzilla.redhat.com/show_bug.cgi?id=1523493#c7
This needs some further fix.

Comment 6 Juan Vallejo 2018-01-19 17:04:09 UTC
Please see comment in https://bugzilla.redhat.com/show_bug.cgi?id=1523493#c8

I think we might need to wait for the next puddle.
Tried this on version:

```
$ oc version
oc v3.9.0-alpha.2+0f43934-137-dirty
kubernetes v1.9.1+a0ce1bc657
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://127.0.0.1:8443
openshift v3.9.0-alpha.3+78ddc10
kubernetes v1.9.1+a0ce1bc657
```

Comment 7 Xingxing Xia 2018-01-22 05:41:23 UTC
Closing this to reduce times of comments that sync with bug 1523493 like https://bugzilla.redhat.com/show_bug.cgi?id=1523493#c6 ~ https://bugzilla.redhat.com/show_bug.cgi?id=1523493#c8

*** This bug has been marked as a duplicate of bug 1523493 ***