dnsmasq version check should set C locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Xu Han Peng |
Bug Description
From my logfiles (shortened, redacted):
2015-01-20 11:22:36.853 DEBUG neutron.
['dnsmasq', '--version'] from (pid=3481) create_process
/opt/
2015-01-20 11:22:37.052 DEBUG neutron.
Command: ['dnsmasq', '--version']
Exit code: 0
Stdout: 'Dnsmasq Version 2.68 Copyright (c) 2000-2013 Simon Kelley\n
Compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6
no-Lua TFTP conntrack ipset auth\n\n
F\xc3\xbcr diese Software wird ABSOLUT KEINE GARANTIE gew\xc3\xa4hrt.\n
Dnsmasq ist freie Software, und du bist willkommen es weiter zu verteilen\n
unter den Bedingungen der GNU General Public Lizenz, Version 2 oder 3.\n'
Stderr: '' from (pid=3481) execute /opt/stack/
2015-01-20 11:22:37.082 ERROR neutron.
FAILED VERSION REQUIREMENT FOR DNSMASQ.
Please ensure that its version is 2.67 or above!
I guess that my locale (that was used on ./rejoin-stack) interfered with the
version detection.
My devstack has neutron at
commit 2c94b10d741f3a9
Merge: b3ae161 c7e533c
Author: Jenkins <email address hidden>
Date: Wed Jan 14 00:38:28 2015 +0000
Merge "Allow IptablesManager to manage mangle table"
Changed in neutron: | |
assignee: | nobody → Xu Han Peng (xuhanp) |
Changed in neutron: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-2 → 2015.1.0 |
I think the problem is not about locale but the output dnsmasq --version. The code is trying to look for "version" instead of "Version".