Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1613601

Summary: THT should have an option to disable Panko completely.
Product: Red Hat OpenStack Reporter: Keigo Noha <knoha>
Component: openstack-tripleo-heat-templatesAssignee: Vinay Kapalavai <vkapalav>
Status: CLOSED ERRATA QA Contact: Nataf Sharabi <nsharabi>
Severity: high Docs Contact:
Priority: high    
Version: 13.0 (Queens)CC: aaustin, ccopello, k-akatsuka, lnatapov, mabaakou, mburns, mfuruta, mmagr, pkilambi, ssmolyak, vkapalav
Target Milestone: z5Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-8.2.0-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1679774 (view as bug list) Environment:
Last Closed: 2019-03-14 13:54:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1581780, 1679774    

Description Keigo Noha 2018-08-08 01:00:51 UTC
Description of problem:
THT should have an option to disable Panko completely.
Red Hat provides a support to Panko in the combination of CFME only.
Currently, there are no way to disable Panko complete with 1 option.

In configuration of ceilometer or related serivce level, we can remove the configuration for Panko by THT[1].

[1] https://access.redhat.com/solutions/3527641

But ceilometer-notification container requires panko related directory to start its container.

~~~
- ./docker/services/ceilometer-agent-notification.yaml
     75       kolla_config:
     76         /var/lib/kolla/config_files/ceilometer_agent_notification.json:
     77           command: /usr/bin/ceilometer-agent-notification --logfile /var/log/ceilometer/agent-notification.log
     78           config_files:
     79             - source: "/var/lib/kolla/config_files/src/*"
     80               dest: "/"
     81               merge: true
     82               preserve_properties: true
     83             - source: "/var/lib/kolla/config_files/src-panko/*"
     84               dest: "/"
     85               merge: true
     86               preserve_properties: true
     87           permissions:
     88             - path: /etc/panko
     89               owner: root:ceilometer
     90               recurse: true
~~~

We should have 1 option to disable Panko related things from conf file and directory.

Version-Release number of selected component (if applicable):
Current openstack-triple-heat-templates in RHOSP13.

Actual results:
Manual configuration update is required to disable Panko.

Expected results:
THT should have an option to disable Panko.

Additional info:

Comment 2 Martin Magr 2018-08-27 14:51:56 UTC
There is a way to disable any service via resource_registry in environment file, but we can provide special environment file to disable panko.

Comment 5 Keigo Noha 2018-10-16 10:41:38 UTC
Hello Mehdi,

Can I ask one thing? The upstream gerrit doesn't handle the ceilometer-agent-notification container issue in the case description.

The current upstream gerrit seems to trigger the issue which ceilometer-agent-notification cannot be started by requirement of panko directory.
Could you fix this issue also?

Comment 14 Mehdi ABAAKOUK 2018-11-26 16:44:11 UTC
*** Bug 1633900 has been marked as a duplicate of this bug. ***

Comment 16 Martin Magr 2018-12-19 08:25:00 UTC
*** Bug 1642492 has been marked as a duplicate of this bug. ***

Comment 34 Leonid Natapov 2019-02-27 09:30:14 UTC
tested with openstack-tripleo-heat-templates-8.2.0-4.el7ost.noarch

/usr/share/openstack-tripleo-heat-templates/environments/disable-panko.yaml has been added

# This heat environment can be used to disable panko services.
# Panko should not be used in most deployement, but we can't yet remove it from
# the default setup.

resource_registry:
  OS::TripleO::Services::PankoApi: OS::Heat::None

parameter_defaults:
  CeilometerEnablePanko: false
  EventPipelinePublishers:
    - gnocchi://?archive_policy=high

Comment 37 errata-xmlrpc 2019-03-14 13:54:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:0448

Comment 38 Red Hat Bugzilla 2023-09-14 04:32:53 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days