]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: don't try to test lvm zap on simple tests 29660/head
authorJan Fajerski <jfajerski@suse.com>
Wed, 14 Aug 2019 12:36:58 +0000 (14:36 +0200)
committerJan Fajerski <jfajerski@suse.com>
Fri, 16 Aug 2019 11:48:46 +0000 (13:48 +0200)
Fixes: https://tracker.ceph.com/issues/41245
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit 081109859a06f1b2ff6652dce07da4ddf6fb258e)

12 files changed:
src/ceph-volume/ceph_volume/tests/functional/simple/centos7/bluestore/activate/test.yml
src/ceph-volume/ceph_volume/tests/functional/simple/centos7/bluestore/dmcrypt-luks/test.yml
src/ceph-volume/ceph_volume/tests/functional/simple/centos7/bluestore/dmcrypt-plain/test.yml
src/ceph-volume/ceph_volume/tests/functional/simple/centos7/filestore/activate/test.yml
src/ceph-volume/ceph_volume/tests/functional/simple/centos7/filestore/dmcrypt-luks/test.yml
src/ceph-volume/ceph_volume/tests/functional/simple/centos7/filestore/dmcrypt-plain/test.yml
src/ceph-volume/ceph_volume/tests/functional/simple/xenial/bluestore/activate/test.yml
src/ceph-volume/ceph_volume/tests/functional/simple/xenial/bluestore/dmcrypt-luks/test.yml
src/ceph-volume/ceph_volume/tests/functional/simple/xenial/bluestore/dmcrypt-plain/test.yml
src/ceph-volume/ceph_volume/tests/functional/simple/xenial/filestore/activate/test.yml
src/ceph-volume/ceph_volume/tests/functional/simple/xenial/filestore/dmcrypt-luks/test.yml
src/ceph-volume/ceph_volume/tests/functional/simple/xenial/filestore/dmcrypt-plain/test.yml

index 65dba09a8fb5a4c307706e55da9034b6c56809fc..24e2c0353c942e831f8ea6abebb4d348d889c627 100644 (file)
         CEPH_VOLUME_DEBUG: 1
       with_items:
         - "{{ osd_configs.files }}"
-
-
-# zap tests
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: stop ceph-osd daemons
-      service:
-        name: "ceph-osd@{{ item }}"
-        state: stopped
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: mons
-  become: yes
-  tasks:
-
-    - name: purge osds
-      command: "ceph --cluster {{ cluster }} osd purge osd.{{ item }} --yes-i-really-mean-it"
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: zap devices used for OSDs
-      command: "ceph-volume --cluster {{ cluster }} lvm zap --osd-id {{ item }} --destroy"
-      with_items:
-        - "0"
-        - "1"
-      environment:
-        CEPH_VOLUME_DEBUG: 1
index 44bbf38d7be9e0a3c8a6f2988774abaf9a8ff659..55ae7cc8eb943ffb384d6a5dd85c2f6e14ab0010 100644 (file)
       command: "ceph-volume --cluster={{ cluster }} simple activate --all"
       environment:
         CEPH_VOLUME_DEBUG: 1
-
-# zap tests
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: stop ceph-osd daemons
-      service:
-        name: "ceph-osd@{{ item }}"
-        state: stopped
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: mons
-  become: yes
-  tasks:
-
-    - name: purge osds
-      command: "ceph --cluster {{ cluster }} osd purge osd.{{ item }} --yes-i-really-mean-it"
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: zap devices used for OSDs
-      command: "ceph-volume --cluster {{ cluster }} lvm zap --osd-id {{ item }} --destroy"
-      with_items:
-        - "0"
-        - "1"
-      environment:
-        CEPH_VOLUME_DEBUG: 1
-
index f58d690cb04c6552a019b3d6085470f460d6992d..24e2c0353c942e831f8ea6abebb4d348d889c627 100644 (file)
         CEPH_VOLUME_DEBUG: 1
       with_items:
         - "{{ osd_configs.files }}"
-
-# zap tests
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: stop ceph-osd daemons
-      service:
-        name: "ceph-osd@{{ item }}"
-        state: stopped
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: mons
-  become: yes
-  tasks:
-
-    - name: purge osds
-      command: "ceph --cluster {{ cluster }} osd purge osd.{{ item }} --yes-i-really-mean-it"
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: zap devices used for OSDs
-      command: "ceph-volume --cluster {{ cluster }} lvm zap --osd-id {{ item }} --destroy"
-      with_items:
-        - "0"
-        - "1"
-      environment:
-        CEPH_VOLUME_DEBUG: 1
-
index 2947a9bff3033635bb18a28132870326efd91c25..0745f2571ff5f503c56af09cefd6c65e6a91d5f3 100644 (file)
       command: "ceph-volume --cluster={{ cluster }} simple activate --all"
       environment:
         CEPH_VOLUME_DEBUG: 1
-
-# zap tests
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: stop ceph-osd daemons
-      service:
-        name: "ceph-osd@{{ item }}"
-        state: stopped
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: mons
-  become: yes
-  tasks:
-
-    - name: purge osds
-      command: "ceph --cluster {{ cluster }} osd purge osd.{{ item }} --yes-i-really-mean-it"
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: zap devices used for OSDs
-      command: "ceph-volume --cluster {{ cluster }} lvm zap --osd-id {{ item }} --destroy"
-      with_items:
-        - "0"
-        - "1"
-      environment:
-        CEPH_VOLUME_DEBUG: 1
-
index f58d690cb04c6552a019b3d6085470f460d6992d..24e2c0353c942e831f8ea6abebb4d348d889c627 100644 (file)
         CEPH_VOLUME_DEBUG: 1
       with_items:
         - "{{ osd_configs.files }}"
-
-# zap tests
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: stop ceph-osd daemons
-      service:
-        name: "ceph-osd@{{ item }}"
-        state: stopped
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: mons
-  become: yes
-  tasks:
-
-    - name: purge osds
-      command: "ceph --cluster {{ cluster }} osd purge osd.{{ item }} --yes-i-really-mean-it"
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: zap devices used for OSDs
-      command: "ceph-volume --cluster {{ cluster }} lvm zap --osd-id {{ item }} --destroy"
-      with_items:
-        - "0"
-        - "1"
-      environment:
-        CEPH_VOLUME_DEBUG: 1
-
index f58d690cb04c6552a019b3d6085470f460d6992d..24e2c0353c942e831f8ea6abebb4d348d889c627 100644 (file)
         CEPH_VOLUME_DEBUG: 1
       with_items:
         - "{{ osd_configs.files }}"
-
-# zap tests
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: stop ceph-osd daemons
-      service:
-        name: "ceph-osd@{{ item }}"
-        state: stopped
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: mons
-  become: yes
-  tasks:
-
-    - name: purge osds
-      command: "ceph --cluster {{ cluster }} osd purge osd.{{ item }} --yes-i-really-mean-it"
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: zap devices used for OSDs
-      command: "ceph-volume --cluster {{ cluster }} lvm zap --osd-id {{ item }} --destroy"
-      with_items:
-        - "0"
-        - "1"
-      environment:
-        CEPH_VOLUME_DEBUG: 1
-
index dad0b3d55972a83d7220e6b943b9dca3ea5b2f04..24e2c0353c942e831f8ea6abebb4d348d889c627 100644 (file)
         CEPH_VOLUME_DEBUG: 1
       with_items:
         - "{{ osd_configs.files }}"
-
-# zap tests
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: stop ceph-osd daemons
-      service:
-        name: "ceph-osd@{{ item }}"
-        state: stopped
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: mons
-  become: yes
-  tasks:
-
-    - name: purge osds
-      command: "ceph --cluster {{ cluster }} osd purge osd.{{ item }} --yes-i-really-mean-it"
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: zap devices used for OSDs
-      command: "ceph-volume --cluster {{ cluster }} lvm zap --osd-id {{ item }} --destroy"
-      with_items:
-        - "0"
-        - "1"
-      environment:
-        CEPH_VOLUME_DEBUG: 1
index f58d690cb04c6552a019b3d6085470f460d6992d..24e2c0353c942e831f8ea6abebb4d348d889c627 100644 (file)
         CEPH_VOLUME_DEBUG: 1
       with_items:
         - "{{ osd_configs.files }}"
-
-# zap tests
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: stop ceph-osd daemons
-      service:
-        name: "ceph-osd@{{ item }}"
-        state: stopped
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: mons
-  become: yes
-  tasks:
-
-    - name: purge osds
-      command: "ceph --cluster {{ cluster }} osd purge osd.{{ item }} --yes-i-really-mean-it"
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: zap devices used for OSDs
-      command: "ceph-volume --cluster {{ cluster }} lvm zap --osd-id {{ item }} --destroy"
-      with_items:
-        - "0"
-        - "1"
-      environment:
-        CEPH_VOLUME_DEBUG: 1
-
index f58d690cb04c6552a019b3d6085470f460d6992d..24e2c0353c942e831f8ea6abebb4d348d889c627 100644 (file)
         CEPH_VOLUME_DEBUG: 1
       with_items:
         - "{{ osd_configs.files }}"
-
-# zap tests
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: stop ceph-osd daemons
-      service:
-        name: "ceph-osd@{{ item }}"
-        state: stopped
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: mons
-  become: yes
-  tasks:
-
-    - name: purge osds
-      command: "ceph --cluster {{ cluster }} osd purge osd.{{ item }} --yes-i-really-mean-it"
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: zap devices used for OSDs
-      command: "ceph-volume --cluster {{ cluster }} lvm zap --osd-id {{ item }} --destroy"
-      with_items:
-        - "0"
-        - "1"
-      environment:
-        CEPH_VOLUME_DEBUG: 1
-
index 44bbf38d7be9e0a3c8a6f2988774abaf9a8ff659..55ae7cc8eb943ffb384d6a5dd85c2f6e14ab0010 100644 (file)
       command: "ceph-volume --cluster={{ cluster }} simple activate --all"
       environment:
         CEPH_VOLUME_DEBUG: 1
-
-# zap tests
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: stop ceph-osd daemons
-      service:
-        name: "ceph-osd@{{ item }}"
-        state: stopped
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: mons
-  become: yes
-  tasks:
-
-    - name: purge osds
-      command: "ceph --cluster {{ cluster }} osd purge osd.{{ item }} --yes-i-really-mean-it"
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: zap devices used for OSDs
-      command: "ceph-volume --cluster {{ cluster }} lvm zap --osd-id {{ item }} --destroy"
-      with_items:
-        - "0"
-        - "1"
-      environment:
-        CEPH_VOLUME_DEBUG: 1
-
index f58d690cb04c6552a019b3d6085470f460d6992d..24e2c0353c942e831f8ea6abebb4d348d889c627 100644 (file)
         CEPH_VOLUME_DEBUG: 1
       with_items:
         - "{{ osd_configs.files }}"
-
-# zap tests
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: stop ceph-osd daemons
-      service:
-        name: "ceph-osd@{{ item }}"
-        state: stopped
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: mons
-  become: yes
-  tasks:
-
-    - name: purge osds
-      command: "ceph --cluster {{ cluster }} osd purge osd.{{ item }} --yes-i-really-mean-it"
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: zap devices used for OSDs
-      command: "ceph-volume --cluster {{ cluster }} lvm zap --osd-id {{ item }} --destroy"
-      with_items:
-        - "0"
-        - "1"
-      environment:
-        CEPH_VOLUME_DEBUG: 1
-
index f58d690cb04c6552a019b3d6085470f460d6992d..24e2c0353c942e831f8ea6abebb4d348d889c627 100644 (file)
         CEPH_VOLUME_DEBUG: 1
       with_items:
         - "{{ osd_configs.files }}"
-
-# zap tests
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: stop ceph-osd daemons
-      service:
-        name: "ceph-osd@{{ item }}"
-        state: stopped
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: mons
-  become: yes
-  tasks:
-
-    - name: purge osds
-      command: "ceph --cluster {{ cluster }} osd purge osd.{{ item }} --yes-i-really-mean-it"
-      with_items:
-        - "0"
-        - "1"
-
-
-- hosts: osds
-  become: yes
-  tasks:
-
-    - name: zap devices used for OSDs
-      command: "ceph-volume --cluster {{ cluster }} lvm zap --osd-id {{ item }} --destroy"
-      with_items:
-        - "0"
-        - "1"
-      environment:
-        CEPH_VOLUME_DEBUG: 1
-