← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1549394] [NEW] neutron-sanity-check --no* BoolOpts don't work

 

Public bug reported:

neutron-sanity-check allows the passing of --config-file and --config-
dir to automatically set which tests are run based on neutron's
configuration. Since the test options are BoolOpts, they automatically
register --no* inverse options. This implies that one could pass
--config-file /etc/neutron/l3_agent.ini and then disable the
dnsmasq_version check with --nodnsmasq_version.

neutron-sanity-check uses set_override() to override the test
configuration, which also overrides the CLI. Using set_default() should
fix the issue.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1549394

Title:
  neutron-sanity-check --no* BoolOpts don't work

Status in neutron:
  New

Bug description:
  neutron-sanity-check allows the passing of --config-file and --config-
  dir to automatically set which tests are run based on neutron's
  configuration. Since the test options are BoolOpts, they automatically
  register --no* inverse options. This implies that one could pass
  --config-file /etc/neutron/l3_agent.ini and then disable the
  dnsmasq_version check with --nodnsmasq_version.

  neutron-sanity-check uses set_override() to override the test
  configuration, which also overrides the CLI. Using set_default()
  should fix the issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1549394/+subscriptions


Follow ups