Bug 1483387 - [3.6] Installation by openshift-ansible failed at task openshift_node_dnsmasq : Install dnsmasq configuration
Summary: [3.6] Installation by openshift-ansible failed at task openshift_node_dnsmasq...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.6.z
Assignee: Scott Dodson
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-21 02:14 UTC by Weihua Meng
Modified: 2017-09-05 17:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
When users had set openshift_dns_ip it was not properly configuring the node-config.yaml file to use this value which resulted in a broken dns configuration. This error has been corrected.
Clone Of:
Environment:
Last Closed: 2017-09-05 17:42:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2639 0 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix and enhancement 2017-09-05 21:42:36 UTC

Description Weihua Meng 2017-08-21 02:14:53 UTC
Description of problem:
Installation by openshift-ansible failed at task 
openshift_node_dnsmasq : Install dnsmasq configuration


Version-Release number of the following components:
openshift-ansible-3.6.173.0.5-5.git.0.0538d97.el7.noarch.rpm
ansible-2.3.1.0

How reproducible:
Always
Steps to Reproduce:
1. install openshift by openshift-ansible

Actual results:
TASK [openshift_node_dnsmasq : Install dnsmasq configuration] ******************
Monday 21 August 2017  01:45:42 +0000 (0:00:00.886)       0:06:30.261 ********* 
fatal: [host-8-241-75.host.centralci.eng.rdu2.redhat.com]: FAILED! => {
    "changed": false, 
    "failed": true
}

MSG:

AnsibleUndefinedVariable: 'dict object' has no attribute 'dns_ip'

----
Failure summary:

  1. Host:     host-8-241-75.host.centralci.eng.rdu2.redhat.com
     Play:     Configure containerized nodes
     Task:     openshift_node_dnsmasq : Install dnsmasq configuration
     Message:  AnsibleUndefinedVariable: 'dict object' has no attribute 'dns_ip'

Expected results:
Installation succeed.

Additional info:

Comment 3 Weihua Meng 2017-08-23 01:26:56 UTC
Verified with openshift-ansible-3.6.173.0.7-2.git.0.340aa2c.el7.noarch.rpm
Fixed.
Installation succeed.

Comment 5 errata-xmlrpc 2017-09-05 17:42:58 UTC
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-2017:2639


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