yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03793
[Bug 1186945] Re: The code snippet could not provide the original target
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => havana-2
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1186945
Title:
The code snippet could not provide the original target
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
def get_filtered_objects(self, filter_classes, objs,
filter_properties):
list_objs = list(objs)
LOG.debug("Starting with %d host(s)", len(list_objs))
for filter_cls in filter_classes:
cls_name = filter_cls.__name__
objs = filter_cls().filter_all(list_objs,
filter_properties)
if objs is None: ==================> This code snippet will never be invoked.
LOG.debug("Filter %(cls_name)s says to stop filtering",
{'cls_name': cls_name})
return
list_objs = list(objs)
LOG.debug("Filter %(cls_name)s returned %(obj_len)d host(s)",
{'cls_name': cls_name, 'obj_len': len(list_objs)})
return list_objs
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1186945/+subscriptions