Disable ceilometer API

Ceilometer API has been deprecated since Ocata. lets disable
it by default and add an env file to enable it if needed.

Closes-bug: #1676968

Change-Id: I571f5467466c29271e0235e8fde6bdae07c20daf
This commit is contained in:
Pradeep Kilambi 2017-03-28 13:25:23 -04:00
parent d36c68c667
commit 0e8e8a920d
5 changed files with 11 additions and 7 deletions

View File

@ -0,0 +1,6 @@
resource_registry:
OS::TripleO::Services::CeilometerApi: ../../puppet/services/ceilometer-api.yaml
parameter_defaults:
CeilometerApiEndpoint: true

View File

@ -1,5 +0,0 @@
resource_registry:
OS::TripleO::Services::CeilometerApi: OS::Heat::None
parameter_defaults:
CeilometerApiEndpoint: false

View File

@ -77,7 +77,7 @@ parameters:
description: Set rabbit subscriber port, change this if using SSL description: Set rabbit subscriber port, change this if using SSL
type: number type: number
CeilometerApiEndpoint: CeilometerApiEndpoint:
default: true default: false
description: Whether to create or skip API endpoint. Set this to description: Whether to create or skip API endpoint. Set this to
false, if you choose to disable Ceilometer API service. false, if you choose to disable Ceilometer API service.
type: boolean type: boolean

View File

@ -0,0 +1,4 @@
---
deprecations:
- Deprecate and disable ceilometer Api by default. This can be enabled
by passing in an env file to deploy command.

View File

@ -82,7 +82,6 @@
- OS::TripleO::Services::Snmp - OS::TripleO::Services::Snmp
- OS::TripleO::Services::Sshd - OS::TripleO::Services::Sshd
- OS::TripleO::Services::Timezone - OS::TripleO::Services::Timezone
- OS::TripleO::Services::CeilometerApi
- OS::TripleO::Services::CeilometerCollector - OS::TripleO::Services::CeilometerCollector
- OS::TripleO::Services::CeilometerExpirer - OS::TripleO::Services::CeilometerExpirer
- OS::TripleO::Services::CeilometerAgentCentral - OS::TripleO::Services::CeilometerAgentCentral