Bug 1649078
| Summary: | Broker ansible locks up determining if local_openshift_enabled | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jesus M. Rodriguez <jesusr> |
| Component: | Service Broker | Assignee: | Jason Montleon <jmontleo> |
| Status: | CLOSED NOTABUG | QA Contact: | Zhang Cheng <chezhang> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.0 | CC: | aos-bugs, jmatthew, jmontleo |
| Target Milestone: | --- | ||
| Target Release: | 4.1.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-11-13 17:25:47 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: | |||
Upstream issue: https://github.com/openshift/ansible-service-broker/issues/1105 |
So it looks like under certain circumstances, the broker's ansible will completely lock up and hang when dynamically trying to determine if the local openshift adapter is enabled. Currently it uses the following line set in the defaults file: `broker_local_openshift_enabled: "{{ ('image.openshift.io' in lookup('k8s', cluster_info='api_groups')) | bool }}"` This task will hang as it tries to build the config: https://github.com/openshift/ansible-service-broker/blob/master/ansible_role/tasks/build_config.yml#L19 It's not clear to me exactly why or when this shows up, because I've seen it work in some circumstances and not in others. Right now, in the current OLM setup with catasb, you can't deploy a broker due to this issue unless you override the var with `broker_local_openshift_enabled: true`. Here are the operator logs: https://gist.github.com/eriknelson/0b6d82a2de646374dd565f84ccbb9824