Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iaas-ha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OCP-TOOLS
iaas-ha
Commits
6aa7e045
Commit
6aa7e045
authored
9 years ago
by
Alessandro Costantini
Browse files
Options
Downloads
Patches
Plain Diff
Minor changes and related cooments for explanation
parent
19062d85
No related branches found
No related tags found
1 merge request
!9
Development
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
manifests/profile/ceilometer/common.pp
+3
-3
3 additions, 3 deletions
manifests/profile/ceilometer/common.pp
manifests/profile/ceilometer/controller.pp
+17
-9
17 additions, 9 deletions
manifests/profile/ceilometer/controller.pp
with
20 additions
and
12 deletions
manifests/profile/ceilometer/common.pp
+
3
−
3
View file @
6aa7e045
...
...
@@ -4,16 +4,16 @@ class iaas::profile::ceilometer::common (
$password
=
hiera
(
'iaas::profile::ceilometer::password'
,
undef
),
$region
=
hiera
(
'iaas::region'
,
undef
),
$endpoint
=
hiera
(
'iaas::role::endpoint::main_address'
,
undef
),
#
Costa -
added $rhosts
#added $rhosts
$rhosts
=
hiera
(
'iaas::profile::rabbitmq::rhosts'
,
undef
),
$rabbitmq_user
=
hiera
(
'iaas::profile::rabbitmq::user'
,
undef
),
$rabbitmq_password
=
hiera
(
'iaas::profile::rabbitmq::password'
,
undef
),
)
{
class
{
'::ceilometer'
:
metering_secret
=>
$secret
,
#
Costa -
added rabbit_hosts
#added rabbit_hosts
# rabbit_hosts => [ $endpoint ],
rpc_backend
=>
'rabbit'
,
#
rpc_backend => 'rabbit',
rabbit_hosts
=>
$rhosts
,
rabbit_userid
=>
$rabbitmq_user
,
rabbit_password
=>
$rabbitmq_password
,
...
...
This diff is collapsed.
Click to expand it.
manifests/profile/ceilometer/controller.pp
+
17
−
9
View file @
6aa7e045
...
...
@@ -10,12 +10,12 @@ class iaas::profile::ceilometer::controller (
$zookeeper_id
=
undef
,
$zookeeper_max_connections
=
128
,
$coordination_ip
=
hiera
(
'iaas::role::endpoint:coordination'
,
undef
),
)
{
#Costa
# include iaas::resources::connectors
include
iaas::resources::connectors
#Costa
# iaas::resources::database { 'ceilometer': }
iaas::resources::database
{
'ceilometer'
:
}
include
iaas::profile::ceilometer::common
...
...
@@ -30,11 +30,14 @@ class iaas::profile::ceilometer::controller (
}
class
{
'::ceilometer::api'
:
host
=>
$::facts
[
"ipaddress_
${admin_interface}
"
],
#VIP value assigned to keystone_host
# keystone_host => $::facts["ipaddress_${admin_interface}"],
keystone_host
=>
$endpoint
,
enabled
=>
true
,
keystone_password
=>
$password
,
keystone_auth_uri
=>
"http://
${endpoint}
:5000/v2.0"
,
keystone_identity_uri
=>
"http://
${endpoint}
:35357"
,
#identity_uri planned to be inplemented
# keystone_identity_uri => "http://${endpoint}:35357",
}
class
{
'::ceilometer::db'
:
...
...
@@ -43,7 +46,7 @@ class iaas::profile::ceilometer::controller (
}
package
{
'python-zake'
:
}
#
Costa -
config zookeeper
#config zookeeper
commented
# class { 'zookeeper':
# id => $zookeeper_id,
# client_ip => $::facts["ipaddress_${admin_interface}"],
...
...
@@ -52,11 +55,15 @@ class iaas::profile::ceilometer::controller (
# }
class
{
'::ceilometer::agent::central'
:
coordination_url
=>
"kazoo://
$
{
$admin_ip
}:2181"
,
#added coordination endpoints for ceilometer
# coordination_url => "kazoo://${$admin_ip}:2181",
coordination_url
=>
"kazoo://
$
{
$coordination_ip
}"
,
}
class
{
'::ceilometer::alarm::evaluator'
:
coordination_url
=>
"kazoo://
$
{
$admin_ip
}:2181"
,
#added coordination endpoints for ceilometer
# coordination_url => "kazoo://${$admin_ip}:2181",
coordination_url
=>
"kazoo://
$
{
$coordination_ip
}"
,
}
class
{
'::ceilometer::expirer'
:
...
...
@@ -67,6 +74,7 @@ class iaas::profile::ceilometer::controller (
class
{
'::ceilometer::collector'
:
}
class
{
'::ceilometer::agent::notification'
:
}
#HAproxy values commented
# @@haproxy::balancermember { "ceilometer_api_${::fqdn}":
# listening_service => 'ceilometer_api_cluster',
# server_names => $::hostname,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment