blob: 43c2f0bfb5122ef4bb62ea662ef9bc6430d5122d [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 Broulikce45b7a2017-11-28 09:58:21 +010037 JOURNAL_BLOCKDB_BLOCKWAL_PARTITION:
Jiri Broulik8b89df72017-10-26 13:24:29 +020038 type: string
Jiri Broulikce45b7a2017-11-28 09:58:21 +010039 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 +020040 ADMIN_HOST:
41 type: string
42 description: Host with admin keyring and correct crushmap file in /etc/ceph/crushmap
43 default: 'cmn01*'
Jiri Broulik8b89df72017-10-26 13:24:29 +020044 WAIT_FOR_HEALTHY:
45 type: boolean
46 default: 'false'
47 description: Wait for healthy during pipeline
Jiri Broulik65d418b2017-11-30 14:19:29 +010048 DMCRYPT:
49 type: boolean
50 default: 'false'
51 description: Check if replacing osds were encrypted
Jiri Broulik8b89df72017-10-26 13:24:29 +020052 CLUSTER_FLAGS:
53 type: string
54 description: Flags to be aplied before pipeline and after pipeline (comma-separated list)