commit | cfac16a78c8f05ab2a893cf15ebbcdbf9b7d48fb | [log] [tgz] |
---|---|---|
author | Ghanshyam Mann <gmann@ghanshyammann.com> | Sun Jul 26 12:48:10 2020 -0500 |
committer | Ghanshyam Mann <gmann@ghanshyammann.com> | Fri Aug 14 11:49:39 2020 +0000 |
tree | 2df1e4128054b9ce9baf9ade267af73115314a06 | |
parent | 7a69fa081ca18eec487350a8adee6e96e1903a7d [diff] [blame] |
Fix gate for multiple issues 1. To have mock installed for unit tests unit tests jobs use tempest version released in pypi which has use of mock but in recent changed mock requirement is removed from requirements file and it end up failing. - https://zuul.opendev.org/t/openstack/build/c3a33c501c054db9b1eecedb7d4b2c48 Let's add mock into the requirement file to be installed for unit tests job until we bump the min version of tempest to latest. 2. Nova policy granular work https://review.opendev.org/#/q/topic:bp/policy-defaults-refresh-deprecated-apis+(status:open+OR+status:merged) Adding new flag to handle the policy changed in Victoria. Depends-On: https://review.opendev.org/#/c/745158/ Change-Id: I3683cca390b44146c217ce8600f63a9894057058
diff --git a/patrole_tempest_plugin/config.py b/patrole_tempest_plugin/config.py index b087148..41d824d 100644 --- a/patrole_tempest_plugin/config.py +++ b/patrole_tempest_plugin/config.py
@@ -194,7 +194,12 @@ default=True, help="""Are the Nova API policies available in the cloud (e.g. os_compute_api:os-services)? These policies were -changed in Ussuri.""") +changed in Ussuri."""), + cfg.BoolOpt('changed_nova_policies_victoria', + default=True, + help="""Are the Nova deprecated API policies available in the +cloud (e.g. os_compute_api:os-networks)? These policies were +changed in Victoria.""") ]