← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: glance
     Importance: Undecided
         Status: New

** Attachment added: "Glance log"
   https://bugs.launchpad.net/bugs/1470047/+attachment/4422326/+files/api.log.tar.gz

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1470047

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

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

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/glance/+bug/1470047/+subscriptions


Follow ups

References