Commit Graph

212 Commits

Author SHA1 Message Date
Matthias Runge 92be85c4ca Remove leftovers of retirement
Change-Id: I5acab95813ac3d0604f73c377bf111f423a008bc
2021-07-09 15:21:47 +02:00
Ghanshyam Mann 6da394a59a [goal] Deprecate the JSON formatted policy file
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
2021-02-11 12:40:40 -06:00
Zuul 3054d7784e Merge "Remove six" 2021-01-25 08:33:20 +00:00
wangzihao f95cff99e2 Remove six
Remove six Replace the following items with Python 3 style code.

- six.text_type
- six.PY3
- six.moves.urllib
- six.string_types
- six.iteritems
- six.integer_types
- six.binary_type
- six.add_metaclass
- six.moves.reprlib

Depends-on: https://review.opendev.org/c/openstack/telemetry-tempest-plugin/+/770955
Change-Id: Ia301d56d675557e81b873ddd68f1faeb051dfe93
2021-01-15 16:48:21 +00:00
Lance Bragstad 6edbdfa296 Update requirements for secure RBAC work
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
2020-12-01 14:27:01 +00:00
Ghanshyam Mann b787e1dc4d [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Panko is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/

Change-Id: I61488fc092ac11eb9f606d54c8e1a6e57851c4a0
2019-12-13 00:17:59 +00:00
zhurong 92a0a825e5 PDF documentation build
Change-Id: I7db6a34ba582c048c40c450453f239ada6260ac2
2019-09-19 22:39:38 -07:00
zhulingjie 789f7c3e16 Update json module to jsonutils
oslo project provide jsonutils, the others project use it
this PS to update the json moudule to oslo jsonutils.

Change-Id: I311d4f9dec7b685a5bccb9725de6010926375c7d
2019-06-03 11:13:54 +00:00
hanxi.liu cb41192b8a Block keystonemiddleware for temporary
Change-Id: Ie4e516bad59b40a5e22264b32956d132f0bdd4fc
Related-bug: #1737115
2017-12-13 15:00:00 +08:00
gord chung fa8656ca7f sql: support bigint traits
add alembic and support bigint traits

Change-Id: I1fa3b5f9d72a4bc34b006648430c8399e9f3668e
Closes-Bug: #1644954
2017-07-28 13:01:11 +00:00
Tovin Seven 7f083fd4ee Update SQLAlchemy requirement
Update SQLAlchemy requirement to match with upper constraints.
This patch will fix the issue when install panko with devstack.

SQLAlchemy<1.1.0,>=1.0.10 [1] will not match with
SQLAlchemy==1.1.11 in requirements/upper-constraints.txt [2]

[1] https://git.openstack.org/cgit/openstack/panko/tree/requirements.txt#n23
[2] https://git.openstack.org/cgit/openstack/requirements/tree/upper-constraints.txt#n135

Change-Id: I9052f35202b5f4867f5ddcf37b0e711b8125543d
2017-07-12 09:24:13 +07:00
Jenkins 466dc83b0c Merge "let requirements handle pbr version" 2017-06-05 16:41:10 +00:00
gord chung 36da6822c5 add noauth api pipeline
Change-Id: Ib12fa4270c6780338cb9eba486833c32f3809c27
2017-05-25 22:42:00 +00:00
gord chung 93df10f8fa let requirements handle pbr version
Change-Id: Iab4387ebbcc726d7b4676762ebbbd9721683d953
2017-05-25 18:15:46 +00:00
Jeremy Liu 9f199974b7 Update requirements
The `set_defaults` function was added in oslo.middleware 3.10.0 [1],
we should pin oslo.middleware>=3.10.0 since [2] is merged.

[1] https://github.com/openstack/oslo.middleware/blob/3.10.0/oslo_middleware/cors.py
[2] https://review.openstack.org/#/c/390851/

Change-Id: Ida2b3851f277853831ec5c2f7e3aa3eb66784b87
2017-01-18 11:15:19 +08:00
“zhangshengping2012” a57db4e64a Replace all retrying with tenacity in Panko
Change-Id: I7e61fa4dad70801cdbc1f543fe18d7c1a64116b0
2016-12-08 23:08:38 +08:00
Julien Danjou 671f533eff Use pbr to build WSGI script `panko-api'
Change-Id: Ic3ac49bd8143461ec4011c34ea97283431fb3939
2016-07-22 12:23:34 +02:00
Julien Danjou ba4f572fd3 Remove code that is not related to events storage and API
Change-Id: I63128835613eb5959244c2fd34bc266ddcf4251c
2016-06-14 17:00:22 +02:00
liusheng 0cf728a745 Fix the py34 jenkins job
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
2016-06-02 12:38:58 +08:00
OpenStack Proposal Bot 6f9346a223 Updated from global requirements
Change-Id: I3687ac696bd830107a91f0dab35a26652d220ff2
2016-04-28 16:10:21 +00:00
ZhiQiang Fan e4f19c0013 add debtcollector to requirements
We directly use debtcollector, hence it should be in requirements.txt

Change-Id: Id2efd6acedc335e62d4024fdf573fb6b38f826b4
2016-04-22 11:44:16 +08:00
Jenkins 47b7b7720e Merge "notification: Remove eventlet timers" 2016-04-21 18:52:36 +00:00
Mehdi Abaakouk 24f75dae12 notification: Remove eventlet timers
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
2016-04-20 15:33:16 +02:00
OpenStack Proposal Bot 0b65c21337 Updated from global requirements
Change-Id: If1ea74d33bf9987c82ce7b263af1e4bef767fd9d
2016-04-19 12:22:24 +00:00
Jenkins 57f7102f55 Merge "remove python-ceilometerclient from requirements" 2016-04-18 09:24:57 +00:00
ZhiQiang Fan b26c1e1b3b remove python-ceilometerclient from requirements
python-ceilometerclient is requried in previous alarming service,
since alarming code is removed, we don't directly use it any more.

Change-Id: Icfccd591d650e20cf62c6d37706681a43e3ff559
2016-04-18 19:03:58 +08:00
OpenStack Proposal Bot 5e318072ca Updated from global requirements
Change-Id: Iff1ddf05c7115c7c0972a705bddeabb52b5f8a58
2016-04-18 04:20:50 +00:00
OpenStack Proposal Bot 123fa26585 Updated from global requirements
Change-Id: Id18aaa8f0363723719bf7f2b3fb6b1ba651ea5c2
2016-04-08 15:43:59 +00:00
Julien Danjou 2e3f7920ab messaging: remove RequestContextSerializer
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
2016-04-06 15:53:42 +02:00
OpenStack Proposal Bot e6005df321 Updated from global requirements
Change-Id: I4e80e68cbc9e885006d82c2901dca95ed1dd2990
2016-04-05 13:35:46 +00:00
OpenStack Proposal Bot 7a144db2cc Updated from global requirements
Change-Id: I7ccc6eec3a7845a9078c0caa6926cc87f989b58f
2016-03-05 15:30:54 +00:00
OpenStack Proposal Bot 7942f0bdb8 Updated from global requirements
Change-Id: Ic4ae47680ed0283cdd5131540d1527f35994e5c6
2016-02-27 02:42:17 +00:00
OpenStack Proposal Bot 95b2615d6e Updated from global requirements
Change-Id: I0ce5cc1283efdd274af2356fadf6d64918f1dcd5
2016-02-24 08:30:46 +00:00
Julien Danjou 4d06765f31 Remove unused pytz requirement
Change-Id: I84229b45831a177a26e90de8b55081cb86db19b0
2016-02-02 18:55:03 +01:00
OpenStack Proposal Bot ce9e2178b0 Updated from global requirements
Change-Id: Icd76afd8a5e2206b6b552f43a20099a57c3f144f
2016-02-01 15:01:42 +00:00
OpenStack Proposal Bot 6b0d8dd30b Updated from global requirements
Change-Id: Id5f2d177dfda418ee8d7cee83fdc317cd65cd76a
2016-01-23 10:29:33 +00:00
OpenStack Proposal Bot 2b6e7e45e7 Updated from global requirements
Change-Id: I6d5e9fca5ec8f72c78b3ca6a2527e32f27652608
2016-01-21 17:41:01 +00:00
OpenStack Proposal Bot 8de1b78e73 Updated from global requirements
Change-Id: I595defd4531485f5cb4fa6ebf35abbf01b338970
2016-01-18 22:39:43 +00:00
OpenStack Proposal Bot 244b632581 Updated from global requirements
Change-Id: I7eb2209da999017ad170ee52cf79f59b746438c2
2016-01-09 04:53:23 +00:00
OpenStack Proposal Bot f6f1983041 Updated from global requirements
Change-Id: I069c8a6e66794b07444d5a728831a0a708859965
2016-01-05 10:25:14 +00:00
OpenStack Proposal Bot 05754cafe7 Updated from global requirements
Change-Id: Ia3bdbd15adedc63b7dfb78c3a834504fc316674b
2015-12-15 21:23:36 +00:00
Chaozhe.Chen f219519d09 Add keystoneauth1 in requirements
We move to the new keystoneauth1 library, but there is no keystoneauth1
in keystoneclient==1.6.0

Change-Id: I7f4ff7c4ed0d8d14fb3a0ec555a5ba37cf375abd
2015-12-13 18:23:55 +08:00
OpenStack Proposal Bot 23b628df32 Updated from global requirements
Change-Id: I703b9cd1c0af815ab51e5f6ac690f0c09eb90016
2015-12-09 21:54:59 +00:00
OpenStack Proposal Bot 7d714fb975 Updated from global requirements
Change-Id: I61a7765329248127a230616968d3597cccec7ad8
2015-11-27 22:36:25 +00:00
Julien Danjou 867ad8d6ab Remove eventlet usage
This removes entirely our usage of eventlet and its ugly monkey-patching
in favor of a threaded approach.

Implements: remove-eventlet
Change-Id: Ib5f623e2d1ff9e9254601ad091bf5b53ab32000d
2015-11-24 13:44:58 +01:00
Julien Danjou 6bc86f75ea Remove alarming code
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
2015-11-24 13:44:58 +01:00
OpenStack Proposal Bot 88e437c66d Updated from global requirements
Change-Id: I62e4e1a2139c17eca7bc859a5a55ca3b314edfcf
2015-11-19 15:54:50 +00:00
OpenStack Proposal Bot 36fd204872 Updated from global requirements
Change-Id: I9e82e687a80225126d4c1b7952196656780533d9
2015-11-18 22:46:59 +00:00
OpenStack Proposal Bot e5ded45e49 Updated from global requirements
Change-Id: I5f063261d83dc1ef438731e2a4f436b8980bc9a5
2015-11-17 02:25:00 +00:00
OpenStack Proposal Bot 0dd75dbef8 Updated from global requirements
Change-Id: I4cb014c601def629ddd543e6b97d9f4462a6e917
2015-11-13 17:09:30 +00:00