Disable execution of dbsync for Murano Dashboard

Since Horizon uses memcache as session engine in MOS,
we need to disable execution of dbsync for Murano Dashboard.

Change-Id: I57e03734720e3dd35cdfce6ed628171ac398456a
Closes-Bug: #1527478
This commit is contained in:
Alexey Deryugin 2015-12-31 09:07:48 +03:00
parent 9a8dae5941
commit 3a410e8955
3 changed files with 6 additions and 3 deletions

View File

@ -184,7 +184,7 @@ mod 'ironic',
# Pull in puppet-murano
mod 'murano',
:git => 'https://review.fuel-infra.org/p/puppet-modules/puppet-murano.git',
:ref => '7.0.0-rc4'
:ref => '7.0.0-rc5'
# Pull in richardc-datacat
mod 'datacat',

View File

@ -139,6 +139,7 @@ if $murano_hash['enabled'] {
class { 'murano::dashboard':
repo_url => $repository_url,
sync_db => false,
}
if $murano_plugins and $murano_plugins['glance_artifacts_plugin'] and $murano_plugins['glance_artifacts_plugin']['enabled'] {

View File

@ -178,13 +178,15 @@ describe manifest do
it 'should declare murano::dashboard class correctly' do
should contain_class('murano::dashboard').with(
'api_url' => nil,
'repo_url' => repository_url
'api_url' => nil,
'repo_url' => repository_url,
'sync_db' => false,
)
end
it { should_not contain_concat__fragment('murano_dashboard_section').with_content(/MURANO_API_URL = /)}
it { should contain_concat__fragment('murano_dashboard_section').with_content(/METADATA_CACHE_DIR = '\/var\/cache\/murano-dashboard'/)}
it { should_not contain_exec('django_syncdb') }
enable = (Noop.hiera_structure('murano/enabled') and Noop.hiera('role') == 'primary-controller')