Jiri Broulik | d57c952 | 2017-10-30 16:14:47 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
Jiri Broulik | a50d13e | 2017-11-03 15:41:50 +0100 | [diff] [blame^] | 5 | ceph-remove-node: |
Jiri Broulik | d57c952 | 2017-10-30 16:14:47 +0100 | [diff] [blame] | 6 | 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" |
| 15 | credentials: "gerrit" |
| 16 | script: ceph-remove-node.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: OSD HOST that will be removed from Ceph cluster (rgw04*) |
| 30 | default: 'rgw04*' |
| 31 | HOST_TYPE: |
| 32 | type: string |
| 33 | description: Type of Ceph node to be removed. Valid values are mon/osd/rgw |
| 34 | default: 'rgw' |
| 35 | ADMIN_HOST: |
| 36 | type: string |
| 37 | description: Host with admin keyring and access to cluster management |
| 38 | default: 'cmn01*' |
| 39 | GENERATE_CRUSHMAP: |
| 40 | type: boolean |
| 41 | default: 'false' |
| 42 | 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. |
| 43 | WAIT_FOR_HEALTHY: |
| 44 | type: boolean |
| 45 | default: 'false' |
| 46 | description: Wait for healthy during pipeline |