Comment 2 for bug 1582589

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

Reviewed: https://review.openstack.org/317306
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=83b59ea6035df173fb206167a4911f512fe22e64
Submitter: Jenkins
Branch: master

commit 83b59ea6035df173fb206167a4911f512fe22e64
Author: OctopusZhang <zhang.yufei@99cloud.net>
Date: Tue May 17 08:05:19 2016 +0000

    Allow irrelevant,self-defined specs in ComputeCapacityFilter

    For backward compatibility, ComputeCapacityFilter treats extra spec
    keys which contain no colons like 'x' the same as 'capabilities:x',
    because hoststate doesn't contain attribute like x, this filter always
    return False. So it causes conflict with
    AggregateInstanceExtraSpecsFilter, and limits user to define extra spec
    keys without colons.

    This patch solves the conflict and keep it backward compatible.

    This patch also joins two lines into one in method host_passes.

    Change-Id: Ia9e7c882bcee131e106e67dc46ed9ce1224e4c67
    Closes-Bug: #1582589