blob: 57081ec3b9eca269eb195140e48e7d5462f424e4 [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"
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)
36 JOURNAL_OR_BLOCKDB_PARTITION:
37 type: string
38 description: Comma separated list of partitions where journal or block_db for the failed devices on this HOST were stored (/dev/sdh2,/dev/sdh3)
39 ADMIN_HOST:
40 type: string
41 description: Host with admin keyring and correct crushmap file in /etc/ceph/crushmap
42 default: 'cmn01*'
Jiri Broulik8b89df72017-10-26 13:24:29 +020043 WAIT_FOR_HEALTHY:
44 type: boolean
45 default: 'false'
46 description: Wait for healthy during pipeline
47 CLUSTER_FLAGS:
48 type: string
49 description: Flags to be aplied before pipeline and after pipeline (comma-separated list)