fuel-library/deployment/puppet/osnailyfacter/modular/astute/enable_cinder.pp
Bogdan Dobrelya ca54e745d5 Manage new compute/cinder services state
* When deploying or scaling an Openstack environment,
  disable all of the nova-compute/cinder-volume services and use
  a separate post-deploy tasks to re-enable them back.
  That should be done to prohibit nova/cinder schedulers to assign
  tasks for compute/cinder nodes until the deployment or scaling
  is finished.
  (Note, that nova-computes fix may be re-implemented later with
  host-aggregates)

* Add enable_volumes parameter (default true) for openstack::cinder

DocImpact
Related blueprint disable-new-computes
Closes-bug: #1398817

Change-Id: Ia63d043753693360a008ec89924cdcdd93c007f3
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-04-10 13:35:07 +02:00

11 lines
197 B
Puppet

include cinder::params
$volume_service = $::cinder::params::volume_service
service { $volume_service:
ensure => running,
enable => true,
hasstatus => true,
hasrestart => true,
}