Browse code

lib/tempest: allow tweaking volume-feature-enabled/manage_snapshot

Only a few Cinder backends support the 'manage snapshot' feature. So
we need a feature flag here. Luckily the LVM driver does support this
feature so default the feature flag to True in devstack(/Gate) but
introduce a variable to tweak the config.

Change-Id: Ifcb9f91059f08bdf2faf2a8d65229aba5742ee1c
Depends-On: I77be1cf85a946bf72e852f6378f0d7b43af8023a

Jordan Pittier authored on 2017/01/12 02:45:27
Showing 1 changed files
... ...
@@ -434,6 +434,7 @@ function configure_tempest {
434 434
     iniset $TEMPEST_CONFIG validation network_for_ssh $TEMPEST_SSH_NETWORK_NAME
435 435
 
436 436
     # Volume
437
+    iniset $TEMPEST_CONFIG volume-feature-enabled manage_snapshot $(trueorfalse True TEMPEST_VOLUME_MANAGE_SNAPSHOT)
437 438
     # TODO(ynesenenko): Remove the volume_services flag when Liberty and Kilo will correct work with host info.
438 439
     iniset $TEMPEST_CONFIG volume-feature-enabled volume_services True
439 440
     # TODO(ameade): Remove the api_v3 flag when Mitaka and Liberty are end of life.