-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #140 from yadneshk/add_ceilometer_ipmi
Add CeilometerIpmi service
- Loading branch information
Showing
15 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
templates/ceilometercompute/config/ceilometer-agent-ipmi.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"command": "/usr/bin/ceilometer-polling --polling-namespaces ipmi --logfile /var/log/containers/ceilometer/ipmi.log", | ||
"config_files": [ | ||
{ | ||
"source": "/var/lib/openstack/config/ceilometer.conf", | ||
"dest": "/etc/ceilometer/ceilometer.conf", | ||
"owner": "ceilometer", | ||
"perm": "0600" | ||
}, | ||
{ | ||
"source": "/var/lib/openstack/config/polling.yaml", | ||
"dest": "/etc/ceilometer/polling.yaml", | ||
"owner": "ceilometer", | ||
"perm": "0600" | ||
} | ||
], | ||
"permissions": [ | ||
{ | ||
"path": "/var/log/containers/ceilometer", | ||
"owner": "ceilometer:ceilometer", | ||
"recurse": true | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
templates/ceilometercompute/config/ceilometer_agent_ipmi.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"image": "{{ .ceilometer_ipmi_image }}", | ||
"user": "root", | ||
"restart": "always", | ||
"command": "kolla_start", | ||
"net": "host", | ||
"environment": { | ||
"KOLLA_CONFIG_STRATEGY":"COPY_ALWAYS", | ||
"KOLLA_CONFIG_FILE":"/var/lib/openstack/config/ceilometer-agent-ipmi.json", | ||
"OS_ENDPOINT_TYPE":"internal" | ||
}, | ||
"volumes": [ | ||
"/var/lib/openstack/config/ceilometer:/var/lib/openstack/config/:z", | ||
"/var/log/containers/ceilometer:/var/log/containers/ceilometer:z", | ||
"/run/libvirt:/run/libvirt:z", | ||
"/etc/hosts:/etc/hosts:z", | ||
"/etc/pki/tls/certs/ca-bundle.trust.crt:/etc/pki/tls/certs/ca-bundle.trust.crt:z", | ||
"/etc/localtime:/etc/localtime:z", | ||
"/etc/pki/ca-trust/extracted:/etc/pki/ca-trust/extracted:z", | ||
"/etc/pki/ca-trust/source/anchors:/etc/pki/ca-trust/source/anchors:z", | ||
"/dev/log:/dev/log:z", | ||
"/etc/pki/tls/cert.pem:/etc/pki/tls/cert.pem:z", | ||
"/etc/pki/tls/certs/ca-bundle.crt:/etc/pki/tls/certs/ca-bundle.crt:z" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,4 @@ sources: | |
- switch.* | ||
- storage.* | ||
- volume.* | ||
- hardware.* |