From 62e59cc67d2bc2f4585d345ee5b0209db8e45df5 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Tue, 18 Apr 2017 11:18:36 +0800 Subject: [PATCH] Add the setting log level Increase the setting log level in the synchronization database. Change-Id: I36f0fb16a1f810f37e6d07a6f888adcc9e53612d Closes-Bug: #1683567 --- manifests/db/sync.pp | 1 + spec/classes/keystone_db_sync_spec.rb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/manifests/db/sync.pp b/manifests/db/sync.pp index b65bb2be7..cee869b77 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -28,6 +28,7 @@ class keystone::db::sync( refreshonly => true, try_sleep => 5, tries => 10, + logoutput => on_failure, subscribe => [ Anchor['keystone::install::end'], Anchor['keystone::config::end'], diff --git a/spec/classes/keystone_db_sync_spec.rb b/spec/classes/keystone_db_sync_spec.rb index c0925ba13..619031d4b 100644 --- a/spec/classes/keystone_db_sync_spec.rb +++ b/spec/classes/keystone_db_sync_spec.rb @@ -13,6 +13,7 @@ describe 'keystone::db::sync' do :try_sleep => 5, :tries => 10, :refreshonly => true, + :logoutput => 'on_failure', :subscribe => ['Anchor[keystone::install::end]', 'Anchor[keystone::config::end]', 'Anchor[keystone::dbsync::begin]'], @@ -37,6 +38,7 @@ describe 'keystone::db::sync' do :try_sleep => 5, :tries => 10, :refreshonly => true, + :logoutput => 'on_failure', :subscribe => ['Anchor[keystone::install::end]', 'Anchor[keystone::config::end]', 'Anchor[keystone::dbsync::begin]'],