Ansible playbook failing at step openshift_facts in Openshift.

Solution Verified - Updated -

Issue

  • When installing Openshift using ansible below error is seen :
TASK: [openshift_facts | Gather OpenShift facts] ****************************** 
failed: [master.demov3.osecloud.com] => {"failed": true, "parsed": false}
Traceback (most recent call last):
  File "/root/.ansible/tmp/ansible-tmp-1438389001.78-261749612728916/openshift_facts", line 5933, in <module>
    main()
  File "/root/.ansible/tmp/ansible-tmp-1438389001.78-261749612728916/openshift_facts", line 891, in main
    openshift_facts = OpenShiftFacts(role, fact_file, local_facts)
  File "/root/.ansible/tmp/ansible-tmp-1438389001.78-261749612728916/openshift_facts", line 682, in __init__
    self.facts = self.generate_facts(local_facts)
  File "/root/.ansible/tmp/ansible-tmp-1438389001.78-261749612728916/openshift_facts", line 700, in generate_facts
    facts = merge_facts(facts, local_facts)
  File "/root/.ansible/tmp/ansible-tmp-1438389001.78-261749612728916/openshift_facts", line 583, in merge_facts
    facts[key] = merge_facts(value, new[key])
  File "/root/.ansible/tmp/ansible-tmp-1438389001.78-261749612728916/openshift_facts", line 583, in merge_facts
    facts[key] = merge_facts(value, new[key])
  File "/root/.ansible/tmp/ansible-tmp-1438389001.78-261749612728916/openshift_facts", line 588, in merge_facts
    new_keys = set(new.keys()) - set(orig.keys())
AttributeError: 'unicode' object has no attribute 'keys'
OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug1: auto-mux: Trying existing master
debug1: mux_client_request_session: master session id: 2
Shared connection to master.demov3.osecloud.com closed.

Environment

  • Openshift Enterprise
    • 3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.