blob: a342ffbdaacf9b76150fd72cdc5ed5a20323fe15 [file] [log] [blame]
Jiri Broulik8b89df72017-10-26 13:24:29 +02001parameters:
2 jenkins:
3 client:
4 job:
Jiri Broulika50d13e2017-11-03 15:41:50 +01005 ceph-replace-failed-osd:
Jiri Broulik8b89df72017-10-26 13:24:29 +02006 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"
Jakub Josef7938b532017-12-12 18:02:03 +010015 branch: "${_param:jenkins_pipelines_branch}"
Jiri Broulik8b89df72017-10-26 13:24:29 +020016 credentials: "gerrit"
17 script: ceph-replace-failed-osd.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
30 description: Failed OSDs on this HOST will replaced
31 OSD:
32 type: string
33 description: These OSD IDs at HOST will be replaced (comma-separated list - 1,2,3)
34 DEVICE:
35 type: string
36 description: Comma separated list of failed devices that will be replaced at HOST (/dev/sdb,/dev/sdc)
Jiri Broulik06df5ab2018-07-11 14:56:21 +020037 DATA_PARTITION:
38 type: string
39 description: (Optional) Comma separated list of mounted partitions of failed device. These partitions will be unmounted. For ex. /dev/sdb1,/dev/sdb3
Jiri Broulikce45b7a2017-11-28 09:58:21 +010040 JOURNAL_BLOCKDB_BLOCKWAL_PARTITION:
Jiri Broulik8b89df72017-10-26 13:24:29 +020041 type: string
Jiri Broulikce45b7a2017-11-28 09:58:21 +010042 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 Broulik8b89df72017-10-26 13:24:29 +020043 ADMIN_HOST:
44 type: string
45 description: Host with admin keyring and correct crushmap file in /etc/ceph/crushmap
46 default: 'cmn01*'
Jiri Broulik8b89df72017-10-26 13:24:29 +020047 WAIT_FOR_HEALTHY:
48 type: boolean
Jiri Broulik06df5ab2018-07-11 14:56:21 +020049 default: 'true'
Jiri Broulik8b89df72017-10-26 13:24:29 +020050 description: Wait for healthy during pipeline
Jiri Broulik65d418b2017-11-30 14:19:29 +010051 DMCRYPT:
52 type: boolean
53 default: 'false'
54 description: Check if replacing osds were encrypted
Jiri Broulik8b89df72017-10-26 13:24:29 +020055 CLUSTER_FLAGS:
56 type: string
57 description: Flags to be aplied before pipeline and after pipeline (comma-separated list)