83b59ea603
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