aboutsummaryrefslogtreecommitdiffstats
path: root/controller.yaml
diff options
context:
space:
mode:
authorYanis Guenane <yanis.guenane@enovance.com>2015-07-13 09:12:51 +0200
committerYanis Guenane <yguenane@redhat.com>2015-07-13 10:29:38 +0200
commite0ed4b315a5e12703a1e1dfc538863425e6ab81e (patch)
tree74ae70984e81c2c220e67b540f2a044c83834d4f /controller.yaml
parentb7400f95a4c185c6c1b3294c11af828d799939d0 (diff)
Allow a user to disable MongoDB journaling
By default MongoDB enables a journaling system that prevents loss of data in case of an unexpected shut-down. When journaling is enabled, MongoDB will create the journal files before actually starting the daemon[1]. The journaling feature is useful in production environment, but not really on a CI-like system, where we only want to make sure MongoDB is setup correctly and running, hence here we allow a user to enable/disable MongoDB journaling. [1] http://docs.mongodb.org/manual/core/journaling/ Change-Id: I0e4e65af9f650c10fdf5155ff709b4eb984cf4e1 Closes-bug: #1468246
Diffstat (limited to 'controller.yaml')
-rw-r--r--controller.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/controller.yaml b/controller.yaml
index a22bb838..3990c0aa 100644
--- a/controller.yaml
+++ b/controller.yaml
@@ -365,6 +365,10 @@ parameters:
description: The password for the nova service and db account, used by nova-api.
type: string
hidden: true
+ MongoDbNoJournal:
+ default: false
+ description: Should MongoDb journaling be disabled
+ type: boolean
NtpServer:
type: string
default: ''
@@ -673,6 +677,8 @@ resources:
host: {get_input: controller_virtual_ip}
metadata-proxy: true
service-password: {get_input: nova_password}
+ mongodb:
+ nojournal: {get_input: mongodb_no_journal}
rabbit:
host: {get_input: controller_virtual_ip}
username: {get_input: rabbit_username}
@@ -868,6 +874,7 @@ resources:
- '@'
- {get_param: VirtualIP}
- '/keystone'
+ mongodb_no_journal: {get_param: MongoDbNoJournal}
mysql_innodb_buffer_pool_size: {get_param: MysqlInnodbBufferPoolSize}
mysql_root_password: {get_param: MysqlRootPassword}
mysql_cluster_name: