diff options
author | Tim Rozet <trozet@redhat.com> | 2016-02-02 23:58:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-02-02 23:58:31 +0000 |
commit | 2e9d5a078b93fe17d47454c3e7cee4874df30428 (patch) | |
tree | 75e60ef7844408425be600196bacaec79d466a50 /build | |
parent | e668755fc81c7f15d27ac5ef3ffc17d6b58c876b (diff) | |
parent | f8d0c128851d885a933331075ead5dbaa0173d0c (diff) |
Merge "Move aodh to mongodb" into stable/brahmaputra
Diffstat (limited to 'build')
-rw-r--r-- | build/opnfv-tripleo-heat-templates.patch | 72 |
1 files changed, 44 insertions, 28 deletions
diff --git a/build/opnfv-tripleo-heat-templates.patch b/build/opnfv-tripleo-heat-templates.patch index 47e39bc2..c9a10933 100644 --- a/build/opnfv-tripleo-heat-templates.patch +++ b/build/opnfv-tripleo-heat-templates.patch @@ -1,4 +1,4 @@ -From c74ab53470e79a22e3f411c81ab1dce072d44908 Mon Sep 17 00:00:00 2001 +From 966d6b67fa0452bffb01f0d7a4c4935f82f84c5b Mon Sep 17 00:00:00 2001 From: Tim Rozet <tdrozet@gmail.com> Date: Tue, 12 Jan 2016 16:49:57 -0500 Subject: [PATCH] Adds current opnfv patch with ODL and ONOS support @@ -19,10 +19,10 @@ Subject: [PATCH] Adds current opnfv patch with ODL and ONOS support puppet/hieradata/controller.yaml | 3 + puppet/manifests/overcloud_compute.pp | 31 +- puppet/manifests/overcloud_controller.pp | 128 +++++- - puppet/manifests/overcloud_controller_pacemaker.pp | 434 ++++++++++++++------- + puppet/manifests/overcloud_controller_pacemaker.pp | 444 ++++++++++++++------- puppet/manifests/overcloud_opendaylight.pp | 27 ++ puppet/opendaylight-puppet.yaml | 223 +++++++++++ - 18 files changed, 1054 insertions(+), 160 deletions(-) + 18 files changed, 1063 insertions(+), 161 deletions(-) create mode 100644 environments/onos.yaml create mode 100644 environments/opendaylight-external.yaml create mode 100644 environments/opendaylight.yaml @@ -1045,7 +1045,7 @@ index 1f6c2be..1095758 100644 include ::heat include ::heat::api diff --git a/puppet/manifests/overcloud_controller_pacemaker.pp b/puppet/manifests/overcloud_controller_pacemaker.pp -index 3fb92f3..42b9f06 100644 +index 3fb92f3..774f323 100644 --- a/puppet/manifests/overcloud_controller_pacemaker.pp +++ b/puppet/manifests/overcloud_controller_pacemaker.pp @@ -380,6 +380,21 @@ if hiera('step') >= 2 { @@ -1185,10 +1185,31 @@ index 3fb92f3..42b9f06 100644 } neutron_dhcp_agent_config { 'DEFAULT/ovs_use_veth': value => hiera('neutron_ovs_use_veth', false); -@@ -879,6 +949,28 @@ if hiera('step') >= 3 { +@@ -813,13 +883,13 @@ if hiera('step') >= 3 { + swift::storage::filter::healthcheck { $swift_components : } + } + ++ $mongo_node_string = join($mongo_node_ips_with_port, ',') + # Ceilometer + case downcase(hiera('ceilometer_backend')) { + /mysql/: { + $ceilometer_database_connection = hiera('ceilometer_mysql_conn_string') + } + default: { +- $mongo_node_string = join($mongo_node_ips_with_port, ',') + $ceilometer_database_connection = "mongodb://${mongo_node_string}/ceilometer?replicaSet=${mongodb_replset}" + } + } +@@ -879,6 +949,62 @@ if hiera('step') >= 3 { enabled => false, } ++ $aodh_database_connection = "mongodb://${mongo_node_string}/aodh?replicaSet=${mongodb_replset}" ++ ++ class { '::aodh::db': ++ database_connection => $aodh_database_connection ++ } ++ + # Aodh + include ::aodh + include ::aodh::config @@ -1211,13 +1232,6 @@ index 3fb92f3..42b9f06 100644 + enabled => false, + } + - # httpd/apache and horizon - # NOTE(gfidente): server-status can be consumed by the pacemaker resource agent - class { '::apache' : -@@ -914,6 +1006,32 @@ if hiera('step') >= 3 { - if hiera('step') >= 4 { - include ::keystone::cron::token_flush - + $event_pipeline = "--- +sources: + - name: event_source @@ -1244,10 +1258,12 @@ index 3fb92f3..42b9f06 100644 + groups => 'nobody' + } + - if $pacemaker_master { - - # Keystone -@@ -1055,62 +1173,21 @@ if hiera('step') >= 4 { ++ ++ + # httpd/apache and horizon + # NOTE(gfidente): server-status can be consumed by the pacemaker resource agent + class { '::apache' : +@@ -1055,62 +1181,21 @@ if hiera('step') >= 4 { clone_params => 'interleave=true', require => Pacemaker::Resource::Service[$::keystone::params::service_name], } @@ -1314,7 +1330,7 @@ index 3fb92f3..42b9f06 100644 pacemaker::constraint::base { 'keystone-to-neutron-server-constraint': constraint_type => 'order', first_resource => "${::keystone::params::service_name}-clone", -@@ -1120,65 +1197,110 @@ if hiera('step') >= 4 { +@@ -1120,65 +1205,110 @@ if hiera('step') >= 4 { require => [Pacemaker::Resource::Service[$::keystone::params::service_name], Pacemaker::Resource::Service[$::neutron::params::server_service]], } @@ -1481,7 +1497,7 @@ index 3fb92f3..42b9f06 100644 # Nova pacemaker::resource::service { $::nova::params::api_service_name : clone_params => 'interleave=true', -@@ -1276,7 +1398,7 @@ if hiera('step') >= 4 { +@@ -1276,7 +1406,7 @@ if hiera('step') >= 4 { Pacemaker::Resource::Service[$::nova::params::conductor_service_name]], } @@ -1490,21 +1506,21 @@ index 3fb92f3..42b9f06 100644 case downcase(hiera('ceilometer_backend')) { /mysql/: { pacemaker::resource::service { $::ceilometer::params::agent_central_service_name : -@@ -1298,10 +1420,19 @@ if hiera('step') >= 4 { +@@ -1298,10 +1428,19 @@ if hiera('step') >= 4 { pacemaker::resource::service { $::ceilometer::params::api_service_name : clone_params => 'interleave=true', } - pacemaker::resource::service { $::ceilometer::params::alarm_evaluator_service_name : + pacemaker::resource::service { $::aodh::params::notifier_service_name : - clone_params => 'interleave=true', - } -- pacemaker::resource::service { $::ceilometer::params::alarm_notifier_service_name : -+ pacemaker::resource::service { $::aodh::params::expirer_package_serice : + clone_params => 'interleave=true', + } -+ pacemaker::resource::service { $::aodh::params::listener_service_name : ++ pacemaker::resource::service { $::aodh::params::expirer_package_serice : + clone_params => 'interleave=true', + } ++ pacemaker::resource::service { $::aodh::params::listener_service_name : + clone_params => 'interleave=true', + } +- pacemaker::resource::service { $::ceilometer::params::alarm_notifier_service_name : + pacemaker::resource::service { $::aodh::params::api_service_name : + clone_params => 'interleave=true', + } @@ -1512,7 +1528,7 @@ index 3fb92f3..42b9f06 100644 clone_params => 'interleave=true', } pacemaker::resource::service { $::ceilometer::params::agent_notification_service_name : -@@ -1315,8 +1446,19 @@ if hiera('step') >= 4 { +@@ -1315,8 +1454,19 @@ if hiera('step') >= 4 { # Fedora doesn't know `require-all` parameter for constraints yet if $::operatingsystem == 'Fedora' { $redis_ceilometer_constraint_params = undef @@ -1532,7 +1548,7 @@ index 3fb92f3..42b9f06 100644 } pacemaker::constraint::base { 'redis-then-ceilometer-central-constraint': constraint_type => 'order', -@@ -1328,6 +1470,16 @@ if hiera('step') >= 4 { +@@ -1328,6 +1478,16 @@ if hiera('step') >= 4 { require => [Pacemaker::Resource::Ocf['redis'], Pacemaker::Resource::Service[$::ceilometer::params::agent_central_service_name]], } @@ -1549,7 +1565,7 @@ index 3fb92f3..42b9f06 100644 pacemaker::constraint::base { 'keystone-then-ceilometer-central-constraint': constraint_type => 'order', first_resource => "${::keystone::params::service_name}-clone", -@@ -1378,53 +1530,37 @@ if hiera('step') >= 4 { +@@ -1378,53 +1538,37 @@ if hiera('step') >= 4 { require => [Pacemaker::Resource::Service[$::ceilometer::params::api_service_name], Pacemaker::Resource::Ocf['delay']], } @@ -1882,5 +1898,5 @@ index 0000000..6488e0e + - - {get_attr: [OpenDaylightDeployment, deploy_stdout]} + - {get_param: UpdateIdentifier} -- -2.5.0 +2.5.4 (Apple Git-61) |