Skip to content

Commit

Permalink
Merge pull request #29659 from jan--f/c-v-simple-functional-no-lvm-zap
Browse files Browse the repository at this point in the history
ceph-volume: don't try to test lvm zap on simple tests
  • Loading branch information
jan--f committed Aug 21, 2019
2 parents 11e1c96 + 52fdbe4 commit 88662a4
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 467 deletions.
Expand Up @@ -29,42 +29,3 @@
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
Expand Up @@ -13,42 +13,3 @@
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

Expand Up @@ -29,42 +29,3 @@
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

Expand Up @@ -27,42 +27,3 @@
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

Expand Up @@ -29,42 +29,3 @@
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

Expand Up @@ -29,42 +29,3 @@
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

Expand Up @@ -29,41 +29,3 @@
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
Expand Up @@ -29,42 +29,3 @@
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

Expand Up @@ -29,42 +29,3 @@
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

0 comments on commit 88662a4

Please sign in to comment.