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: Id7e669e0a6db1ff1052c42006f1a141bdb8cdf29
Closes-Bug: #1561022
(cherry picked from commit 00efcf3a4171d270fc3a7b9b4a9230332aea81e6)
Reviewed: https:/ /review. openstack. org/296661 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=ad3c069f69c a1ab2c1d9c6c18d 762b7c26c5ad92
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit ad3c069f69ca1ab 2c1d9c6c18d762b 7c26c5ad92
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 0fc3a7b9b4a9230 332aea81e6)
Closes-Bug: #1561022
(cherry picked from commit 00efcf3a4171d27