[chef-testing-stack][network] Neutron won't start on Centos65 because of an old version of dnsmasq

Bug #1397610 reported by JJ Asghar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
High
Mark Vanderwiel

Bug Description

tl;dr:
2014-11-29 23:18:37.833 7845 WARNING neutron.agent.linux.dhcp [req-b68dc8b1-91b7-457e-8f7e-2e006032371d None] FAILED VERSION REQUIREMENT FOR DNSMASQ. DHCP AGENT MAY NOT RUN CORRECTLY! Please ensure that its version is 2.59 or above!

[root@controller ~]# dnsmasq -v
Dnsmasq version 2.48 Copyright (C) 2000-2009 Simon Kelley
Compile time options IPv6 GNU-getopt DBus no-I18N DHCP TFTP "--bind-interfaces with SO_BINDTODEVICE"

This software comes with ABSOLUTELY NO WARRANTY.
Dnsmasq is free software, and you are welcome to redistribute it
under the terms of the GNU General Public License, version 2 or 3.
[root@controller ~]# yum list installed | grep dnsmasq
dnsmasq.x86_64 2.48-14.el6 @base
dnsmasq-utils.x86_64 2.48-14.el6 @base

If i change this to an || instead of && i think it might fix it:
https://github.com/stackforge/cookbook-openstack-network/blob/cedf3540cf52e489c966fb8cebb5e57cd64ebeac/recipes/dhcp_agent.rb#L80

I'm testing it now.

Tags: network
Revision history for this message
JJ Asghar (d-jj) wrote :
Download full text (7.0 KiB)

It seems that this version of dnsmasq is a dep form the openstack-neutron install.

[root@controller ~]# yum remove dnsmasq
Loaded plugins: fastestmirror
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package dnsmasq.x86_64 0:2.48-14.el6 will be erased
--> Processing Dependency: dnsmasq >= 2.41 for package: libvirt-0.10.2-46.el6_6.2.x86_64
--> Processing Dependency: dnsmasq for package: openstack-neutron-2014.1.3-4.el6.noarch
--> Running transaction check
---> Package libvirt.x86_64 0:0.10.2-46.el6_6.2 will be erased
--> Processing Dependency: libvirt >= 0.9.6 for package: openstack-nova-compute-2014.1.3-3.el6.noarch
---> Package openstack-neutron.noarch 0:2014.1.3-4.el6 will be erased
--> Processing Dependency: openstack-neutron = 2014.1.3-4.el6 for package: openstack-neutron-openvswitch-2014.1.3-4.el6.noarch
--> Processing Dependency: openstack-neutron = 2014.1.3-4.el6 for package: openstack-neutron-ml2-2014.1.3-4.el6.noarch
--> Running transaction check
---> Package openstack-neutron-ml2.noarch 0:2014.1.3-4.el6 will be erased
---> Package openstack-neutron-openvswitch.noarch 0:2014.1.3-4.el6 will be erased
---> Package openstack-nova-compute.noarch 0:2014.1.3-3.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================================================================================
 Package Arch Version Repository Size
===========================================================================================================================================================================================================
Removing:
 dnsmasq x86_64 2.48-14.el6 @base 293 k
Removing for dependencies:
 libvirt x86_64 0.10.2-46.el6_6.2 @updates 5.7 M
 openstack-neutron noarch 2014.1.3-4.el6 @RDO-icehouse 75 k
 openstack-neutron-ml2 noarch 2014.1.3-4.el6 @RDO-icehouse 25 k
 openstack-neutron-openvswitch noarch 2014.1.3-4.el6 @RDO-icehouse 21 k
 openstack-nova-compute noarch 2014.1.3-3.el6 @RDO-icehouse 12 k

Transaction Summary
===============...

Read more...

Revision history for this message
JJ Asghar (d-jj) wrote :

It looks like rpm -Uvh http://pkgs.repoforge.org/dnsmasq/dnsmasq-2.65-1.el6.rfx.x86_64.rpm ontop of the offical package takes away the dhcp-agent.log

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

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

Changed in openstack-chef:
status: Triaged → In Progress
Revision history for this message
JJ Asghar (d-jj) wrote : Re: [chef-testing-stack][networking] Neutron won't start on Centos65 because of an old version of dnsmasq

Mark will confirm the missing chefspec test.

Changed in openstack-chef:
assignee: JJ Asghar (d-jj) → Mark Vanderwiel (vanderwl)
summary: - [chef-testing-stack][networking] Neutron won't start on Centos65 because
- of an old version of dnsmasq
+ [chef-testing-stack][network] Neutron won't start on Centos65 because of
+ an old version of dnsmasq
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-network (master)

Reviewed: https://review.openstack.org/137973
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-network/commit/?id=4808ba56fc61d47b755f62f25fb0b84459fcb704
Submitter: Jenkins
Branch: master

commit 4808ba56fc61d47b755f62f25fb0b84459fcb704
Author: JJ Asghar <email address hidden>
Date: Sun Nov 30 13:40:46 2014 -0600

    Centos 6.5 and up has and old version of dnsmasq

    This patch updates the version of dnsmasq so dhcp-agent
    can start correctly. This was found attempting to start
    the testing framework with centos and neutron. This is
    not triggered if the machine is anything other than
    centos and 6.5 and above.

    Change-Id: I622e51f8f9f912ca7bc4185614b3098208d29d11
    Closes-Bug: 1397610

Changed in openstack-chef:
status: In Progress → 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.