yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #27805
[Bug 1404250] Re: get_binary_name should returns strings without spaces
** Changed in: neutron
Status: Fix Committed => Fix Released
** Changed in: neutron
Milestone: None => kilo-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1404250
Title:
get_binary_name should returns strings without spaces
Status in OpenStack Neutron (virtual network service):
Fix Released
Bug description:
get_binary_name() generates a string from sys.argv[0] which could contains spaces:
* python -m unittest whatever implies sys.argv[0] = "python -m unittest" and get_binary_name == 'python -m unitte'
But iptables does not support spaces in chain name ... and get_binary_name() is used as prefix in chain name by iptables_manager
* python -m unittest whatever implies incorrect iptables chain definition: iptables -N python -m unittest.
It typically brakes functional tests runned using python -m unittest $class.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1404250/+subscriptions
References