summaryrefslogtreecommitdiff
path: root/playbooks
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2019-04-04 15:11:44 +0100
committerStephen Finucane <sfinucan@redhat.com>2019-04-09 17:15:37 +0100
commit7c7798ad5277ce87b124392726a1ec9ed3720f12 (patch)
treed4d613de3774ffee68833df85c3de77745e612bb /playbooks
parentd42a007425d9adb691134137e1e0b7dda356df62 (diff)
downloadnova-7c7798ad5277ce87b124392726a1ec9ed3720f12.tar.gz
Remove cells v1 jobs
We're going to start ripping out cells v1. First step is removing the tests for this soon-to-be-removed feature. Part of blueprint remove-cells-v1 Change-Id: I2031bf2cc914d134e5ed61156d2cfc621f006e0b Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/legacy/nova-cells-v1/post.yaml15
-rw-r--r--playbooks/legacy/nova-cells-v1/run.yaml67
2 files changed, 0 insertions, 82 deletions
diff --git a/playbooks/legacy/nova-cells-v1/post.yaml b/playbooks/legacy/nova-cells-v1/post.yaml
deleted file mode 100644
index e07f5510ae..0000000000
--- a/playbooks/legacy/nova-cells-v1/post.yaml
+++ /dev/null
@@ -1,15 +0,0 @@
-- hosts: primary
- tasks:
-
- - name: Copy files from {{ ansible_user_dir }}/workspace/ on node
- synchronize:
- src: '{{ ansible_user_dir }}/workspace/'
- dest: '{{ zuul.executor.log_root }}'
- mode: pull
- copy_links: true
- verify_host: true
- rsync_opts:
- - --include=/logs/**
- - --include=*/
- - --exclude=*
- - --prune-empty-dirs
diff --git a/playbooks/legacy/nova-cells-v1/run.yaml b/playbooks/legacy/nova-cells-v1/run.yaml
deleted file mode 100644
index 05f8dde19e..0000000000
--- a/playbooks/legacy/nova-cells-v1/run.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-- hosts: all
- name: nova-cells-v1
- tasks:
-
- - name: Ensure legacy workspace directory
- file:
- path: '{{ ansible_user_dir }}/workspace'
- state: directory
-
- - shell:
- cmd: |
- set -e
- set -x
- cat > clonemap.yaml << EOF
- clonemap:
- - name: openstack-infra/devstack-gate
- dest: devstack-gate
- EOF
- /usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
- https://git.openstack.org \
- openstack-infra/devstack-gate
- executable: /bin/bash
- chdir: '{{ ansible_user_dir }}/workspace'
- environment: '{{ zuul | zuul_legacy_vars }}'
-
- # NOTE(mriedem): vif_plugging_timeout depends on the
- # os-server-external-events API which isn't plumbed in for cells v1
- # so we have to disable vif_plugging_timeout. This means servers can
- # go to ACTIVE status before networking is setup in the guest and we
- # can't rely on ssh validation in testing. Some tempest tests might
- # also fail in racy ways, so add them to tempest-dsvm-cells-rc if they
- # do.
- - shell:
- cmd: |
- set -e
- set -x
- cat << 'EOF' >>"/tmp/dg-local.conf"
- [[post-config|$NOVA_CELLS_CONF]]
- [DEFAULT]
- vif_plugging_timeout=0
-
- [[test-config|$TEMPEST_CONFIG]]
- [network-feature-enabled]
- floating_ips=False
-
- EOF
- executable: /bin/bash
- chdir: '{{ ansible_user_dir }}/workspace'
- environment: '{{ zuul | zuul_legacy_vars }}'
-
- - shell:
- cmd: |
- set -e
- set -x
- export PYTHONUNBUFFERED=true
- export DEVSTACK_GATE_TEMPEST=1
- export DEVSTACK_GATE_CELLS=1
-
- # Note that tempest-dsvm-cells-rc sets TEMPEST_RUN_VALIDATION=False
- # so we do not have to set it here.
- export DEVSTACK_GATE_SETTINGS=/opt/stack/new/nova/devstack/tempest-dsvm-cells-rc
-
- cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
- ./safe-devstack-vm-gate-wrap.sh
- executable: /bin/bash
- chdir: '{{ ansible_user_dir }}/workspace'
- environment: '{{ zuul | zuul_legacy_vars }}'