blob: 775915f3ec7e61a16b0dee349ac4474578552bbf [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)
Jiri Broulikce45b7a2017-11-28 09:58:21 +010036 JOURNAL_BLOCKDB_BLOCKWAL_PARTITION:
Jiri Broulik8b89df72017-10-26 13:24:29 +020037 type: string
Jiri Broulikce45b7a2017-11-28 09:58:21 +010038 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 +020039 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
Jiri Broulik65d418b2017-11-30 14:19:29 +010047 DMCRYPT:
48 type: boolean
49 default: 'false'
50 description: Check if replacing osds were encrypted
Jiri Broulik8b89df72017-10-26 13:24:29 +020051 CLUSTER_FLAGS:
52 type: string
53 description: Flags to be aplied before pipeline and after pipeline (comma-separated list)