Missing catch InstanceNotFound that raise from Instance.save() in v3 API

Bug #1280067 reported by Alex Xu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Juan Manuel Ollé

Bug Description

As the comment in https://review.openstack.org/#/c/70901/6/nova/api/openstack/compute/plugins/v3/pause_server.py

After apply instance look helper, some compute api will invoke instance.save(), it will raise InstanceNotFound also. We should catch them.

Tags: api
Alex Xu (xuhj)
tags: added: api
Changed in nova:
status: New → Triaged
Changed in nova:
assignee: nobody → Juan Manuel Ollé (juan-m-olle)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/76239
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d72d925fc1c3b8620b81531ec74524aceb89d4e8
Submitter: Jenkins
Branch: master

commit d72d925fc1c3b8620b81531ec74524aceb89d4e8
Author: Juan Manuel Olle <email address hidden>
Date: Tue Feb 25 12:34:05 2014 -0300

    Missing catch InstanceNotFound in v3 API

    After apply instance look helper, some compute api
    will invoke instance.save(), it will raise
    InstanceNotFound also.
    This patch adds them.

    Closes-Bug: #1280067
    Change-Id: I73cb35c90f1e46a447ae1807a997713105e08bde

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