Cinder stacktracing on "InvalidInput: Invalid input received"

Bug #1376839 reported by Joe Gordon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Joe Gordon

Bug Description

cinder is throwing stacktraces on InvalidInputs.

2014-10-02 14:32:01.623 22040 WARNING cinder.volume.api [req-54eb6e27-a718-4b36-9a8f-5a8351ea4751 b88bcf5353ec4b0eb7acaa0c219e3da1 4b5d0e6df2ff43539e77ec40f700b594 - - -] Task 'cinder.volume.flows.api.create_volume.ExtractVolumeRequestTask;volume:create' (867f6be9-ad17-4273-8423-498a685fca52) transitioned into state 'FAILURE'
2014-10-02 14:32:01.623 22040 TRACE cinder.volume.api Traceback (most recent call last):
2014-10-02 14:32:01.623 22040 TRACE cinder.volume.api File "/usr/local/lib/python2.7/dist-packages/taskflow/engines/action_engine/executor.py", line 35, in _execute_task
2014-10-02 14:32:01.623 22040 TRACE cinder.volume.api result = task.execute(**arguments)
2014-10-02 14:32:01.623 22040 TRACE cinder.volume.api File "/opt/stack/new/cinder/cinder/volume/flows/api/create_volume.py", line 399, in execute
2014-10-02 14:32:01.623 22040 TRACE cinder.volume.api size = self._extract_size(size, source_volume, snapshot)
2014-10-02 14:32:01.623 22040 TRACE cinder.volume.api File "/opt/stack/new/cinder/cinder/volume/flows/api/create_volume.py", line 220, in _extract_size
2014-10-02 14:32:01.623 22040 TRACE cinder.volume.api func(size)
2014-10-02 14:32:01.623 22040 TRACE cinder.volume.api File "/opt/stack/new/cinder/cinder/volume/flows/api/create_volume.py", line 198, in validate_int
2014-10-02 14:32:01.623 22040 TRACE cinder.volume.api raise exception.InvalidInput(reason=msg)
2014-10-02 14:32:01.623 22040 TRACE cinder.volume.api InvalidInput: Invalid input received: Volume size must be an integer and greater than 0
2014-10-02 14:32:01.623 22040 TRACE cinder.volume.api

Stacktraces should be saved for unexpected errors and a invalid input is an excepted error.

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/125712

Changed in cinder:
assignee: nobody → Joe Gordon (jogo)
status: New → In Progress
Changed in cinder:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/125712
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=3e36fb9666cf3d8fad73b2f7274f272588303718
Submitter: Jenkins
Branch: master

commit 3e36fb9666cf3d8fad73b2f7274f272588303718
Author: Joe Gordon <email address hidden>
Date: Thu Oct 2 10:11:48 2014 -0700

    Stop stacktracing on InvalidInput exceptions

    InvalidInput is an expected error case, no need to stacktrace for it,
    just log the error.

    Change-Id: Ifcca98effd3ab153af30d21f2f23094210fe8ce3
    Closes-Bug: #1376839

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