feat: Remove patch for barbican and update policy

1. remove patch for barbican
2. update heat policy
3. update requirements version

Depends-On: https://review.opendev.org/c/openstack/heat/+/812662
Depends-On: https://review.opendev.org/c/openstack/barbican/+/839147
Change-Id: I8f690c7c1e41cd78199de6386e986512edca9259
This commit is contained in:
zhu.boxiang 2022-06-22 21:54:39 +08:00
parent fdd1064ab6
commit e31e466f76
3 changed files with 6 additions and 6 deletions

View File

@ -29,4 +29,4 @@ python-glanceclient>=2.17.1,<=4.0.0 # Apache-2.0
python-neutronclient>=6.14.1,<=7.8.0 # Apache-2.0
python-novaclient>=15.1.1,<=18.0.0 # Apache-2.0
keystoneauth1>=3.17.4,<=4.6.0 # Apache-2.0
oslo.policy>=2.3.4,<=3.12.1 # Apache-2.0
oslo.policy>=2.3.4 # Apache-2.0

View File

@ -159,6 +159,11 @@ list_rules = (
check_str=("rule:project_admin"),
description="No description",
),
base.Rule(
name="resource_types:OS::Neutron::QoSMinimumPacketRateRule",
check_str=("rule:project_admin"),
description="No description",
),
base.Rule(
name="resource_types:OS::Neutron::Segment",
check_str=("rule:project_admin"),

View File

@ -32,8 +32,3 @@ for deprecated_project in ${INSTALL_DEPRECATED_PROJECTS}
do
pip install -U ${deprecated_project}
done
# Patch barbican
# https://review.opendev.org/c/openstack/barbican/+/839147
patch_path="$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')/barbican/common/policies/secrets.py"
sed -i "s/'GET\"'/'GET'/g" $patch_path