Comment 5 for bug 1549394

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/liberty)

Reviewed: https://review.openstack.org/284556
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=2b4838e1984ddc9d02c74b147598eda80fb7bdde
Submitter: Jenkins
Branch: stable/liberty

commit 2b4838e1984ddc9d02c74b147598eda80fb7bdde
Author: Terry Wilson <email address hidden>
Date: Tue Feb 23 06:16:13 2016 -0600

    Fix sanity check --no* BoolOpts

    If --config-{file,dir} are used to genearate a list of tests to
    run, using set_override() will also override any options passed
    via the CLI.

    For example, on Centos 7 which uses dnsmasq 2.66, running:

      neutron-sanity-check --nodnsmasq_version --config-file \
        /etc/neutron/l3_agent.ini

    will still run and fail the dnsmasq version test. Using
    set_default() allows using --config-{file,dir} and --no* in
    conjunction.

    Closes-Bug: #1549394
    Change-Id: I5b9e520add7324660148c4451bbef54c0dfe428e
    (cherry picked from commit c28ad6b8e38884c6e1cc7504e478608349fc0376)