Run devstack

Change-Id: Id6cdd73d06332a70bf5355de34a2a5fcaaface32
diff --git a/playbooks/tempest-and-cinderlib-run.yaml b/playbooks/tempest-and-cinderlib-run.yaml
index 59ac2cc..a376c15 100644
--- a/playbooks/tempest-and-cinderlib-run.yaml
+++ b/playbooks/tempest-and-cinderlib-run.yaml
@@ -1,13 +1,16 @@
 - hosts: all
-  tasks:
-    - name: sp-whoami-hostname
-      shell:
-        cmd: hostname
+  roles:
+    - orchestrate-devstack
 
-    - name: sp-whoami-id
-      shell:
-        cmd: id
-
-    - name: sp-whereami-pwd
-      shell:
-        cmd: pwd
+# We run tests only on one node, regardless how many nodes are in the system                                           
+- hosts: tempest                                                                                                       
+  environment:                                                                                                         
+    # This environment variable is used by the optional tempest-gabbi                                                  
+    # job provided by the gabbi-tempest plugin. It can be safely ignored                                               
+    # if that plugin is not being used.                                                                                
+    GABBI_TEMPEST_PATH: "{{ gabbi_tempest_path | default('') }}"                                                       
+  roles:                                                                                                               
+    - setup-tempest-run-dir                                                                                            
+    - setup-tempest-data-dir                                                                                           
+    - acl-devstack-files                                                                                               
+    # - run-tempest
diff --git a/zuul.d/sp-cinder.yaml b/zuul.d/sp-cinder.yaml
index cf0e334..91a4daa 100644
--- a/zuul.d/sp-cinder.yaml
+++ b/zuul.d/sp-cinder.yaml
@@ -1,5 +1,6 @@
 - job:
     name: cinder-storpool-tempest
+    parent: tempest-full
     pre-run: playbooks/sp-init.yaml
     run: playbooks/tempest-and-cinderlib-run.yaml
     post-run: playbooks/sp-cleanup.yaml
@@ -15,6 +16,29 @@
       nodes:
         - name: tempest
           label: centos-base
+    vars:
+      devstack_localrc:
+        CINDER_ENABLED_BACKENDS: storpool:storpool
+        # CINDER_ISCSI_HELPER: tgtadm
+        ENABLE_FILE_INJECTION: false
+        ENABLE_VOLUME_MULTIATTACH: true
+        TEMPEST_CONCURRENCY: 2
+        TEMPEST_EXTEND_ATTACHED_VOLUME: true
+        TEMPEST_PLUGINS: cinder-tempest-plugin
+        TEMPEST_RUN_VALIDATION: false
+        TEMPEST_VOLUME_REVERT_TO_SNAPSHOT: true
+        TEMPEST_VOLUME_VENDOR: StorPool
+        TEMPEST_STORAGE_PROTOCOL: storpool
+        USE_PYTHON3: True
+        # PYTHON3_VERSION: 3.6
+      devstack_local_conf:
+        post-config:
+          $CINDER_CONF:
+            storpool:
+              volume_backend_name: storpool
+              volume_driver: cinder.volume.drivers.storpool.StorPoolDriver
+              storpool_template: virtual
+              # enable_unsupported_driver: true
 
 - project:
     name: openstack/cinder