parameters: | |
jenkins: | |
client: | |
job: | |
ceph-remove-node: | |
type: workflow-scm | |
concurrent: true | |
display_name: "Ceph - remove node" | |
discard: | |
build: | |
keep_num: 50 | |
scm: | |
type: git | |
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | |
branch: "${_param:jenkins_pipelines_branch}" | |
credentials: ${_param:jenkins_gerrit_credentials} | |
script: ceph-remove-node.groovy | |
param: | |
# general parameters | |
SALT_MASTER_URL: | |
type: string | |
description: URL of Salt master | |
default: "${_param:jenkins_salt_api_url}" | |
SALT_MASTER_CREDENTIALS: | |
type: string | |
description: Credentials for login to Salt API | |
default: salt | |
HOST: | |
type: string | |
description: HOST to remove from thecluster | |
OSD: | |
type: string | |
description: Remove only those OSDs at HOST (comma-separated list or *). Leave empty if you going to remove a whole osd node. Only relevant with OSD node | |
default: '' | |
OSD_NODE_IS_DOWN: | |
type: boolean | |
description: Remove unavailable (offline) osd node from cluster, provided in HOST parameter | |
default: 'false' | |
CLUSTER_FLAGS: | |
type: string | |
description: Flags to be aplied before pipeline and after pipeline (comma-separated list) | |
WAIT_FOR_HEALTHY: | |
type: boolean | |
default: 'true' | |
description: Wait for healthy during pipeline | |
CLEAN_ORPHANS: | |
type: boolean | |
default: 'false' | |
description: Clean orphaned ceph partition which are no longer part of cluster. Only relevant with osd hosts and required Luminous ceph-disk | |
FAST_WIPE: | |
type: boolean | |
default: 'true' | |
description: Wipe only partition table of each removed disk. Otherwise whole disk will be wiped. Only relevant with osd hosts | |
GENERATE_CRUSHMAP: | |
type: boolean | |
default: 'false' | |
description: Generate new crush map |