Reviewed: https://review.openstack.org/382660 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=2afc4e466958b19a4cbb9147abb69f54a06bd507 Submitter: Jenkins Branch: master
commit 2afc4e466958b19a4cbb9147abb69f54a06bd507 Author: Ken'ichi Ohmichi <ken-oomi...@wx.jp.nec.com> Date: Wed Oct 5 14:14:30 2016 -0700 Add error handling for delete-volume API Due to lack of an error handling, delete-volume API returns HTTP500 error when deleting an attached volume. This patch adds the error handling. The corresponding Tempest test is Idb6267be770bcf2541595babebf269cdc71c2b8d Closes-Bug: #1630783 Change-Id: Ia07556b2dc18678baa4c8fbd65820d8047362ef9 ** Changed in: nova Status: In Progress => Fix Released ** Changed in: nova/newton Status: Confirmed => In Progress ** Changed in: nova/newton Assignee: (unassigned) => Ken'ichi Ohmichi (oomichi) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1630783 Title: Nova returns HTTP500 if deleting attached volume Status in OpenStack Compute (nova): Fix Released Status in OpenStack Compute (nova) mitaka series: In Progress Status in OpenStack Compute (nova) newton series: In Progress Bug description: To reproduce bug #1621452 on the gate, we tried to add the corresponding test to Tempest (https://review.openstack.org/#/c/382083/). But the test failed at the unexpected place like: traceback-1: {{{ Traceback (most recent call last): File "tempest/api/compute/base.py", line 350, in delete_volume cls._delete_volume(cls.volumes_extensions_client, volume_id) File "tempest/api/compute/base.py", line 281, in _delete_volume volumes_client.delete_volume(volume_id) File "tempest/lib/services/compute/volumes_client.py", line 75, in delete_volume resp, body = self.delete("os-volumes/%s" % volume_id) File "tempest/lib/common/rest_client.py", line 307, in delete return self.request('DELETE', url, extra_headers, headers, body) File "tempest/lib/services/compute/base_compute_client.py", line 48, in request method, url, extra_headers, headers, body, chunked) File "tempest/lib/common/rest_client.py", line 665, in request resp, resp_body) File "tempest/lib/common/rest_client.py", line 829, in _error_checker message=message) tempest.lib.exceptions.ServerFault: Got server fault Details: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'nova.exception.InvalidInput'> }} The above error happens if deleting the attached volume on os-volumes API. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1630783/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp