The current extra_specs_ops.py under nova/scheduler/filters has a bug:
it crahses if <or> is not followed by a word. For example, if
"<or> gpu <or>" is given in extra_specs, current code tries to pop a
word after the second <or> that causes a crash. This patch lets it
ignore the "<or>" keyword if no word follows the second "<or>" keyword.
Reviewed: https:/ /review. openstack. org/11643 github. com/openstack/ nova/commit/ ada550098ac874c dd3ca7c6637421e df6c7f7163
Committed: http://
Submitter: Jenkins
Branch: master
commit ada550098ac874c dd3ca7c6637421e df6c7f7163
Author: Jinwoo 'Joseph' Suh <email address hidden>
Date: Mon Aug 20 07:43:21 2012 -0400
Debugged extra_specs_ops.py
The current extra_specs_ops.py under nova/scheduler/ filters has a bug:
it crahses if <or> is not followed by a word. For example, if
"<or> gpu <or>" is given in extra_specs, current code tries to pop a
word after the second <or> that causes a crash. This patch lets it
ignore the "<or>" keyword if no word follows the second "<or>" keyword.
Debugged bug 1038979
Change-Id: I80a6eafd7ee57a 2f3ccbf2fb86965 5ab84e92cf2