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

Bug 1462640

Summary: Defunct ceilometer-api will appear if workers is larger than 1
Product: Red Hat OpenStack Reporter: Chen <cchen>
Component: openstack-ceilometerAssignee: Eoghan Glynn <eglynn>
Status: CLOSED WONTFIX QA Contact: Sasha Smolyak <ssmolyak>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: jdanjou, jruzicka, mabaakou, srevivo
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-20 14:26:33 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:

Description Chen 2017-06-19 06:31:16 UTC
Description of problem:

Defunct ceilometer-api will appear if workers is larger than 1

Version-Release number of selected component (if applicable):

OSP8

openstack-ceilometer-*-5.0.5-1.el7ost.noarch

How reproducible:

100%

Steps to Reproduce:
1. Install a packstack OSP8 environment
2. Increase api/workers from 1 to 10
3. openstack-service restart ceilometer
4. ceilometer meter-list
5. ps -ef|grep ceilometer 

Actual results:

You will find a defunct ceilometer-api process

Expected results:

No defunct process should exist

Additional info:

Comment 1 Julien Danjou 2017-06-19 13:40:06 UTC
As packstack is not supported, can you replicate this bug with OSP director?

Comment 2 Chen 2017-06-19 13:58:24 UTC
Hi Julien,

Actually my customer found this issue in a director based environment and packstack was used to reproduce the issue.

Best Regards,
Chen

Comment 3 Mehdi ABAAKOUK 2017-06-20 14:12:28 UTC
I have reproduced it, this is not a ceilometer issue but a python-werkzeug bug, it doesn't reap terminate processes. The upstream bug is https://github.com/pallets/werkzeug/pull/864.

Comment 4 Chen 2017-06-20 14:16:21 UTC
Hi Mehdi,

Thank you very much for your reply.

So according to the upstream bug, it seems that this is expected behaviour and it will not cause any big impact so this issue could safely be ignored am I correct ?

Best Regards,
Chen

Comment 5 Mehdi ABAAKOUK 2017-06-20 14:26:33 UTC
Exactly, Zombie processes don't impact the way Ceilometer works and can be ignored.

Upstream will not fix this issue, because python-werkzeug is supposed to be used only for development. Recent version of Ceilometer have move out of python-werkzeug and are no more impacted by this.