← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1689284] Re: should capture quota exceed error from cinder when create image for volume backed instance

 

Oh I see, here:

https://github.com/openstack/nova/blob/5532d6f4042aa41d1bd9e2e4a7fabb63a0ab6b93/nova/compute/api.py#L2987

That would raise this exception:

https://github.com/openstack/nova/blob/5532d6f4042aa41d1bd9e2e4a7fabb63a0ab6b93/nova/volume/cinder.py#L242

And yeah we don't handle that in the exceptions here:

https://github.com/openstack/nova/blob/5532d6f4042aa41d1bd9e2e4a7fabb63a0ab6b93/nova/api/openstack/compute/servers.py#L996

** Changed in: nova
       Status: New => Triaged

** Changed in: nova
   Importance: Undecided => Medium

** Also affects: nova/newton
   Importance: Undecided
       Status: New

** Also affects: nova/ocata
   Importance: Undecided
       Status: New

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

Title:
  should capture quota exceed error from cinder when create image for
  volume backed instance

Status in OpenStack Compute (nova):
  Triaged
Status in OpenStack Compute (nova) newton series:
  New
Status in OpenStack Compute (nova) ocata series:
  New

Bug description:
  When create image for a volume backed instance, nova will create snapshots for all
  volumes attached to the instance in Cinder, and if quota exceed in Cinder, HTTP
  500 will raise, we should capture this error and raise 404.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1689284/+subscriptions


References