Bug 1272509

Summary: instack-undercloud: instack-virt-setup doesn't complete due to repeating: "instack never got an IP address from the libvirt default network. cat: /var/lib/libvirt/dnsmasq/default.leases: No such file or directory"
Product: Red Hat OpenStack Reporter: Alexander Chuzhoy <sasha>
Component: instack-undercloudAssignee: James Slagle <jslagle>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: high Docs Contact:
Priority: high    
Version: 8.0 (Liberty)CC: dmacpher, jcoufal, mburns, opavlenk, rhel-osp-director-maint
Target Milestone: y2   
Target Release: 7.0 (Kilo)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: instack-undercloud-2.1.2-31.el7ost Doc Type: Bug Fix
Doc Text:
A missing dnsmasq lease file caused "instack-virt-setup" to fail when retrieving the host IP. This fix retrieves the IP address from a different source and "instack-virt-setup" now succeeds.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-21 16:56:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexander Chuzhoy 2015-10-16 15:24:20 UTC
instack-undercloud: instack-virt-setup doesn't complete due to repeating: "instack never got an IP address from the libvirt default network. cat: /var/lib/libvirt/dnsmasq/default.leases: No such file or directory"


Environment:
instack-undercloud-2.1.2-30.el7ost.noarch
instack-0.0.7-2.el7ost.noarch


Steps to reproduce:
Run instack-virt-setup on rhel7.2


Results:
Endless loop with these messages:

instack never got an IP address from the libvirt default network.
cat: /var/lib/libvirt/dnsmasq/default.leases: No such file or directory

Expected result:
instack-virt-setup should complete successfully.


Note:
Seems like libvirt doesn't ask for dnsmasq to fill a lease file, thus instack-virt-setup fails to retrieve it at the end of the installation.

Comment 3 Mike Burns 2015-11-25 14:51:51 UTC
*** Bug 1242203 has been marked as a duplicate of this bug. ***

Comment 4 Alexander Chuzhoy 2015-11-26 17:24:45 UTC
Verified:

Environment:
instack-undercloud-2.1.2-34.el7ost.noarch

The reported issue doesn't reproduce.

Comment 6 errata-xmlrpc 2015-12-21 16:56:54 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-2015:2651