Commit Graph

249 Commits

Author SHA1 Message Date
Tony Breeds cb8b8f7676 Revert "bump eventlet to latest version that support python 3.12"
This reverts commit c2d0b6584d.

Reason for revert: This is too aggressive and needs wider community consultation.  The constraints change is being reverted.

Please revert ASAP.

Change-Id: I74bc67eb66f19e1eb2ac9d328eefafb7289fc1e7
2024-01-17 23:54:07 +00:00
Hervé Beraud c2d0b6584d
bump eventlet to latest version that support python 3.12
Change-Id: I4d9d5db934739213f07aadedfb590630913640ed
2024-01-17 16:28:44 +01:00
Erik Olof Gunnar Andersson 18540721f4 Switch Senlin to Alembic database migrations
sqlalchemy-migrate is no longer supported and we need to switch
to alembic for database migrations.

Change-Id: I2e51b4027f7af63944b5504ddcf50e9e48818259
2023-03-26 22:47:22 +00:00
Tobias Urdin a6bc01a7f9 Use new get_rpc_client API from oslo.messaging
Use the new API that is consistent with
the existing API instead of instantiating the client
class directly.

This was introduced in release 14.1.0 here [1] and
added into oslo.messaging here [2]

[1] https://review.opendev.org/c/openstack/requirements/+/869340
[2] https://review.opendev.org/c/openstack/oslo.messaging/+/862419

Change-Id: Ibb44b96108ef6029fe693d0765d59aa15570107e
2023-01-21 15:45:44 -08:00
Erik Olof Gunnar Andersson 26c07ef261 Fix support for openstacksdk 0.99
We can no longer use flavor id from server_get and now
always use either flavor name or original_name as a
fallback.

Change-Id: I4e34fe4911abfb3c8ed59104ff67f6a1f27cda24
2022-05-22 15:33:33 -07:00
Ghanshyam Mann b5edbcbb6e [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: I9028875399b54ab961ae46ca13f9cf6e6fc7ad89
2020-12-25 15:39:08 +00:00
Erik Olof Gunnar Andersson b391859cf9 Fixed lower-constraints job and updated constraints
This patch brings some pip packages up to date
and also introduces changes to tox to make sure
that constraints are always respected.

Change-Id: I7f794386b47ae9fd43db2278ee214e015d5b335b
2020-12-15 21:11:30 -08:00
Hervé Beraud 29aa71dab5 Cap jsonschema 3.2.0 as the minimal version
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] https://github.com/Julian/jsonschema/pull/627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: Icacc6d338703ec27cb6a867ef5708ee58f949bbe
2020-05-26 22:13:04 +02:00
qiufossen 27b7b20903 Remove Babel requirement
Babel is not needed as requirement, remove it.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html

Change-Id: Iaa5d5922f2d3ae1f77b988db43b10488d3aa2f08
2020-05-08 18:21:53 +08:00
Adam Harwell 772ab40a9d Bump openstacksdk requirement for Loadbalancers
A recent change to the loadbalancer code requires version 0.42.0 of the
SDK to function.
LB Change:
https://review.opendev.org/#/c/710464/
SDK Patch:
7fbc27e3c0

Change-Id: I02ecf62b17dcfe95142cd7db862e06b26e457593
2020-03-09 10:48:53 -07:00
Erik Olof Gunnar Andersson 5f955f2392 Remove six usage
We no longer need this as we no longer support Python 2.7.

Change-Id: Ifa7119215b0bf65f5ec7ffc30ac87de437428181
2020-01-13 14:22:55 -08:00
10241259 c36f93dd95 Upgrade openstacksdk version to solve connections leak
This patch upgrade openstacksdk version equal or greater than 0.27.0.

Change-Id: I66a81ce710394de3403702d0dec8e8ce804268bc
Closes-Bug: #1809691
2019-04-24 06:43:28 +00:00
Erik Olof Gunnar Andersson f4a00ff076 Uncap jsonschema
The current cap on jsonschema is breaking
the requirements test.

The global cap was removed with this change
https://review.openstack.org/#/c/649669/

Change-Id: I69e127f342eb26c3ce353e1e9ca3365728f27d83
2019-04-22 22:53:52 -07:00
Zuul e2b2b500ad Merge "Bump openstacksdk to 0.24.0" 2019-02-08 06:25:25 +00:00
Duc Truong 8a1e44dfab Bump openstacksdk to 0.24.0
This is needed to pull in the following bug fixes from openstacksdk:
- https://review.openstack.org/#/c/631362/
- https://review.openstack.org/#/c/629110/

Change-Id: I4c2e72f14fb326b56b029ba8c2a90fc0a5dcb528
2019-02-05 17:45:42 +00:00
Erik Olof Gunnar Andersson 7f01ff75ae Add support for Oslo.Reports
Oslo Reports enables OpenStack projects to dump Guru Meditation
Reports with useful debugging information on live services
to files or stderr.

Change-Id: I901a622c470dc191864e33996986f176d40e439d
2019-01-24 00:05:46 -08:00
whoami-rajat f529ffe610 Add senlin-status upgrade check command framework
This adds basic framework for senlin-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.

Change-Id: Ic890a04156abf201ac618ce71ccddcc4544d0acf
Story: 2003657
Task: 26154
2018-11-05 12:20:59 -05:00
Duc Truong 8889c25b64 Bump openstacksdk version to 0.17.2
upper-constraints.txt already has openstacksdk==0.17.2.  This will set
Senlin lower-constraints.txt and requirements.txt to match that version.
The newer version will avoid the unittest failure reported in the bug.

Change-Id: I222f6d05b408656dbbc641d6017ee4ccca5f4379
Closes-Bug: 1789310
2018-09-04 18:39:42 +00:00
Jude Cross 2bb47c1428 Add retry logic to post_lifecycle_hook_message
This patch adds retry logic to post_lifecycle_hook_message
when posting a lifecyle hook to Zaqar. This will make posting
messages to Zaqar more robust in the event Zaqar is unavailable.

Change-Id: I1681cf44a4c0a8bded21d328b9a7fff611355529
2018-06-06 17:13:18 -07:00
Doug Hellmann 27c948aeb7 uncap eventlet
We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

Amend lower constraints according to tools/fix-lower-constraints.py and
removed qpid-python from requirements.txt to fix requirements job.

Change-Id: I47d55fc608ae9890eeb6022aa445b304e0a1b95b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-16 22:50:39 -07:00
OpenStack Proposal Bot dfef55eef9 Updated from global requirements
Change-Id: I6bd2e82b18222e265bb9ce827b200b5b65cfd50e
2018-03-23 20:53:52 +00:00
OpenStack Proposal Bot e7c1677bff Updated from global requirements
Change-Id: I8a3cdf60c504c9696025be1b345dab5ceb57a619
2018-03-14 06:07:12 +00:00
OpenStack Proposal Bot 462a30d15d Updated from global requirements
Change-Id: I8b5ebe864ba15318cfb67af71c845b0f37c4464d
2018-03-04 10:29:54 +00:00
OpenStack Proposal Bot 8a28882b49 Updated from global requirements
Change-Id: If84c00e2fefa80034f32a6afc5a3b90d19e9093e
2018-02-17 10:23:04 +00:00
OpenStack Proposal Bot ae44dc5cac Updated from global requirements
Change-Id: If5979eb60e65600a6ea8cb7e241a307c2c514084
2018-02-14 12:33:08 +00:00
OpenStack Proposal Bot 991c74ddbe Updated from global requirements
Change-Id: I01c529580a3b08af5bb389e1af40a7f7f640547a
2018-02-07 03:13:19 +00:00
OpenStack Proposal Bot 44c97c9da4 Updated from global requirements
Change-Id: I238120664088644bcc282516a63fa72ce53d92e3
2018-01-18 03:34:28 +00:00
OpenStack Proposal Bot 0490078830 Updated from global requirements
Change-Id: I0bcb5471a25f1f5c46daf65522cbbcb71cbc5a0b
2017-12-19 01:48:46 +00:00
OpenStack Proposal Bot d4a9cb8287 Updated from global requirements
Change-Id: I3654746d6b260216ec7d14abae99a174d6fd8c25
2017-12-07 13:49:26 +00:00
OpenStack Proposal Bot cca084d903 Updated from global requirements
Change-Id: I36939a4899cf88f3ccd383b3e0da3786d7af4694
2017-12-05 03:37:09 +00:00
OpenStack Proposal Bot a03514914c Updated from global requirements
Change-Id: Iee476679a72e1bc7e0521278c2b2f71958762462
2017-11-29 09:22:17 +00:00
OpenStack Proposal Bot 04f044a8b2 Updated from global requirements
Change-Id: Id804aac3d81669b37f356689d267e449ea084a40
2017-11-16 11:28:21 +00:00
OpenStack Proposal Bot 057020f572 Updated from global requirements
Change-Id: Ie7979fa620b3aa1375838d6ec1a854902a3faace
2017-11-12 21:21:44 +00:00
OpenStack Proposal Bot b0f7100256 Updated from global requirements
Change-Id: Ia8933b3b65e0d6552958943f4175a4d5ad51010a
2017-11-03 18:09:52 +00:00
OpenStack Proposal Bot a6176569cf Updated from global requirements
Change-Id: Idc95827f74d1f55d0af3a71f94df95fc910427eb
2017-10-15 17:10:14 +00:00
OpenStack Proposal Bot 53e51fbb18 Updated from global requirements
Change-Id: I1b70ceb5f5516319b9476114287be648faaa0882
2017-09-23 06:09:06 +00:00
OpenStack Proposal Bot 5e58e028fb Updated from global requirements
Change-Id: I316cac589ce57f8f57fec1f18cb7231a759dd2d0
2017-09-16 23:25:01 +00:00
OpenStack Proposal Bot 8591aa76dc Updated from global requirements
Change-Id: I818a9ca7c00bc15772a8ba32d09ca659cdcc0823
2017-09-13 13:04:12 +00:00
OpenStack Proposal Bot e21b1e3cd2 Updated from global requirements
Change-Id: I4a9c45a540ccc020acc615d22730402c3b731de0
2017-09-06 03:16:42 +00:00
OpenStack Proposal Bot 1ccebe1ac8 Updated from global requirements
Change-Id: Id96361b81898b012b9e879c7004372592065d3c8
2017-09-01 12:48:19 +00:00
OpenStack Proposal Bot f5f1a48748 Updated from global requirements
Change-Id: Ie00859d5895a003c853a1f6d85714feba3b521d0
2017-08-24 06:01:33 +00:00
OpenStack Proposal Bot f537e47efc Updated from global requirements
Change-Id: Ib8b77eb2b7b5665879ae09018a6f4a306df1b74e
2017-08-22 11:57:32 +00:00
OpenStack Proposal Bot 3108aff185 Updated from global requirements
Change-Id: I109231bd6790b6ef4d44db6e20a99969cefcf251
2017-08-18 04:53:22 +00:00
OpenStack Proposal Bot 08515a55e1 Updated from global requirements
Change-Id: I8f49e659f1bc1f3bf324f855cf17a83207102ce7
2017-07-27 20:34:23 +00:00
OpenStack Proposal Bot 622ebbcfda Updated from global requirements
Change-Id: I7559f90025bf6f5e47c6e111b720a5bd0a96341f
2017-07-25 15:45:01 +00:00
OpenStack Proposal Bot 7dd10ad0fd Updated from global requirements
Change-Id: I49a8ce114bffa7a940e0e651b59456bf2f236cf7
2017-07-22 16:40:12 +00:00
Jenkins 45e9cb28de Merge "Updated from global requirements" 2017-06-25 14:49:57 +00:00
OpenStack Proposal Bot 9cae40125b Updated from global requirements
Change-Id: I0afe5d59eaee20b68057bba784381cf4daaa7e16
2017-06-24 12:16:00 +00:00
Hongbin Lu a54c17fde9 Upgrade from docker-py to docker
The pypi package 'docker-py' [1] has been renamed to 'docker' [2].
It is better to move to the new 'docker' package because the old
package will be deprecated and all the new features will go into
the new package only.

Package 'docker' has been added to requirements [3]. The old
package 'docker-py' is still allowed to be in the global requirements
during the transition period but it should be removed after all or
most of the projects finsih the migration.

[1] https://pypi.python.org/pypi/docker-py
[2] https://pypi.python.org/pypi/docker
[3] https://review.openstack.org/#/c/423715/

Change-Id: I50bea360878ffb2450f08627243b139c241b33e8
2017-06-20 23:14:03 +00:00
OpenStack Proposal Bot 74006fa0af Updated from global requirements
Change-Id: I9178283d9dd2aa8773c1bb0a061c3d3efd5a41a3
2017-06-19 21:14:12 +00:00