Better exception handling in volume_actions._extends

Bug #1577781 reported by Jean-Sebastien Bevilacqua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Medium
Unassigned

Bug Description

In module volume/api volume_api.extend can raise four differents exceptions:
InvalidVolume, InvalidInput, VolumeSizeExceedsLimit, VolumeSizeExceedsAvailableQuota.

In module api/contrib/volume_actions VolumeActionsController._extend calls volume_api.extend but currently, only InvalidVolume is handled. If another exception is raised, api returns a 500 error without details.

Tags: api
Changed in cinder:
assignee: nobody → Jean-Sebastien Bevilacqua (realitix)
Changed in cinder:
status: New → In Progress
Changed in cinder:
importance: Undecided → Low
Eric Harney (eharney)
Changed in cinder:
importance: Low → Medium
tags: added: api
Changed in cinder:
assignee: Jean-Sebastien Bevilacqua (realitix) → Cedric Brandily (cbrandily)
Changed in cinder:
assignee: Cedric Brandily (cbrandily) → Jean-Sebastien Bevilacqua (realitix)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by Jean-Sebastien Bevilacqua (<email address hidden>) on branch: master
Review: https://review.openstack.org/312057
Reason: Seen with Gorka.
I will open a new bug for OverQota problem

Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Bug Assignee Expired

Unassigning due to no activity for > 6 months.

Changed in cinder:
assignee: Jean-Sebastien Bevilacqua (realitix) → nobody
Changed in cinder:
status: In Progress → Invalid
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.