There are so many uninterested warning messages in test logs. It's not a critical issue, but increases the size of files and makes us annoying while analyzing logs.
"Policy Rules ['context_is_admin', 'default'] specified in policy files are the same as the defaults provided by the service. You can remove these rules from policy files which will make maintenance easier. You can detect these redundant rules by ``oslopolicy-list-redundant`` tool also."
Here is an example of a result of unit test.
------------------------------------------
...
cover start: run-test
cover run-test: commands[0] | stestr run
setting PATH=/home/zuul/src/opendev.org/openstack/tacker/.tox/cover/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
[3918] /home/zuul/src/opendev.org/openstack/tacker$ /home/zuul/src/opendev.org/openstack/tacker/.tox/cover/bin/stestr run
Policy Rules ['context_is_admin', 'default'] specified in policy files are the same as the defaults provided by the service. You can remove these rules from policy files which will make maintenance easier. You can detect these redundant rules by ``oslopolicy-list-redundant`` tool also.
Policy Rules ['context_is_admin', 'default'] specified in policy files are the same as the defaults provided by the service. You can remove these rules from policy files which will make maintenance easier. You can detect these redundant rules by ``oslopolicy-list-redundant`` tool also.
Policy Rules ['context_is_admin', 'default'] specified in policy files are the same as the defaults provided by the service. You can remove these rules from policy files which will make maintenance easier. You can detect these redundant rules by ``oslopolicy-list-redundant`` tool also.
{5} tacker.tests.unit.api.test_api_common.PaginationEmulatedHelperTestcase.test_get_links [0.262856s] ... ok
Policy Rules ['context_is_admin', 'default'] specified in policy files are the same as the defaults provided by the service. You can remove these rules from policy files which will make maintenance easier. You can detect these redundant rules by ``oslopolicy-list-redundant`` tool also.
Extension path '' doesn't exist!
...
------------------------------------------
This issue was fixed in the openstack/tacker 6.0.0.0rc1 release candidate.