Merge "ovn-dbs-bundle: Prepare for supporting new OVN version with separarte run dirs" into stable/train

This commit is contained in:
Zuul 2020-06-16 02:44:24 +00:00 committed by Gerrit Code Review
commit a5fc488ea8
1 changed files with 15 additions and 0 deletions

View File

@ -166,16 +166,31 @@ class tripleo::profile::pacemaker::ovn_dbs_bundle (
'target-dir' => '/run/openvswitch',
'options' => 'rw',
},
'ovn-dbs-new-run-files' => {
'source-dir' => '/var/lib/openvswitch/ovn',
'target-dir' => '/run/ovn',
'options' => 'rw',
},
'ovn-dbs-log-files' => {
'source-dir' => '/var/log/containers/openvswitch',
'target-dir' => '/var/log/openvswitch',
'options' => 'rw',
},
'ovn-dbs-new-log-files' => {
'source-dir' => '/var/log/containers/openvswitch',
'target-dir' => '/var/log/ovn',
'options' => 'rw',
},
'ovn-dbs-db-path' => {
'source-dir' => '/var/lib/openvswitch/ovn',
'target-dir' => '/etc/openvswitch',
'options' => 'rw',
},
'ovn-dbs-new-db-path' => {
'source-dir' => '/var/lib/openvswitch/ovn',
'target-dir' => '/etc/ovn',
'options' => 'rw',
},
}
if (hiera('ovn_dbs_short_node_names_override', undef)) {
$ovn_dbs_short_node_names = hiera('ovn_dbs_short_node_names_override')