Jiri Broulik | d57c952 | 2017-10-30 16:14:47 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 5 | ceph-remove-node: |
Jiri Broulik | d57c952 | 2017-10-30 16:14:47 +0100 | [diff] [blame] | 6 | 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 Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 15 | branch: "${_param:jenkins_pipelines_branch}" |
Sergey Galkin | 4cf87b9 | 2019-06-19 17:53:07 +0400 | [diff] [blame] | 16 | credentials: ${_param:jenkins_gerrit_credentials} |
Jiri Broulik | d57c952 | 2017-10-30 16:14:47 +0100 | [diff] [blame] | 17 | 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 Jaroszyk | 09c1edc | 2020-11-24 16:17:08 +0100 | [diff] [blame] | 30 | description: HOST to remove from thecluster |
| 31 | OSD: |
Jiri Broulik | d57c952 | 2017-10-30 16:14:47 +0100 | [diff] [blame] | 32 | type: string |
Tomek Jaroszyk | 09c1edc | 2020-11-24 16:17:08 +0100 | [diff] [blame] | 33 | 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 Egorenko | 5b3ef98 | 2021-03-18 15:45:18 +0400 | [diff] [blame] | 35 | OSD_NODE_IS_DOWN: |
| 36 | type: boolean |
| 37 | description: Remove unavailable (offline) osd node from cluster, provided in HOST parameter |
| 38 | default: 'false' |
Tomek Jaroszyk | 09c1edc | 2020-11-24 16:17:08 +0100 | [diff] [blame] | 39 | CLUSTER_FLAGS: |
Jiri Broulik | d57c952 | 2017-10-30 16:14:47 +0100 | [diff] [blame] | 40 | type: string |
Tomek Jaroszyk | 09c1edc | 2020-11-24 16:17:08 +0100 | [diff] [blame] | 41 | description: Flags to be aplied before pipeline and after pipeline (comma-separated list) |
Jiri Broulik | d57c952 | 2017-10-30 16:14:47 +0100 | [diff] [blame] | 42 | WAIT_FOR_HEALTHY: |
| 43 | type: boolean |
Jiri Broulik | 06df5ab | 2018-07-11 14:56:21 +0200 | [diff] [blame] | 44 | default: 'true' |
Jiri Broulik | d57c952 | 2017-10-30 16:14:47 +0100 | [diff] [blame] | 45 | description: Wait for healthy during pipeline |
Tomek Jaroszyk | 09c1edc | 2020-11-24 16:17:08 +0100 | [diff] [blame] | 46 | CLEAN_ORPHANS: |
Mateusz Los | 7fb7431 | 2020-05-11 13:17:10 +0200 | [diff] [blame] | 47 | type: boolean |
| 48 | default: 'false' |
Tomek Jaroszyk | 09c1edc | 2020-11-24 16:17:08 +0100 | [diff] [blame] | 49 | 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 |