Bug 1652904

Summary: [3.7]ansible service broker looking for non-existing images of automation-broker-apb$
Product: OpenShift Container Platform Reporter: Jatan Malde <jmalde>
Component: Service BrokerAssignee: Jesus M. Rodriguez <jesusr>
Status: CLOSED WONTFIX QA Contact: Zhang Cheng <chezhang>
Severity: high Docs Contact:
Priority: high    
Version: 4.1.0CC: aos-bugs, jmatthew
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-06 19:41:10 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:
Bug Depends On:    
Bug Blocks: 1664187    

Description Jatan Malde 2018-11-23 13:18:21 UTC
Description of problem:

The asb pods reports the below error while becoming ready as it looks for automation-broker-apb$ images as per the whitllist entries in /etc/ansible-service-broker/config.yaml

[root@master-0 etcd_data]# oc get pods
NAME               READY     STATUS    RESTARTS   AGE
asb-3-mbqzs        0/1       Running   0          1m
asb-etcd-2-k7skt   1/1       Running   3          4m
[root@master-0 etcd_data]# oc get pods

[root@master-0 etcd_data]#  oc logs asb-3-mbqzs
Using config file mounted to /etc/ansible-service-broker/config.yaml
============================================================
==           Starting Ansible Service Broker...           ==
============================================================
[2018-11-23T12:31:16.952Z] [NOTICE] Initializing clients...
[2018-11-23T12:31:16.953Z] [INFO] == ETCD CX ==
[2018-11-23T12:31:16.953Z] [INFO] EtcdHost: asb-etcd.openshift-ansible-service-broker.svc
[2018-11-23T12:31:16.953Z] [INFO] EtcdPort: 2379
[2018-11-23T12:31:16.953Z] [INFO] Endpoints: [https://asb-etcd.openshift-ansible-service-broker.svc:2379]
[2018-11-23T12:31:16.981Z] [INFO] Etcd Version [Server: 3.2.22, Cluster: 3.2.0]
[2018-11-23T12:31:17.013Z] [INFO] Kubernetes version: v1.7.6+a08f5eeb62
[2018-11-23T12:31:17.013Z] [INFO] == REGISTRY CX == 
[2018-11-23T12:31:17.013Z] [INFO] Name: rh
[2018-11-23T12:31:17.013Z] [INFO] Type: rhcc
[2018-11-23T12:31:17.013Z] [INFO] Url: https://registry.access.redhat.com
[2018-11-23T12:31:17.013Z] [INFO] == REGISTRY CX == 
[2018-11-23T12:31:17.013Z] [INFO] Name: localregistry
[2018-11-23T12:31:17.013Z] [INFO] Type: local_openshift
[2018-11-23T12:31:17.013Z] [INFO] Url: 
[2018-11-23T12:31:17.013Z] [INFO] No cluster credential overrides provided, using k8s InClusterConfig
[2018-11-23T12:31:17.013Z] [INFO] Listening for provision messages
[2018-11-23T12:31:17.013Z] [INFO] Listening for deprovision messages
[2018-11-23T12:31:17.013Z] [INFO] Listening for provision messages
[2018-11-23T12:31:19.441Z] [INFO] Initiating Recovery Process
[2018-11-23T12:31:19.442Z] [INFO] No jobs to recover
[2018-11-23T12:31:19.442Z] [NOTICE] 
[2018-11-23T12:31:19.442Z] [INFO] Broker configured to bootstrap on startup
[2018-11-23T12:31:19.442Z] [INFO] Attempting bootstrap...
[2018-11-23T12:31:19.442Z] [INFO] AnsibleBroker::Bootstrap
[2018-11-23T12:31:24.889Z] [ERROR] Image 'registry.access.redhat.com/openshift3/automation-broker-apb:v3.7' may not exist in registry.
[2018-11-23T12:31:24.889Z] [ERROR] File not found."
[2018-11-23T12:31:25.5Z] [INFO] Validating specs...
[2018-11-23T12:31:25.5Z] [NOTICE] All specs passed validation!
!!!!!!filter mode is none[2018-11-23T12:31:25.944Z] [INFO] Validating specs...

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Set up a v3.7 cluster
2. Enable ansible-service-broker project on it
3. Check the asb pod logs to for the error messages.

Actual results:

The pods reports the error as it looks for an image introduced in 3.11 

https://access.redhat.com/containers/?tab=overview#/registry.access.redhat.com/openshift3/automation-broker-apb

Expected results:

Additional info:
[root@master-0 etcd_data]# oc version
oc v3.7.72
kubernetes v1.7.6+a08f5eeb62
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://openshift.example.com:443
openshift v3.7.72
kubernetes v1.7.6+a08f5eeb62
[root@master-0 etcd_data]#

Comment 5 Jesus M. Rodriguez 2019-02-06 19:41:10 UTC
As this is really a logging error, we do not plan on fixing this. The proper work around is to simply list the offending APB in the black list as was stated in comment #1. Closing this as WONTFIX.