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
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.
https://github.com/openshift/openshift-ansible/pull/9384
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