summaryrefslogtreecommitdiff
path: root/requirements.txt
diff options
context:
space:
mode:
authorGhanshyam Mann <gmann@ghanshyammann.com>2020-04-06 14:09:11 -0500
committerGhanshyam Mann <gmann@ghanshyammann.com>2020-04-15 02:23:32 +0000
commita2d25f42c0e0fc5cbcb1313e00133163a722885b (patch)
tree6d1709e65ea87ccf00e7046d7d9547cc7d7f0114 /requirements.txt
parent86655fe07f1db2a828f99570f06cb631f70d7728 (diff)
downloadnova-a2d25f42c0e0fc5cbcb1313e00133163a722885b.tar.gz
Use oslo policy flag to disable default change warning instead of all
oslo has new flag to disable the warning for default check_str change and keep logging warning if policy name is changed or it is marked for removal. Policy defaults refresh BP work changed the defaults for all the policy so logging their warning is dangerousa and fill up the log file. Once we switch to new defaults then we can enable them if needed. Logging warning for name change and marked for removal make sense when old rules are override by operator so the new flag does not control those. For policy defaults refresh BP work, we do not have many policies in this category so logging their warning is ok. This commits reset the testing flag 'suppress_deprecation_warnings' default value back to False. Test policy fixture sets that to True to avoid any warnig during tests run. Bumping the oslo policy version where this new flag is present - https://review.opendev.org/#/c/719547/ Partial implement blueprint policy-defaults-refresh Change-Id: Iaa6baf6877890babb6205bdb3ee2e1a2b28ebd9c
Diffstat (limited to 'requirements.txt')
-rw-r--r--requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt
index ec11b519eb..56ab5fb201 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -45,7 +45,7 @@ oslo.utils>=4.1.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>=2.3.0 # Apache-2.0
+oslo.policy>=3.1.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