Jiri Broulik | 8b89df7 | 2017-10-26 13:24:29 +0200 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame] | 5 | ceph-replace-failed-osd: |
Jiri Broulik | 8b89df7 | 2017-10-26 13:24:29 +0200 | [diff] [blame] | 6 | type: workflow-scm |
| 7 | concurrent: true |
| 8 | display_name: "Ceph - replace failed OSD" |
| 9 | discard: |
| 10 | build: |
| 11 | keep_num: 50 |
| 12 | scm: |
| 13 | type: git |
| 14 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 15 | credentials: "gerrit" |
| 16 | script: ceph-replace-failed-osd.groovy |
| 17 | param: |
| 18 | # general parameters |
| 19 | SALT_MASTER_URL: |
| 20 | type: string |
| 21 | description: URL of Salt master |
| 22 | default: "http://${_param:salt_master_host}:6969" |
| 23 | SALT_MASTER_CREDENTIALS: |
| 24 | type: string |
| 25 | description: Credentials for login to Salt API |
| 26 | default: salt |
| 27 | HOST: |
| 28 | type: string |
| 29 | description: Failed OSDs on this HOST will replaced |
| 30 | OSD: |
| 31 | type: string |
| 32 | description: These OSD IDs at HOST will be replaced (comma-separated list - 1,2,3) |
| 33 | DEVICE: |
| 34 | type: string |
| 35 | description: Comma separated list of failed devices that will be replaced at HOST (/dev/sdb,/dev/sdc) |
Jiri Broulik | ce45b7a | 2017-11-28 09:58:21 +0100 | [diff] [blame] | 36 | JOURNAL_BLOCKDB_BLOCKWAL_PARTITION: |
Jiri Broulik | 8b89df7 | 2017-10-26 13:24:29 +0200 | [diff] [blame] | 37 | type: string |
Jiri Broulik | ce45b7a | 2017-11-28 09:58:21 +0100 | [diff] [blame] | 38 | description: Comma separated list of partitions where journal, block_db or block_wal for the failed devices on this HOST were stored (/dev/sdh2,/dev/sdh3) |
Jiri Broulik | 8b89df7 | 2017-10-26 13:24:29 +0200 | [diff] [blame] | 39 | ADMIN_HOST: |
| 40 | type: string |
| 41 | description: Host with admin keyring and correct crushmap file in /etc/ceph/crushmap |
| 42 | default: 'cmn01*' |
Jiri Broulik | 8b89df7 | 2017-10-26 13:24:29 +0200 | [diff] [blame] | 43 | WAIT_FOR_HEALTHY: |
| 44 | type: boolean |
| 45 | default: 'false' |
| 46 | description: Wait for healthy during pipeline |
Jiri Broulik | 65d418b | 2017-11-30 14:19:29 +0100 | [diff] [blame] | 47 | DMCRYPT: |
| 48 | type: boolean |
| 49 | default: 'false' |
| 50 | description: Check if replacing osds were encrypted |
Jiri Broulik | 8b89df7 | 2017-10-26 13:24:29 +0200 | [diff] [blame] | 51 | CLUSTER_FLAGS: |
| 52 | type: string |
| 53 | description: Flags to be aplied before pipeline and after pipeline (comma-separated list) |