Cinder failed to commit reservation

Bug #1584618 reported by Ivan Lozgachev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Status tracked in 10.0.x
10.0.x
Invalid
Medium
Ivan Lozgachev
9.x
Invalid
Medium
Ivan Lozgachev

Bug Description

The error happened only once during Rally test boot-from-volume-and-resize.yaml. I tried to reproduce it one more time but no luck.

Found on MOS 9.0 build 308

Environment:
  1 controller
  2 compute
  1 cinder
  (all quotas are set to -1)

Steps to reproduce:
  Run Nova Rally test boot-from-volume-and-resize.yaml
  Check cinder-all.log file on controller node

Expected result:
  No errors

Actual result:
  Cinder raised error

From cinder-all.log file:

<155>May 23 03:37:02 node-1 cinder-api: 2016-05-23 03:37:02.560 16704 ERROR cinder.quota [req-13032bbc-66c4-4133-aea8-2892f0820d9b 87241ff6ee7e4202969d1b1e9bd42772 324906d3d3d4429c9cbc5fd6a0aebf61 - - -] Failed to commit reservations ['43e4b415-14a7-46e8-9e94-4b6ad5a89bfb', 'a986faa5-1856-4d8b-9350-175b501b708b']
2016-05-23 03:37:02.560 16704 ERROR cinder.quota Traceback (most recent call last):
2016-05-23 03:37:02.560 16704 ERROR cinder.quota File "/usr/lib/python2.7/dist-packages/cinder/quota.py", line 1035, in commit
2016-05-23 03:37:02.560 16704 ERROR cinder.quota self._driver.commit(context, reservations, project_id=project_id)
2016-05-23 03:37:02.560 16704 ERROR cinder.quota File "/usr/lib/python2.7/dist-packages/cinder/quota.py", line 404, in commit
2016-05-23 03:37:02.560 16704 ERROR cinder.quota db.reservation_commit(context, reservations, project_id=project_id)
2016-05-23 03:37:02.560 16704 ERROR cinder.quota File "/usr/lib/python2.7/dist-packages/cinder/db/api.py", line 855, in reservation_commit
2016-05-23 03:37:02.560 16704 ERROR cinder.quota project_id=project_id)
2016-05-23 03:37:02.560 16704 ERROR cinder.quota File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 193, in wrapper
2016-05-23 03:37:02.560 16704 ERROR cinder.quota return f(*args, **kwargs)
2016-05-23 03:37:02.560 16704 ERROR cinder.quota File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 231, in wrapped
2016-05-23 03:37:02.560 16704 ERROR cinder.quota return f(*args, **kwargs)
2016-05-23 03:37:02.560 16704 ERROR cinder.quota File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 1048, in reservation_commit
2016-05-23 03:37:02.560 16704 ERROR cinder.quota usage = usages[reservation.usage_id]
2016-05-23 03:37:02.560 16704 ERROR cinder.quota KeyError: 15L
2016-05-23 03:37:02.560 16704 ERROR cinder.quota

Diagnostic snapshot:
http://185.8.56.134/fuel-snapshot-2016-05-23_05-49-39.tar.xz

Tags: area-cinder
affects: cinder → mos
Changed in mos:
assignee: nobody → MOS Cinder (mos-cinder)
milestone: none → 9.0
Ivan Kolodyazhny (e0ne)
Changed in mos:
assignee: MOS Cinder (mos-cinder) → Ivan Kolodyazhny (e0ne)
assignee: Ivan Kolodyazhny (e0ne) → MOS Cinder (mos-cinder)
tags: added: area-cinder
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

I can't reproduce this bug on my environments. It was reproduced only once, so I've changed priority to Medium

Revision history for this message
Dina Belova (dbelova) wrote :

More than a month in the incomplete state -> moving to invalid. Please set back to confirmed if this will be reproduced again.

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.