blob: 50e644babbcc53d940c8f2a63a1bfaf57bce04ea [file] [log] [blame]
Jiri Broulik8b89df72017-10-26 13:24:29 +02001parameters:
2 jenkins:
3 client:
4 job:
5 ceph-remove-osd:
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)
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*'
43 ENFORCE_CRUSHMAP:
44 type: boolean
45 default: 'false'
46 description: Set to true if the prepared crush map should be enforced
47 WAIT_FOR_PG_REBALANCE:
48 type: boolean
49 default: 'true'
50 description: Wait for PGs to rebalance after osd is removed from crush map
51 WAIT_FOR_HEALTHY:
52 type: boolean
53 default: 'false'
54 description: Wait for healthy during pipeline
55 CLUSTER_FLAGS:
56 type: string
57 description: Flags to be aplied before pipeline and after pipeline (comma-separated list)