blob: 959cbc02121c87330b01c9bccc17510348e1bfa5 [file] [log] [blame]
Jiri Broulikd57c9522017-10-30 16:14:47 +01001parameters:
2 jenkins:
3 client:
4 job:
Jiri Broulika50d13e2017-11-03 15:41:50 +01005 ceph-remove-node:
Jiri Broulikd57c9522017-10-30 16:14:47 +01006 type: workflow-scm
7 concurrent: true
8 display_name: "Ceph - remove node"
9 discard:
10 build:
11 keep_num: 50
12 scm:
13 type: git
14 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
Jakub Josef7938b532017-12-12 18:02:03 +010015 branch: "${_param:jenkins_pipelines_branch}"
Sergey Galkin4cf87b92019-06-19 17:53:07 +040016 credentials: ${_param:jenkins_gerrit_credentials}
Jiri Broulikd57c9522017-10-30 16:14:47 +010017 script: ceph-remove-node.groovy
18 param:
19 # general parameters
20 SALT_MASTER_URL:
21 type: string
22 description: URL of Salt master
23 default: "http://${_param:salt_master_host}:6969"
24 SALT_MASTER_CREDENTIALS:
25 type: string
26 description: Credentials for login to Salt API
27 default: salt
28 HOST:
29 type: string
Tomek Jaroszyk09c1edc2020-11-24 16:17:08 +010030 description: HOST to remove from thecluster
31 OSD:
Jiri Broulikd57c9522017-10-30 16:14:47 +010032 type: string
Tomek Jaroszyk09c1edc2020-11-24 16:17:08 +010033 description: Remove only those OSDs at HOST (comma-separated list or *). Leave empty if you going to remove a whole osd node. Only relevant with OSD node
34 default: ''
Denis Egorenko5b3ef982021-03-18 15:45:18 +040035 OSD_NODE_IS_DOWN:
36 type: boolean
37 description: Remove unavailable (offline) osd node from cluster, provided in HOST parameter
38 default: 'false'
Tomek Jaroszyk09c1edc2020-11-24 16:17:08 +010039 CLUSTER_FLAGS:
Jiri Broulikd57c9522017-10-30 16:14:47 +010040 type: string
Tomek Jaroszyk09c1edc2020-11-24 16:17:08 +010041 description: Flags to be aplied before pipeline and after pipeline (comma-separated list)
Jiri Broulikd57c9522017-10-30 16:14:47 +010042 WAIT_FOR_HEALTHY:
43 type: boolean
Jiri Broulik06df5ab2018-07-11 14:56:21 +020044 default: 'true'
Jiri Broulikd57c9522017-10-30 16:14:47 +010045 description: Wait for healthy during pipeline
Tomek Jaroszyk09c1edc2020-11-24 16:17:08 +010046 CLEAN_ORPHANS:
Mateusz Los7fb74312020-05-11 13:17:10 +020047 type: boolean
48 default: 'false'
Tomek Jaroszyk09c1edc2020-11-24 16:17:08 +010049 description: Clean orphaned ceph partition which are no longer part of cluster. Only relevant with osd hosts and required Luminous ceph-disk
50 FAST_WIPE:
51 type: boolean
52 default: 'true'
53 description: Wipe only partition table of each removed disk. Otherwise whole disk will be wiped. Only relevant with osd hosts
54 GENERATE_CRUSHMAP:
55 type: boolean
56 default: 'false'
57 description: Generate new crush map