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

Bug 1330443

Summary: heat service-list shows heat-engine processes down
Product: Red Hat OpenStack Reporter: VIKRANT <vaggarwa>
Component: openstack-heatAssignee: Rabi Mishra <ramishra>
Status: CLOSED ERRATA QA Contact: Amit Ugol <augol>
Severity: high Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: jslagle, lruzicka, mburns, nchandek, rhel-osp-director-maint, sbaker, shardy, srevivo, zbitter
Target Milestone: asyncKeywords: Triaged, ZStream
Target Release: 8.0 (Liberty)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-heat-5.0.3-1.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1747443 (view as bug list) Environment:
Last Closed: 2017-06-14 15:25:41 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: 1747443    

Description VIKRANT 2016-04-26 09:11:13 UTC
Description of problem:
heat service-list shows heat-engine processes down and in up status. 

Version-Release number of selected component (if applicable):
RHEL OSP 7 Kilo

How reproducible:
Everytime.

Steps to Reproduce:
1. Fresh installation of packstack or HA setup use "heat service-list" to check the status.

~~~
[root@allinone8 TEST(keystone_admin)]# heat service-list | awk -F"|" '/down/ {print $2,$(NF-1)}'
[root@allinone8 TEST(keystone_admin)]# heat service-list | awk -F"|" '/up/ {print $2,$(NF-1)}'
 hostname    status 
 allinone8   up     
 allinone8   up     
 allinone8   up     
 allinone8   up   
~~~

2. Restart the heat service using "openstack-service restart heat".

3. Check the status of heat-engine after sometime using "heat service-list"  it will be showing 

~~~
[root@allinone8 TEST(keystone_admin)]# heat service-list | awk -F"|" '/up/ {print $2,$(NF-1)}'
 hostname    status 
 allinone8   up     
 allinone8   up     
 allinone8   up     
 allinone8   up     
[root@allinone8 TEST(keystone_admin)]# heat service-list | awk -F"|" '/down/ {print $2,$(NF-1)}'
 allinone8   down   
 allinone8   down   
 allinone8   down   
 allinone8   down   
~~~

I am having 4 cores on my system hence 4 heat-engine processes are running.

Actual results:
It's showing both up and down status of heat-engine.

Expected results:
It should show only the up status of service and should show down only when the binary is really down.

Additional info:

I can see below discussion about the down status reason but it's better to fix this behaviour.

https://github.com/rcbops/rpc-openstack/issues/48

Comment 2 Zane Bitter 2016-06-02 13:10:21 UTC
Backport has merged upstream, we'll just pick it up in the rebase after next upstream release unless there is a request to backport it downstream earlier than that.

Comment 10 errata-xmlrpc 2017-06-14 15:25:41 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/RHSA-2017:1456