A warning message appears in Cinder logs which state that
inheritance-based rules are deprecated and use default
Brain instead of HttpBrain. It looks like HttpBrain class
doesnt have any difference from Brain class, so changing
all the instances of HttpBrain to Brain shouldn't affect
anything and removes this warning from logs.
Digging further, I found out that the policy engine has
gone through a major rework in Oslo and Nova, and I think
at some point of time in future, we will also be moving
to use the latest policy engine code. In that way of
thinking, I guess this fix is acceptable for now.
Reference: https://review.openstack.org/#/c/14122
Changed the brain from HttpBrain -> Brain, which makes the
warnings in the log disapper. A more comprehensive work will be
to pull the latest policy change code from Oslo.
Reviewed: https:/ /review. openstack. org/30680 github. com/openstack/ cinder/ commit/ 0f7865bfb0cf8d3 28df395e583d388 9e5dcf39d1
Committed: http://
Submitter: Jenkins
Branch: master
commit 0f7865bfb0cf8d3 28df395e583d388 9e5dcf39d1
Author: Rushi Agrawal <email address hidden>
Date: Mon May 27 19:48:12 2013 +0530
Fix 'Inheritance-based rule deprecated' log warning
A warning message appears in Cinder logs which state that -based rules are deprecated and use default
inheritance
Brain instead of HttpBrain. It looks like HttpBrain class
doesnt have any difference from Brain class, so changing
all the instances of HttpBrain to Brain shouldn't affect
anything and removes this warning from logs.
Digging further, I found out that the policy engine has /review. openstack. org/#/c/ 14122
gone through a major rework in Oslo and Nova, and I think
at some point of time in future, we will also be moving
to use the latest policy engine code. In that way of
thinking, I guess this fix is acceptable for now.
Reference: https:/
Changed the brain from HttpBrain -> Brain, which makes the
warnings in the log disapper. A more comprehensive work will be
to pull the latest policy change code from Oslo.
Bug #1156608
Change-Id: I9f63ec4c410250 42725db9b2e7c8f fa3d91e0596