OpenShift 3.9.60 and 3.10.89 Upgrades and Installs fail with error: MODULE FAILURE

Solution In Progress - Updated -

Issue

  • Upgrading OpenShift to 3.9.60 or 3.10.89 playbook fails with the error.
fatal: [10.0.0.1]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Shared connection to 10.0.0.1] closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/tmp/ansible_3wJgls/ansible_module_openshift_facts.py\", line 1678, in <module>\r\n    main()\r\n  File \"/tmp/ansible_3wJgls/ansible_module_openshift_facts.py\", line 1665, in main\r\n    additive_facts_to_overwrite)\r\n  File \"/tmp/ansible_3wJgls/ansible_module_openshift_facts.py\", line 1331, in __init__\r\n    additive_facts_to_overwrite)\r\n  File \"/tmp/ansible_3wJgls/ansible_module_openshift_facts.py\", line 1361, in generate_facts\r\n    provider_facts = self.init_provider_facts()\r\n  File \"/tmp/ansible_3wJgls/ansible_module_openshift_facts.py\", line 1503, in init_provider_facts\r\n    provider_info.get('metadata')\r\n  File \"/tmp/ansible_3wJgls/ansible_module_openshift_facts.py\", line 375, in normalize_provider_facts\r\n    facts = normalize_openstack_facts(metadata, facts)\r\n  File \"/tmp/ansible_3wJgls/ansible_module_openshift_facts.py\", line 340, in normalize_openstack_facts\r\n    if socket.gethostbyname(metadata['ec2_compat'][h_var]) == metadata['ec2_compat'][ip_var].split(',')[0]:\r\nAttributeError: 'list' object has no attribute 'split'\r\n", "msg": "MODULE FAILURE", "rc": 0}

Environment

  • OpenShift Enterprise Platform 3.9.60
    • openshift-ansible-3.9.60-1.git.0.f0ebfaa.el7.noarch
  • OpenShift Enterprise Platform 3.10.89
    • openshift-ansible-3.10.89-1.git.0.14ed1cb.el7.noarch

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content