Bug 1652904 - [3.7]ansible service broker looking for non-existing images of automation-broker-apb$
Summary: [3.7]ansible service broker looking for non-existing images of automation-bro...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker
Version: 4.1.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Jesus M. Rodriguez
QA Contact: Zhang Cheng
URL:
Whiteboard:
Depends On:
Blocks: 1664187
TreeView+ depends on / blocked
 
Reported: 2018-11-23 13:18 UTC by Jatan Malde
Modified: 2021-12-10 18:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-06 19:41:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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