Bug 985835 - cinder [TEXT]: error output when trying to create a volume from a snapshot which is in error state is not completely clear
Summary: cinder [TEXT]: error output when trying to create a volume from a snapshot wh...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: 4.0
Assignee: RHOS Maint
QA Contact: Haim
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-18 10:57 UTC by Dafna Ron
Modified: 2016-04-26 14:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-20 09:25:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dafna Ron 2013-07-18 10:57:30 UTC
Description of problem:

when we try to create a volume from a snapshot which is in error status we are getting the below error: 

ERROR: Invalid snapshot: status must be available

my first thought when seeing this was that the snapshot itself was not available and not that we are referring to the snapshot's status.

I think that if we change it to: 'snapshot's status must be available'
it would make the error message a clearer 

Version-Release number of selected component (if applicable):

openstack-cinder-2013.1.2-3.el6ost.noarch

How reproducible:

100%

Steps to Reproduce:
1. change openstack to work with external nfs storage 
2. create snapshot for a volume
3. create a volume from the snapshot

Actual results:

we fail to create the snapshot with the following error: 

ERROR: Invalid snapshot: status must be available

Expected results:

I think that if we add the word snapshot's before 'status must be available' it will make the error a bit clearer. 

Additional info:

Comment 1 Ayal Baron 2013-08-20 09:25:30 UTC
The error states that the snapshot is invalid, the status should be 'available'.


Note You need to log in before you can comment on or make changes to this bug.