Bug 1467798 - asb pod label is inconsistent with asb svc label
Summary: asb pod label is inconsistent with asb svc label
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Scott Dodson
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-05 08:02 UTC by DeShuai Ma
Modified: 2017-08-16 19:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-08-10 05:29:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 09:02:50 UTC

Description DeShuai Ma 2017-07-05 08:02:48 UTC
Description of problem:
After install asb by ansible, then check asb endpoints is null. asb pod label is inconsistent with asb svc label.

Version-Release number of selected component (if applicable):
openshift v3.6.133
kubernetes v1.6.1+5115d708d7
etcd 3.2.1
openshift-ansible-3.6.133-1.git.0.950bb48.el7.noarch.rpm

How reproducible:
Always

Steps to Reproduce:
1. Deploy with below parameter:
  ansible_service_broker_image_prefix: ansibleplaybookbundle/
  ansible_service_broker_image_tag: latest
  ansible_service_broker_etcd_image_prefix: quay.io/coreos/
  ansible_service_broker_etcd_image_tag: latest
  ansible_service_broker_etcd_image_etcd_path: /usr/local/bin/etcd

2. After complete install check asb svc, pod and endponints
# oc get endpoints asb -n openshift-ansible-service-broker
NAME      ENDPOINTS         AGE
asb       <none>            1h

The svc's label is
        "labels": {
            "app": "ansible-service-broker",
            "service": "asb"
        },

The asb pod's label is:
        "labels": {
            "app": "openshift-ansible-service-broker",
            "pod-template-hash": "4275931488",
            "service": "asb"
        },


3.

Actual results:
asb endpoints is null

Expected results:
asb pod label is consistent with asb svc label

Additional info:
https://github.com/openshift/openshift-ansible/blob/master/roles/ansible_service_broker/tasks/install.yml#L50-L52
https://github.com/openshift/openshift-ansible/blob/master/roles/ansible_service_broker/tasks/install.yml#L180-L182

Comment 1 Scott Dodson 2017-07-05 19:15:11 UTC
https://github.com/openshift/openshift-ansible/pull/4684 fixes this

Comment 3 DeShuai Ma 2017-07-07 08:31:37 UTC
Verify on openshift v3.6.136. 
After install we can get endpoints correctly.
# oc get endpoints -n kube-service-catalog
NAME                                 ENDPOINTS   AGE
apiserver                                        5h
controller-manager                               5h

Comment 5 errata-xmlrpc 2017-08-10 05:29:50 UTC
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/RHEA-2017:1716


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