Disable cephadm when ceph is deployed
After ceph is deployed, which means day1 operations are over
and the Ceph cluster daemons are up && running, cephadm can
be paused by running the 'disable_cephadm' playbook.
This can be triggered at step3 (to ensure all the daemons are
started) and can be triggered by the DisableCephadm exposed
parameter.
Closes-Bug: 1940866
Depends-On: I5952bb8a7a327e37a39acc95751cd5746fd9a41d
Change-Id: Idbafdaced85c945d38940be83c1a269c73e4cb6b
(cherry picked from commit 733d1bad46
)
This commit is contained in:
parent
4d9c933ccf
commit
1b41f26657
|
@ -190,6 +190,7 @@ parameter_defaults:
|
|||
CephMsgrSecureMode: true
|
||||
CephAnsibleSkipClient: false
|
||||
CephConfigPath: "/etc/ceph"
|
||||
DisableCephadm: true
|
||||
LVMFilterEnabled: true
|
||||
LVMFilterAllowlist:
|
||||
- /dev/loop2
|
||||
|
|
|
@ -77,6 +77,7 @@ parameter_defaults:
|
|||
# Workaround for https://bugs.launchpad.net/tripleo/+bug/1911022
|
||||
ExtraConfig:
|
||||
ganesha_vip: 192.168.24.3
|
||||
DisableCephadm: true
|
||||
CephClusterName: ceph0
|
||||
CephConfigPath: "/etc/ceph"
|
||||
CephClientConfigVars: "{{ playbook_dir }}/cephadm/ceph_client.yml"
|
||||
|
|
|
@ -378,6 +378,10 @@ parameters:
|
|||
with haproxy, etc), then this parameter should be set to true. Set this
|
||||
parameter to false to have cephadm deploy the ceph cluster during overcloud
|
||||
deployment. DeployedCeph and CephDynamicSpec are mutually exclusive.
|
||||
DisableCephadm:
|
||||
default: false
|
||||
type: boolean
|
||||
description: Disable cephadm after Ceph is deployed
|
||||
|
||||
parameter_groups:
|
||||
- label: deprecated
|
||||
|
@ -624,6 +628,17 @@ outputs:
|
|||
name: tripleo_run_cephadm
|
||||
when: groups['ceph_mon'] | default([]) | length > 0 or
|
||||
groups['ceph_nfs'] | default([]) | length > 0
|
||||
- name: ceph_base_external_deploy_task
|
||||
when:
|
||||
- (step | int) == 3
|
||||
- {get_param: DisableCephadm}
|
||||
tags:
|
||||
- ceph
|
||||
block:
|
||||
- name: Pause cephadm
|
||||
include_role:
|
||||
name: tripleo_run_cephadm
|
||||
tasks_from: disable_cephadm.yml
|
||||
post_upgrade_tasks:
|
||||
- name: Clean puppet-ceph package
|
||||
when:
|
||||
|
|
Loading…
Reference in New Issue