2022-05-30 08:20:46 |
Hiromu Asahina |
description |
The following warnings are emitted many times during unittest.
/opt/stack/tacker/.tox/py39/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_id. This key is deprecated. Please update your policy file to use the standard policy values.
This happens because oslo.context emits a warning for attirbutes that is not listed in [1].
According to the above warning message, policy file should be modified policy file to use $(project_id)s instead of $(tenant_id)s.
[1] https://github.com/openstack/oslo.context/blob/master/oslo_context/context.py#L313-L327 |
The following warnings are emitted many times during unittest.
/opt/stack/tacker/.tox/py39/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_id. This key is deprecated. Please update your policy file to use the standard policy values.
This happens because oslo.context emits a warning for attirbutes that is not listed in [1].
According to the above warning message, policy file should be modified to use $(project_id)s instead of $(tenant_id)s.
[1] https://github.com/openstack/oslo.context/blob/master/oslo_context/context.py#L313-L327 |
|