Change I8b43624b934fadf1036fafa1f5e2b94b5317f81c introduced reading
volume_type['extra specs'] from filter_properties in CapacityFilter
without taking into account that volume_type can be None (when
default_volume_type is not set in cinder.conf). This commit fixes that.
Reviewed: https:/ /review. openstack. org/364245 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=472ce4aae03 f3243399ea64406 0ec60b7b8daacf
Committed: https:/
Submitter: Jenkins
Branch: master
commit 472ce4aae03f324 3399ea644060ec6 0b7b8daacf
Author: Michał Dulko <email address hidden>
Date: Thu Sep 1 13:22:20 2016 +0200
Fix CapacityFilter to accept None volume type
Change I8b43624b934fad f1036fafa1f5e2b 94b5317f81c introduced reading type['extra specs'] from filter_properties in CapacityFilter volume_ type is not set in cinder.conf). This commit fixes that.
volume_
without taking into account that volume_type can be None (when
default_
Closes-Bug: 1619246 1b49cbec5110ef7 df05eb47195
Change-Id: Icfc6ba5f47c3a6