Ceilometer uses single-threaded wsgi-server

Bug #1510252 reported by Nadya Privalova
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Medium
MOS Ceilometer
6.1.x
Fix Released
Medium
MOS Ceilometer

Bug Description

Before Kilo, Ceilometer has been used single-threaded wsgi-server. This bug is created to track backports of multi-threaded implementation from Kilo (MOS 7.0) to other MOS versions.
Multi-threaded implementation provides more stability. Single-threaded implementation along with the bug https://bugs.launchpad.net/mos/+bug/1510083 makes Ceilometer not usable at all. Multi-threaded implementation may become easily broken without the fix for https://bugs.launchpad.net/mos/+bug/1510083 as well, but this should be done on purpose. Single-threaded implementation on real env becomes broken after 3 simple API requests

tags: added: ceilometer
Changed in mos:
milestone: none → 6.0-updates
no longer affects: mos/6.0.x
Changed in mos:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Nadya Privalova (nprivalova) wrote :
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/ceilometer (openstack-ci/fuel-6.1/2014.2)

Fix proposed to branch: openstack-ci/fuel-6.1/2014.2
Change author: Igor Degtiarov <email address hidden>
Review: https://review.fuel-infra.org/13492

tags: added: customer-found support
Revision history for this message
Oleksandr Bryndzii (obryndzii) wrote :

High for 6.1 due to customer-found

Revision history for this message
Nadya Privalova (nprivalova) wrote :

High for 6.0 due to customer-found as well

Changed in mos:
importance: Medium → High
Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

Please don't change bug importance due to the fact it was found at customer site - just adding customer-found tag is enough. We would like to have Importance field to reflect actual impact of the issue.

Changed in mos:
importance: High → Medium
Revision history for this message
Nadya Privalova (nprivalova) wrote :

The status is High indeed. Ceilometer-api cannot be used in production without this patch because API stops responding after 3 heave requests.

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/ceilometer (openstack-ci/fuel-6.0-updates/2014.2)

Reviewed: https://review.fuel-infra.org/13115
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-ci/fuel-6.0-updates/2014.2

Commit: bb34c16e649d8331a7f161a8f526851d66c8b94d
Author: Ilya Tyaptin <email address hidden>
Date: Fri Oct 30 12:55:30 2015

Fix bug with stucked requests on api service

Currently ceilometer api have a one thread and doesn't
interrupt request after client connection interrupting.

So, in current CR this issued behavior is fixed.

Closes-Bug: #1510252
Change-Id: Ibd7860dddfe419f58f756a80d9bcf72c4ab97d42

Changed in mos:
status: Confirmed → Fix Committed
milestone: 6.0-updates → 6.0-mu-7
Revision history for this message
Vitaly Gusev (vgusev) wrote :

Verified on Ubuntu 6.0.
Packages:
ceilometer-agent-central,ceilometer-agent-notification,ceilometer-alarm-evaluator,ceilometer-alarm-notifier,ceilometer-api,ceilometer-collector,ceilometer-common,python-ceilometer
Version:
2014.2-fuel6.0~mira25

Changed in mos:
status: Fix Committed → Fix Released
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/ceilometer (openstack-ci/fuel-6.1/2014.2)

Reviewed: https://review.fuel-infra.org/13492
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-ci/fuel-6.1/2014.2

Commit: 63fbe2464fa2e1cd1f825cbb3a6682e379c59ba5
Author: Igor Degtiarov <email address hidden>
Date: Tue Dec 1 10:23:21 2015

Fix bug with stucked requests on api service

Currently ceilometer api have a one thread and
doesn't interrupt request after client connection interrupting.

So, in current CR this issued behavior is fixed.

Closes-Bug: #1510252
Change-Id: Ib2f226bfbc8c08619dbd9fe5862f30bbbd8781b9

tags: added: on-verification
Revision history for this message
Vitaly Gusev (vgusev) wrote :

Verified on Ubuntu 6.1
Packages:
ceilometer-agent-central,ceilometer-agent-notification,ceilometer-alarm-evaluator,ceilometer-alarm-notifier,ceilometer-api,ceilometer-collector,ceilometer-common,python-ceilometer
Version:
2014.2.2-1~u14.04+mos13

tags: removed: on-verification
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.