Browse Source

Remove ties between ceilometer and panko

Avoid panko related kolla configurations
in the ceilometer-agent-notification if panko
is disabled.

Change-Id: I9920e426e50e7fa6307ba8f453beb08fbd161534
changes/02/620402/3
Nagasai Vinaykumar Kapalavai 4 years ago
parent
commit
8a6be5f0b0
  1. 18
      docker/services/ceilometer-agent-notification.yaml
  2. 1
      environments/disable-panko.yaml

18
docker/services/ceilometer-agent-notification.yaml

@ -45,6 +45,10 @@ parameters:
default: false
description: Remove package if the service is being disabled during upgrade
type: boolean
CeilometerEnablePanko:
default: true
description: Check if panko need to be enabled or not.
type: boolean
resources:
@ -61,6 +65,9 @@ resources:
RoleName: {get_param: RoleName}
RoleParameters: {get_param: RoleParameters}
conditions:
ceilometer_enable_panko: {equals: [{get_param: CeilometerEnablePanko}, True]}
outputs:
role_data:
description: Role data for the Ceilometer Agent Notification role.
@ -90,10 +97,13 @@ outputs:
dest: "/"
merge: true
preserve_properties: true
- source: "/var/lib/kolla/config_files/src-panko/*"
dest: "/"
merge: true
preserve_properties: true
- if:
- ceilometer_enable_panko
- source: "/var/lib/kolla/config_files/src-panko/*"
dest: "/"
merge: true
preserve_properties: true
- ''
permissions:
- path: /etc/panko
owner: root:ceilometer

1
environments/disable-panko.yaml

@ -6,5 +6,6 @@ resource_registry:
OS::TripleO::Services::PankoApi: OS::Heat::None
parameter_defaults:
CeilometerEnablePanko: false
EventPipelinePublishers:
- gnocchi://?archive_policy=high

Loading…
Cancel
Save