diff options
author | Ghanshyam Mann <gmann@ghanshyammann.com> | 2020-11-19 18:44:47 -0600 |
---|---|---|
committer | Ghanshyam <gmann@ghanshyammann.com> | 2021-01-14 22:41:33 +0000 |
commit | a72ace1c6c67ab1f5318a39638ba718c81307726 (patch) | |
tree | 977dc5d07468274c1df7357416b4ab945f158251 /requirements.txt | |
parent | 7527fdf6eafe47f0f783e9cdae8b79b76d6ca6b3 (diff) | |
download | nova-a72ace1c6c67ab1f5318a39638ba718c81307726.tar.gz |
Reuse code from oslo lib for JSON policy migration
In Victoria cycle, we migrated the JSON formatted policy file to YAML
- https://review.opendev.org/#/c/748059/
Which added the upgrade check and policy fallback logic to select
the default JSON file if exist.
In Wallaby cycle, this work is defined as community wide goal
- https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
and common part of 1. upgrade check 2. policy fallback logic is moved
from nova to oslo.upgradechecks and oslo.policy respectively.
- oslo.upgradechecks(1.3.0): https://review.opendev.org/#/c/763484/
- oslo.policy(3.6.0): https://review.opendev.org/#/c/763261/
This commit make use these code form oslo lib.
Change-Id: I1a8bc19b77abdcb6867eb61fe6ea1945142b32d2
Diffstat (limited to 'requirements.txt')
-rw-r--r-- | requirements.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/requirements.txt b/requirements.txt index 0db846c948..9ccccc1468 100644 --- a/requirements.txt +++ b/requirements.txt @@ -38,12 +38,12 @@ oslo.context>=2.22.0 # Apache-2.0 oslo.log>=3.36.0 # Apache-2.0 oslo.reports>=1.18.0 # Apache-2.0 oslo.serialization!=2.19.1,>=2.21.1 # Apache-2.0 -oslo.upgradecheck>=0.1.1 +oslo.upgradecheck>=1.3.0 oslo.utils>=4.7.0 # Apache-2.0 oslo.db>=4.44.0 # Apache-2.0 oslo.rootwrap>=5.8.0 # Apache-2.0 oslo.messaging>=10.3.0 # Apache-2.0 -oslo.policy>=3.4.0 # Apache-2.0 +oslo.policy>=3.6.0 # Apache-2.0 oslo.privsep>=1.33.2 # Apache-2.0 oslo.i18n>=3.15.3 # Apache-2.0 oslo.service>=1.40.1 # Apache-2.0 @@ -70,4 +70,4 @@ zVMCloudConnector>=1.3.0;sys_platform!='win32' # Apache 2.0 License futurist>=1.8.0 # Apache-2.0 openstacksdk>=0.35.0 # Apache-2.0 dataclasses>=0.7;python_version=='3.6' # Apache 2.0 License -PyYAML>=3.13 # MIT +PyYAML>=5.1 # MIT |