settingsLogin | Registersettings

[openstack-dev] [all] [policy] [keystone] Support for deprecating policies

0 votes

Hey all,

I wanted to let everyone know that we just merged a patch [0] that
allows developers to deprecate policies (just like deprecating
configuration options). The functionality is implemented using the
DeprecatedRule object [1] and emits a warning to operators when
deprecated policies are used. There is also compatibility logic built in
to aid in transitions for operators.

If you've been waiting to change or improve default policies in a
project, you should be able to start making those changes with a new
version of oslo.policy. If you notice anything strange in the
implementation or find the documentation lacking, please let me know.
I'd like to make sure we get any issues ironed out as early as possible.

Thanks,

Lance

[1] https://review.openstack.org/#/c/509909/
[0]
https://docs.openstack.org/oslo.policy/latest/reference/api/oslo_policy.policy.html#oslo_policy.policy.DeprecatedRule


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

asked Nov 15, 2017 in openstack-dev by Lance_Bragstad (11,080 points)   2 2 4

1 Response

0 votes

I messed up the links in the previous note.

Merged implementation: https://review.openstack.org/#/c/509909/
Documentation:
https://docs.openstack.org/oslo.policy/latest/reference/api/oslo_policy.policy.html#oslo_policy.policy.DeprecatedRule

On 11/15/2017 11:34 AM, Lance Bragstad wrote:
Hey all,

I wanted to let everyone know that we just merged a patch [0] that
allows developers to deprecate policies (just like deprecating
configuration options). The functionality is implemented using the
DeprecatedRule object [1] and emits a warning to operators when
deprecated policies are used. There is also compatibility logic built in
to aid in transitions for operators.

If you've been waiting to change or improve default policies in a
project, you should be able to start making those changes with a new
version of oslo.policy. If you notice anything strange in the
implementation or find the documentation lacking, please let me know.
I'd like to make sure we get any issues ironed out as early as possible.

Thanks,

Lance

[1] https://review.openstack.org/#/c/509909/
[0]
https://docs.openstack.org/oslo.policy/latest/reference/api/oslo_policy.policy.html#oslo_policy.policy.DeprecatedRule


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

responded Nov 15, 2017 by Lance_Bragstad (11,080 points)   2 2 4
...