There are cases that we need to create new RequestSpect object and we
pass None for instance_group argument. It might cause server group
policies to be omitted during filtering phase. Therefore if
instance_group is None we should try to repopulate instance_group
basing on data that is in filter_properties.
Reviewed: https:/ /review. openstack. org/296596 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=00efcf3a417 1d270fc3a7b9b4a 9230332aea81e6
Committed: https:/
Submitter: Jenkins
Branch: master
commit 00efcf3a4171d27 0fc3a7b9b4a9230 332aea81e6
Author: Pawel Koniszewski <email address hidden>
Date: Wed Mar 23 18:44:10 2016 +0100
Try to repopulate instance_group if it is None
There are cases that we need to create new RequestSpect object and we
pass None for instance_group argument. It might cause server group
policies to be omitted during filtering phase. Therefore if
instance_group is None we should try to repopulate instance_group
basing on data that is in filter_properties.
Change-Id: Id7e669e0a6db1f f1052c42006f1a1 41bdb8cdf29
Closes-Bug: #1561022