blob: 775915f3ec7e61a16b0dee349ac4474578552bbf [file] [log] [blame]
parameters:
jenkins:
client:
job:
ceph-replace-failed-osd:
type: workflow-scm
concurrent: true
display_name: "Ceph - replace failed OSD"
discard:
build:
keep_num: 50
scm:
type: git
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
credentials: "gerrit"
script: ceph-replace-failed-osd.groovy
param:
# general parameters
SALT_MASTER_URL:
type: string
description: URL of Salt master
default: "http://${_param:salt_master_host}:6969"
SALT_MASTER_CREDENTIALS:
type: string
description: Credentials for login to Salt API
default: salt
HOST:
type: string
description: Failed OSDs on this HOST will replaced
OSD:
type: string
description: These OSD IDs at HOST will be replaced (comma-separated list - 1,2,3)
DEVICE:
type: string
description: Comma separated list of failed devices that will be replaced at HOST (/dev/sdb,/dev/sdc)
JOURNAL_BLOCKDB_BLOCKWAL_PARTITION:
type: string
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)
ADMIN_HOST:
type: string
description: Host with admin keyring and correct crushmap file in /etc/ceph/crushmap
default: 'cmn01*'
WAIT_FOR_HEALTHY:
type: boolean
default: 'false'
description: Wait for healthy during pipeline
DMCRYPT:
type: boolean
default: 'false'
description: Check if replacing osds were encrypted
CLUSTER_FLAGS:
type: string
description: Flags to be aplied before pipeline and after pipeline (comma-separated list)