blob: 1f5a4ec225835adf761ea51ab93560ff538c1d36 [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 Galkinef9eabf2019-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
Alexandr Lovtsov6afd7bd2019-02-27 16:24:40 +030023 default: "${_param:jenkins_salt_api_url}"
Jiri Broulikd57c9522017-10-30 16:14:47 +010024 SALT_MASTER_CREDENTIALS:
25 type: string
26 description: Credentials for login to Salt API
27 default: salt
28 HOST:
29 type: string
Tomek Jaroszyk28dc7d42020-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 Jaroszyk28dc7d42020-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: ''
35 CLUSTER_FLAGS:
Jiri Broulikd57c9522017-10-30 16:14:47 +010036 type: string
Tomek Jaroszyk28dc7d42020-11-24 16:17:08 +010037 description: Flags to be aplied before pipeline and after pipeline (comma-separated list)
Jiri Broulikd57c9522017-10-30 16:14:47 +010038 WAIT_FOR_HEALTHY:
39 type: boolean
Jiri Broulik06df5ab2018-07-11 14:56:21 +020040 default: 'true'
Jiri Broulikd57c9522017-10-30 16:14:47 +010041 description: Wait for healthy during pipeline
Tomek Jaroszyk28dc7d42020-11-24 16:17:08 +010042 CLEAN_ORPHANS:
Mateusz Los9dd4d112020-05-11 13:17:10 +020043 type: boolean
44 default: 'false'
Tomek Jaroszyk28dc7d42020-11-24 16:17:08 +010045 description: Clean orphaned ceph partition which are no longer part of cluster. Only relevant with osd hosts and required Luminous ceph-disk
46 FAST_WIPE:
47 type: boolean
48 default: 'true'
49 description: Wipe only partition table of each removed disk. Otherwise whole disk will be wiped. Only relevant with osd hosts
50 GENERATE_CRUSHMAP:
51 type: boolean
52 default: 'false'
53 description: Generate new crush map