Comment 5 for bug 1493971

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/270604
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=37e8a4100da10ad4d70e451bab4f38e4735c4256
Submitter: Jenkins
Branch: master

commit 37e8a4100da10ad4d70e451bab4f38e4735c4256
Author: nidhimittalhada <email address hidden>
Date: Wed Jan 20 16:50:17 2016 +0530

    extra-specs should work with string True/False

    For a share type extra-spec to match a Boolean capability
    (using CapabilitiesFilter), the current design requires
    the extra-spec value to use the syntax '<is> True' instead
    of just True or 'True'.
    When normal humans put 'True' in there, they will find a logged message
    from the scheduler saying True is not equal True.

    This is because there is a mismatch between the the extra-spec value(string)
    and the actual boolean reported.

    Fixed the bug by using strutils boolean to string converter.

    Change-Id: I959906bc92a374abc25625d012cfbad8aaf11065
    Closes-Bug: #1493971