Bug 1610360
| Summary: | 'null' is undefined error when installing with ansible service broker | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jason Montleon <jmontleo> |
| Component: | Service Broker | Assignee: | Jason Montleon <jmontleo> |
| Status: | CLOSED ERRATA | QA Contact: | Zihan Tang <zitang> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.11.0 | CC: | aos-bugs, chezhang, jmatthew, jokerman, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | 3.11.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-10-11 07:22: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: | |||
default: ok: [192.168.121.164.nip.io] => (item=/usr/share/ansible/openshift-ansible/roles/ansible_service_broker/vars/openshift-enterprise.yml) => {
default: "ansible_facts": {
default: "__ansible_service_broker_registry_name": "rh",
default: "__ansible_service_broker_registry_organization": null,
default: "__ansible_service_broker_registry_password": "{{ oreg_auth_password | default(null) }}",
default: "__ansible_service_broker_registry_tag": "{{ openshift_image_tag }}",
default: "__ansible_service_broker_registry_type": "rhcc",
default: "__ansible_service_broker_registry_url": "https://registry.redhat.io",
default: "__ansible_service_broker_registry_user": "{{ oreg_auth_user | default(null) }}",
default: "__ansible_service_broker_registry_whitelist": [
default: ".*-apb$"
default: ]
default: },
Setting oreg_auth_password and oreg_auth_user appears to work around it in the mean time. Should be fixed in openshift-ansible-3.11.0-0.11.0.git.0.3c66516None Verified. 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/RHBA-2018:2652 |
Description of problem: When installing 3.11 with ansible-service-broker the installation fails. Version-Release number of selected component (if applicable): openshift-ansible-3.11.0-0.10.0.git.0.91bb588None.noarch How reproducible: Always Steps to Reproduce: 1. Install Openshift using openshift-ansible with the ansible-service-broker Actual results: Failure Expected results: Successful install Additional info: default: INSTALLER STATUS *************************************************************** default: Initialization : Complete (0:00:15) default: [DEPRECATION WARNING]: The following are deprecated variables and will be no longer be used in the next minor release. Please update your inventory accordingly. default: openshift_node_labels default: Health Check : Complete (0:00:18) default: Node Bootstrap Preparation : Complete (0:02:41) default: etcd Install : Complete (0:00:36) default: NFS Install : Complete (0:00:08) default: Master Install : Complete (0:03:34) default: Master Additional Install : Complete (0:00:53) default: Node Join : Complete (0:00:20) default: Hosted Install : Complete (0:00:58) default: Web Console Install : Complete (0:00:20) default: Console Install : Complete (0:00:20) default: metrics-server Install : Complete (0:00:01) default: Service Catalog Install : In Progress (0:00:46) default: This phase can be restarted by running: playbooks/openshift-service-catalog/config.yml default: default: default: Failure summary: default: default: default: 1. Hosts: 192.168.121.76.nip.io default: Play: Service Catalog default: Task: set ansible_service_broker facts default: Message: The task includes an option with an undefined variable. The error was: 'null' is undefined default: default: The error appears to have been in '/usr/share/ansible/openshift-ansible/roles/ansible_service_broker/tasks/facts.yml': line 9, column 3, but may default: be elsewhere in the file depending on the exact syntax problem. default: default: The offending line appears to be: default: default: default: - name: set ansible_service_broker facts default: ^ here default: Description of problem: Version-Release number of the following components: rpm -q openshift-ansible rpm -q ansible ansible --version How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Please include the entire output from the last TASK line through the end of output if an error is generated Expected results: Additional info: Please attach logs from ansible-playbook with the -vvv flag