As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:
1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.
2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.
Also replace policy.json to policy.yaml ref from doc and tests.
[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
Change-Id: Ie6e22b0b47c5148290f7b76c95967cd9a343343c
This commit updates the versions of oslo.policy, keystonemiddleware, and
oslo.log to new versions that aid in implementing secure RBAC through
default roles and scope checking.
This commit also includes a dependency on oslo.context, which provides
pythonic context objects based on request environments. This is useful
in implementing authorization decisions because we can just pass context
objects to oslo.policy's Enforcer() object instead of building a
dictionary of authorization information manually.
These dependencies will be used in a subsequent patch set to update
Panko's default policies.
Change-Id: I222155c8c6b757fd80b30173fd300e2a7240c107
oslo project provide jsonutils, the others project use it
this PS to update the json moudule to oslo jsonutils.
Change-Id: I311d4f9dec7b685a5bccb9725de6010926375c7d
The oslo.messaging<5.2.0(the v5.2.0 update change is in review[1])
depends on amqp>=1.4.0, in amqp-2.0 and amqp2.0.1, there is an issue[2]
that lead the amqp cannot be correctly installed in py34
environment(the depent package vine-1.1.0 of amqp won't bee installed),
that has borken the ceilometer py34 job[3]. we can wait the change[1]
merged and then bump the oslo.message version to avoid this issue. Because
Ceilometer don't participate the global-requirements, so we bump the
oslo.messaging to 5.2.0.
[1] https://review.openstack.org/#/c/324023/
[2] https://github.com/celery/py-amqp/issues/91
[3] http://logs.openstack.org/41/323641/4/check/gate-ceilometer-python34/cf3f043/console.html
Change-Id: Icb34a7f0e03662868aa0ce6e060c5e951711b79e
This change removes usage of eventlet timers.
This allows coordinator heartbeat/watchers to work correctly when
the main thread is stuck for any reason (IO, time.sleep, ...).
Change-Id: I847aebb0d0166c2b46505061a15a06e3ce1b5eb2
Closes-Bug: #1566887
python-ceilometerclient is requried in previous alarming service,
since alarming code is removed, we don't directly use it any more.
Change-Id: Icfccd591d650e20cf62c6d37706681a43e3ff559
We don't pass any oslo.context object around anymore, we just pass dict
if we really need to send some context information – which we barely
need actually.
And remove oslo.context!
Change-Id: I17d15c043b5c7d508af9a43f50511817f9e81151
This removes entirely our usage of eventlet and its ugly monkey-patching
in favor of a threaded approach.
Implements: remove-eventlet
Change-Id: Ib5f623e2d1ff9e9254601ad091bf5b53ab32000d
Since we moved all the alarming code and subsystem to the Aodh project,
remove it from Ceilometer.
Depends-On: I3983128d2d964b0f1f3326948b27f5d94df65a04
Depends-On: I99c9f2be0bbc70f289da5c2ba22698b8b7dc4495
Change-Id: Id169a914c1d1f2f5ad03ebb515d3d052204d5c5c