Cinder fails to create volume with Gateway time-out error under high load

Bug #1653164 reported by Mikhail Chernik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Confirmed
Critical
Ivan Kolodyazhny

Bug Description

When running rally task http://paste.openstack.org/show/593624/ some iterations failed during volume creation with Gateway time-out error.

The reason is that volume creation took more than 2 min, so haproxy dropped connection

cinder-api.log: http://paste.openstack.org/show/593625/

haproxy.log: http://paste.openstack.org/show/593626/

Tags: area-cinder
Changed in mos:
status: New → Confirmed
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Could you please attach diagnostic snapshot?

Revision history for this message
Mikhail Chernik (mchernik) wrote :
Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

Need more time to investigate and fix the issue - retargeted to 9.3

Changed in mos:
milestone: 9.2 → 9.3
tags: added: move-to-9.3
Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

Raising to Critical and target back to 9.2 as it looks like this is degradation comparing to 9.1. Waiting for more details from scale team.

Changed in mos:
milestone: 9.3 → 9.2
importance: High → Critical
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

Looking throw logs, I've marked this bug as duplicated of #1550192.

Switch to PyMySQL help to resolve this issue on my env.

As a workaround, we can use also:
- cinder api + apache/mod_wsgi
- increase http timeout in HAproxy

IMO, both of proposed workarounds are not very good for 9.2 at this moment. We can test and apply it on customer's envs if needed.

My env:
- all nodes are Vms
- 1 controller
- 1 compute
- 3 osd nodes
- rally scenario config:
-- times: 10
-- concurrency: 5

tags: removed: move-to-9.3
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.