blob: af678b57e77a9f4de7d754c10fd5d643729bda8d [file] [log] [blame]
Jiri Broulikd57c9522017-10-30 16:14:47 +01001parameters:
2 jenkins:
3 client:
4 job:
Jiri Broulika50d13e2017-11-03 15:41:50 +01005 ceph-remove-node:
Jiri Broulikd57c9522017-10-30 16:14:47 +01006 type: workflow-scm
7 concurrent: true
8 display_name: "Ceph - remove node"
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 Broulikd57c9522017-10-30 16:14:47 +010016 credentials: "gerrit"
17 script: ceph-remove-node.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: OSD HOST that will be removed from Ceph cluster (rgw04*)
31 default: 'rgw04*'
32 HOST_TYPE:
33 type: string
34 description: Type of Ceph node to be removed. Valid values are mon/osd/rgw
35 default: 'rgw'
36 ADMIN_HOST:
37 type: string
38 description: Host with admin keyring and access to cluster management
39 default: 'cmn01*'
40 GENERATE_CRUSHMAP:
41 type: boolean
42 default: 'false'
43 description: Only if removing OSD host. Set to true if crush map file should be updated. Enforce has to happen manually unless it is specifically set to be enforced in pillar.
44 WAIT_FOR_HEALTHY:
45 type: boolean
46 default: 'false'
47 description: Wait for healthy during pipeline