blob: f5c9396c5cf3ac6920cb4de1bbec8551ef959223 [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)
Jiri Broulik8b89df72017-10-26 13:24:29 +020034 ADMIN_HOST:
35 type: string
36 description: Host with admin keyring and correct crushmap file in /etc/ceph/crushmap
37 default: 'cmn01*'
Jiri Broulik8b89df72017-10-26 13:24:29 +020038 WAIT_FOR_HEALTHY:
39 type: boolean
Jiri Broulik06df5ab2018-07-11 14:56:21 +020040 default: 'true'
Jiri Broulik8b89df72017-10-26 13:24:29 +020041 description: Wait for healthy during pipeline
Jiri Broulik8b89df72017-10-26 13:24:29 +020042 CLUSTER_FLAGS:
43 type: string
44 description: Flags to be aplied before pipeline and after pipeline (comma-separated list)