Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1330443 - heat service-list shows heat-engine processes down
heat service-list shows heat-engine processes down
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-heat (Show other bugs)
7.0 (Kilo)
All Linux
high Severity high
: async
: 8.0 (Liberty)
Assigned To: Rabi Mishra
Amit Ugol
: Triaged, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-26 05:11 EDT by VIKRANT
Modified: 2017-06-14 11:25 EDT (History)
9 users (show)

See Also:
Fixed In Version: openstack-heat-5.0.3-1.el7ost
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-06-14 11:25:41 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 317361 None None None 2016-05-19 13:39 EDT
Red Hat Product Errata RHSA-2017:1456 normal SHIPPED_LIVE Low: openstack-heat security and bug fix update 2017-06-14 15:18:02 EDT

  None (edit)
Description VIKRANT 2016-04-26 05:11:13 EDT
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 09:10:21 EDT
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 11:25:41 EDT
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

Note You need to log in before you can comment on or make changes to this bug.