Dnsmasq bind on localhost address after reboot of Fuel Master

Bug #1600030 reported by slava valyavskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
slava valyavskiy
Mitaka
Fix Released
High
slava valyavskiy

Bug Description

Detailed bug description:
 Dnsmasq hangs on localhost address after reboot of Fuel Master instead of ip address of corresponding pxe interface and it makes network checker fails on 'check_repo_availability' task.
Steps to reproduce:
 1. Install Fuel Master node
 2. Reboot Fuel Master node
Expected results:
 FM is able to resolve mirantis.com.
Actual result:
 FM is not able to resolve mirantis.com.
Reproducibility:
 Always
Workaround:
 Restart Dnsmasq service
Impact:
 Any network resource can not be resolved by name from FM
Description of the environment:
 Versions of components: Fuel 10.0
Additional information:
######
[root@nailgun ~]# netstat -tupln4 | grep dnsmasq
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1214/dnsmasq
udp 0 0 127.0.0.1:53 0.0.0.0:* 1214/dnsmasq
udp 0 0 0.0.0.0:67 0.0.0.0:* 1214/dnsmasq
#####

 We are binding dnsmasq to particular interface by its biosdevname and it seems that dnsmasq tries to occupy this interface before system has a chance to rename it from its 'eth*'naming scheme.
###
21:10:52 dnsmasq[660]: warning: interface enp0s3 does not currently exist
###

Changed in fuel:
milestone: none → 10.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/339254

Changed in fuel:
status: New → In Progress
tags: added: area-library
Revision history for this message
slava valyavskiy (slava-val-al) wrote : Re: Dnsmasq hangs on localhost address after reboot of Fuel Master

My fuel master node is a VM inside another VM. It seems that slow performance may be a reason of fail. Anyway, it works fine in 9.0 release.

summary: - Dnsmasq hangs on localhost address after reboot of Fuel Master
+ Dnsmasq bind on localhost address after reboot of Fuel Master
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/339254
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=d806feb629ff671538fe99a96019ad7a544a94e1
Submitter: Jenkins
Branch: master

commit d806feb629ff671538fe99a96019ad7a544a94e1
Author: slava <email address hidden>
Date: Fri Jul 8 01:07:57 2016 +0300

    Bind dnsmasq to ip address instead of iface name

    Change-Id: I49d1d6b50f43332ddfb9b86bb9b2b22d75e5c3e6
    Closes-Bug: #1600030

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/343317

tags: added: blocker-for-qa
Revision history for this message
Alexander Zatserklyany (zatserklyany) wrote :

Verified on fuel-10.0-mitaka-106-2016-07-18_04-00-00.iso
[root@nailgun ~]# uptime
 10:42:25 up 1 min, 1 user, load average: 1.32, 0.48, 0.17
[root@nailgun ~]# fuel --env 1 network --download
Network configuration for environment with id=1 downloaded to /root/network_1.yaml
[root@nailgun ~]# fuel --env 1 network --verify --dir /root/network_1.yaml
Verification status is 'running'. message: None

Verification succeeded. Your network is configured correctly.

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/mitaka)

Reviewed: https://review.openstack.org/343317
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=f20d682fa1e478e4a7f42c866136c7a772c6d5ae
Submitter: Jenkins
Branch: stable/mitaka

commit f20d682fa1e478e4a7f42c866136c7a772c6d5ae
Author: slava <email address hidden>
Date: Fri Jul 8 01:07:57 2016 +0300

    Bind dnsmasq to ip address instead of iface name

    Change-Id: I49d1d6b50f43332ddfb9b86bb9b2b22d75e5c3e6
    Closes-Bug: #1600030
    (cherry picked from commit d806feb629ff671538fe99a96019ad7a544a94e1)

Revision history for this message
Alexander Zatserklyany (zatserklyany) wrote :

[root@nailgun ~]# shotgun2 short-report
cat /etc/fuel_build_id:
 275
cat /etc/fuel_build_number:
 275
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0
-------------
After master reboot:
--------------------
[root@nailgun ~]# nslookup node-1
Server: 10.109.0.2
Address: 10.109.0.2#53

Name: node-1.test.domain.local
Address: 10.109.0.4

Revision history for this message
Alexander Zatserklyany (zatserklyany) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0rc1

This issue was fixed in the openstack/fuel-library 10.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 10.0.0

This issue was fixed in the openstack/fuel-library 10.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.