Bug 1401284

Summary: Mistral takes 30% CPU when idle, over 50% CPU when busy
Product: Red Hat OpenStack Reporter: Udi Kalifon <ukalifon>
Component: openstack-mistralAssignee: RHOS Maint <rhos-maint>
Status: CLOSED NOTABUG QA Contact: nlevinki <nlevinki>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: aschultz, dmatthew, jjoyce, jschluet, mcornea, rbrady, slinaber, tvignaud, ukalifon
Target Milestone: ---   
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-08-24 13:35:19 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:

Description Udi Kalifon 2016-12-04 11:06:55 UTC
Description of problem:
Mistral is taking around 30% CPU all the time, even when idle. When an action is running the CPU usage passes 50%. As a result, all openstack actions are taking longer and longer with every release we test. The main impact is on the GUI performances, but since the GUI is installed as standard with the undercloud and the CPU usage is high all the time - this impacts also the CLI.

Tailing the logs in /var/log/mistral reveals no activity.


Version-Release number of selected component (if applicable):
openstack-mistral-api-3.0.2-9.el7ost.noarch
openstack-mistral-engine-3.0.2-9.el7ost.noarch
python-openstackclient-3.2.0-2.el7ost.noarch


How reproducible:
100%


Steps to Reproduce:
1. Install the director (Newton release)
2. Run 'top' to see the CPU usage


Actual results:
Mistral is taking a lot of CPU when it's doing nothing.