ERROR stacktrace in c-api log after good tempest run

Bug #1084711 reported by David Kranz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Matthew Treinish

Bug Description

2012-11-29 19:40:10 AUDIT cinder.api.v1.volumes [req-c540115f-cb64-4513-a0c7-aad527e4abee 1e5955ea00174963ba44b55bd60aa4e1 9e8ebab3dda94de290e4c98e3ad0b4c9] Create volume of None GB
2012-11-29 19:40:10 ERROR cinder.api.openstack.wsgi [req-c540115f-cb64-4513-a0c7-aad527e4abee 1e5955ea00174963ba44b55bd60aa4e1 9e8ebab3dda94de290e4c98e3ad0b4c9] Exception handling resource: int() argument must be a string or a number, not 'NoneType'
2012-11-29 19:40:10 29947 TRACE cinder.api.openstack.wsgi Traceback (most recent call last):
2012-11-29 19:40:10 29947 TRACE cinder.api.openstack.wsgi File "/opt/stack/cinder/cinder/api/openstack/wsgi.py", line 850, in _process_stack
2012-11-29 19:40:10 29947 TRACE cinder.api.openstack.wsgi action_result = self.dispatch(meth, request, action_args)
2012-11-29 19:40:10 29947 TRACE cinder.api.openstack.wsgi File "/opt/stack/cinder/cinder/api/openstack/wsgi.py", line 926, in dispatch
2012-11-29 19:40:10 29947 TRACE cinder.api.openstack.wsgi return method(req=request, **action_args)
2012-11-29 19:40:10 29947 TRACE cinder.api.openstack.wsgi File "/opt/stack/cinder/cinder/api/v1/volumes.py", line 336, in create
2012-11-29 19:40:10 29947 TRACE cinder.api.openstack.wsgi **kwargs)
2012-11-29 19:40:10 29947 TRACE cinder.api.openstack.wsgi File "/opt/stack/cinder/cinder/volume/api.py", line 110, in create
2012-11-29 19:40:10 29947 TRACE cinder.api.openstack.wsgi size = as_int(size)
2012-11-29 19:40:10 29947 TRACE cinder.api.openstack.wsgi File "/opt/stack/cinder/cinder/volume/api.py", line 105, in as_int
2012-11-29 19:40:10 29947 TRACE cinder.api.openstack.wsgi return int(s)
2012-11-29 19:40:10 29947 TRACE cinder.api.openstack.wsgi TypeError: int() argument must be a string or a number, not 'NoneType'
2012-11-29 19:40:10 29947 TRACE cinder.api.openstack.wsgi

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/17168

Changed in cinder:
assignee: nobody → Matthew Treinish (treinish)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/17168
Committed: http://github.com/openstack/cinder/commit/503e92332db78a2469fcc853a2be1c5dee9c8da4
Submitter: Jenkins
Branch: master

commit 503e92332db78a2469fcc853a2be1c5dee9c8da4
Author: Matthew Treinish <email address hidden>
Date: Thu Nov 29 17:48:03 2012 -0500

    Fix exception when size is None.

    If an incoming create request has a size of None raise
    an exception.

    Fixes: bug 1084711
    Change-Id: I5ad377073cc6853b502889ad9292b5758522ca88

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: grizzly-2 → 2013.1
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.