Try to get a bit closer to running Cinder jobs regularly
Add a lot of OpenStack projects to the Zuul config.
Reshuffle some diagnostic output in the sp-init playbook.
Run the (still experimental) jobs on the openstack/cinder project,
not the config one.
Run our git-if-needed tool to apply patches to Cinder, os-brick, etc.
Change-Id: I89820ba02da71a8753dca76be976f6e2014cf115
diff --git a/playbooks/sp-init.yaml b/playbooks/sp-init.yaml
index 274c22b..42ceee7 100644
--- a/playbooks/sp-init.yaml
+++ b/playbooks/sp-init.yaml
@@ -1,21 +1,3 @@
-- hosts: all
- tasks:
- - name: sp-whoami-hostname
- shell:
- cmd: hostname
-
- - name: sp-whoami-id
- shell:
- cmd: id
-
- - name: sp-whereami-pwd
- shell:
- cmd: pwd
-
- - name: sp-dump-ansible-facts
- ansible.builtin.debug:
- var: hostvars
-
- hosts: localhost
connection: local
vars:
@@ -38,6 +20,33 @@
shell:
cmd: rm -- '{{ storprep_filename }}'
+ - name: ctrl-sp-processes
+ shell:
+ cmd: ps awwfux
+
+ - name: ctrl-sp-processes-pstree
+ shell:
+ cmd: pstree -l
+
+- hosts: tempest
+ tasks:
+ - name: Apply the StorPool patches
+ shell:
+ cmd: /home/zuul/src/spfactory.storpool.com/sp-osci/tools/bin/git-if-needed -s /home/zuul/src/spfactory.storpool.com/sp-osci/patches/series.experimental -S am
+ chdir: /opt/stack
+ become: true
+ become_user: stack
+
+ - name: Apply the StorPool patches to the other place
+ shell:
+ cmd: /home/zuul/src/spfactory.storpool.com/sp-osci/tools/bin/git-if-needed -s /home/zuul/src/spfactory.storpool.com/sp-osci/patches/series.experimental am
+ chdir: /home/zuul/src/opendev.org
+
+# - name: Set up the random StorPool volume prefix
+# shell:
+# cmd: /home/zuul/src/spfactory.storpool.com/sp-osci/tools/bin/sp_rand_init
+# become: true
+
- hosts: all
tasks:
- name: sp-processes