Bug 1330443 - heat service-list shows heat-engine processes down
Summary: heat service-list shows heat-engine processes down
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-heat
Version: 7.0 (Kilo)
Hardware: All
OS: Linux
high
high
Target Milestone: async
: 8.0 (Liberty)
Assignee: Rabi Mishra
QA Contact: Amit Ugol
URL:
Whiteboard:
Depends On:
Blocks: 1747443
TreeView+ depends on / blocked
 
Reported: 2016-04-26 09:11 UTC by VIKRANT
Modified: 2022-07-09 08:50 UTC (History)
9 users (show)

Fixed In Version: openstack-heat-5.0.3-1.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1747443 (view as bug list)
Environment:
Last Closed: 2017-06-14 15:25:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 317361 0 'None' MERGED Stop engine service correctly 2020-12-28 11:34:38 UTC
Red Hat Issue Tracker OSP-16825 0 None None None 2022-07-09 08:50:53 UTC
Red Hat Product Errata RHSA-2017:1456 0 normal SHIPPED_LIVE Low: openstack-heat security and bug fix update 2017-06-14 19:18:02 UTC

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


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