Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1610360 - 'null' is undefined error when installing with ansible service broker
'null' is undefined error when installing with ansible service broker
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker (Show other bugs)
3.11.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 3.11.0
Assigned To: Jason Montleon
Zihan Tang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-07-31 09:38 EDT by Jason Montleon
Modified: 2018-10-11 03:23 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-10-11 03:22:47 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2652 None None None 2018-10-11 03:23 EDT

  None (edit)
Description Jason Montleon 2018-07-31 09:38:34 EDT
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
Comment 1 Jason Montleon 2018-07-31 10:18:25 EDT
    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:     },
Comment 2 Jason Montleon 2018-07-31 11:41:47 EDT
Setting oreg_auth_password and oreg_auth_user appears to work around it in the mean time.
Comment 4 Jason Montleon 2018-08-06 09:41:56 EDT
Should be fixed in openshift-ansible-3.11.0-0.11.0.git.0.3c66516None
Comment 5 Zihan Tang 2018-08-09 02:03:10 EDT
Verified.
Comment 7 errata-xmlrpc 2018-10-11 03:22:47 EDT
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

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