← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1470047] Re: CLI fails to report an error after creating a snapshot from instance

 

The reason why image been deleted is that Nova didn't pass 'size' parameter to Glance,So it didn't go quota check in Glance.
So I think it can be fixed in Nova.

** Project changed: glance => nova

** Changed in: nova
     Assignee: (unassigned) => wangxiyuan (wangxiyuan)

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

Title:
  CLI fails to report an error after creating a snapshot from instance

Status in OpenStack Compute (Nova):
  New
Status in Python client library for Nova:
  In Progress

Bug description:
  Description of problem:
  The CLI fails to declare an error and stuck with "Server snapshotting... 0" when a user tries to save a snapshot of an instance while his quota is too small. 

  Version-Release number of selected component (if applicable):
  python-glanceclient-0.17.0-2.el7ost.noarch
  python-glance-2015.1.0-6.el7ost.noarch
  python-glance-store-0.4.0-1.el7ost.noarch
  openstack-glance-2015.1.0-6.el7ost.noarch
  openstack-nova-api-2015.1.0-13.el7ost.noarch

  How reproducible:
  100%

  Steps to Reproduce:
  1. Edit /etc/glance/glance-api.conf set user_storage_quota with low space for creating snapshot from instance 
  2. openstack-service restart glance
  3. Create a snapshot from instance via command line: 'nova image-create <instanceName> <snapName> --poll'

  Actual results:
  The CLI fails to declare an error and stuck with "Server snapshotting... 0"

  Expected results:
  ERROR should be appeared indicating that quota is too small

  
  Additional info:
  log

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


References