instack-virt-setup can't use dnsmasq lease file anymore

Bug #1504179 reported by Thomas Herve
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Thomas Herve

Bug Description

I tried to use instack-virst-setup with a recent libvirt (1.2.17) and I got the following error:

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

As it turns out, libvirt doesn't specify the lease file option in dnsmasq anymore (since 1.2.11).

It should be easy to retrieve it in a different way though.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to instack-undercloud (master)

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

Changed in tripleo:
assignee: nobody → Thomas Herve (therve)
status: New → In Progress
Ben Nemec (bnemec)
Changed in tripleo:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (master)

Reviewed: https://review.openstack.org/232584
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=75e7a7f8350d736d3c0957cec6eff234d7f7c8c0
Submitter: Jenkins
Branch: master

commit 75e7a7f8350d736d3c0957cec6eff234d7f7c8c0
Author: Thomas Herve <email address hidden>
Date: Thu Oct 8 17:02:58 2015 +0200

    Don't use dnsmasq lease file to retrieve address

    Since libvirt 1.2.11, 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. Simply using arp fixes that.

    Change-Id: Ie6757a7b0c224d89ebab992ef147b6fc04f774cc
    Closes-Bug: #1504179

Changed in tripleo:
status: In Progress → Fix Committed
Steven Hardy (shardy)
Changed in tripleo:
status: Fix Committed → Fix Released
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.