Automated In-place Cluster Upgrade to 3.6 fails on openshift_node_dnsmasq 'Set dnsIP' task
Issue
- Upgrade from 3.5 to 3.6 fails due to dns
TASK [openshift_node_dnsmasq : Set dnsIP] **************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'ansible_default_ipv4'
fatal: [testingnode.example.com]: FAILED! => {
"failed": true
}
- Repeatedly failed, until I changed
get_dns_ip methodin/usr/share/ansible_plugins/filter_plugins/openshift_node.pyto returnhostvars['openshift']['node']['dns_ip'](instead ofhostvars['ansible_default_ipv4']['address'])
Environment
- Red Hat OpenShift Container Platform
- 3.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
