Comment 100 for bug 1517839

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to glance (master)

Reviewed: https://review.openstack.org/457050
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=d1020785dc54a997dff6efa3a740b5b4b20a9294
Submitter: Jenkins
Branch: master

commit d1020785dc54a997dff6efa3a740b5b4b20a9294
Author: ChangBo Guo(gcb) <email address hidden>
Date: Sun Apr 16 14:09:02 2017 +0800

    Fix tests when CONF.set_override with enforce_type=True

    Oslo.config make CONF.set_override with enforce_type=True by default
    in Ifa552de0a994e40388cbc9f7dbaa55700ca276b0 and
    I5b62427495179edb7672c6e5c508037f8b9d0b84, these changes break Glance's
    tests[1], this commit fixes failures:

    * Method config will raise ValueError in oslo.config 4.0 , so add it
      in expected exception list,

    * Oslo.config ensures option 'location_strategy' only allow two values,
      so remove invalid test.

    [1] http://logs.openstack.org/periodic/periodic-glance-py35-with-oslo-master/290de5d/testr_results.html.gz

    Related-Bug: #1517839

    Change-Id: I366042c7a739e74c270ae8cc7eca047a23ea2dd9