updating enable_ceph conditions for controller
- keeping enabled based on ceph node count being greater than 0 - adding enabled if ControllerEnableCephStorage is true Intention here is to be able to run ceph without having dedicated nodes for. Enabling Ceph alternativly from the ControllerEnableCeph parameter allows ceph to be colocated on the controllers without having to run any dedicated ceph nodes. Change-Id: I71062d37226c679156380c0f4e194b51cb586bcf Signed-off-by: Dan Radez <dradez@redhat.com>
This commit is contained in:
parent
5e30128459
commit
a27cca0ec3
@ -43,9 +43,10 @@ parameter_defaults:
|
||||
## OSDs are deployed on dedicated ceph-storage nodes only.
|
||||
# ControllerEnableCephStorage: false
|
||||
|
||||
## When deploying Ceph through the oscplugin CLI, the following
|
||||
## When deploying Ceph Nodes through the oscplugin CLI, the following
|
||||
## parameters are set automatically by the CLI. When deploying via
|
||||
## heat stack-create, they need to be provided manually.
|
||||
## heat stack-create or ceph on the controller nodes only,
|
||||
## they need to be provided manually.
|
||||
|
||||
## Number of Ceph storage nodes to deploy
|
||||
# CephStorageCount: 0
|
||||
|
@ -128,7 +128,7 @@ if hiera('step') >= 2 {
|
||||
# pre-install swift here so we can build rings
|
||||
include ::swift
|
||||
|
||||
$enable_ceph = hiera('ceph_storage_count', 0) > 0
|
||||
$enable_ceph = hiera('ceph_storage_count', 0) > 0 or hiera('enable_ceph_storage', false)
|
||||
|
||||
if $enable_ceph {
|
||||
class { '::ceph::profile::params':
|
||||
|
@ -449,7 +449,7 @@ MYSQL_HOST=localhost\n",
|
||||
include ::swift
|
||||
|
||||
# Ceph
|
||||
$enable_ceph = hiera('ceph_storage_count', 0) > 0
|
||||
$enable_ceph = hiera('ceph_storage_count', 0) > 0 or hiera('enable_ceph_storage', false)
|
||||
|
||||
if $enable_ceph {
|
||||
class { '::ceph::profile::params':
|
||||
|
Loading…
Reference in New Issue
Block a user