[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13926294#comment-13926294
 ] 

Mike Tutkowski commented on CLOUDSTACK-5583:
--------------------------------------------

Hi,

Here is how I reproduced it:

I created an iSCSI volume on my SAN that is only 2 GB.

I created a XenServer SR based on this SAN volume.

I created Primary Storage in CloudStack based on this XenServer SR.

I created a Disk Offering that was storage tagged to use this Primary Storage. 
It will lead to the creation of a 1 GB volume when executed and attached to a 
VM for the first time.

I executed the Disk Offering to create a CloudStack volume and attached this 
volume to a VM.

I took two hypervisor snapshots of the VM, then reverted to the first 
hypervisor snapshot.

I looked at the SR that should contain my CloudStack volume and its hypervisor 
snapshots. I saw two snapshots, but no active VDI. I should see two hypervisor 
snapshots and an active VDI.

Thanks!

> vmopsSnapshot plug-in (XenServer) does not return an error when it should
> -------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5583
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5583
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Xen
>    Affects Versions: 4.3.0
>         Environment: XenServer 6.1
>            Reporter: Mike Tutkowski
>             Fix For: 4.3.0
>
>
> I tried to revert a VM snapshot and one of my storage repositories had an 
> insufficient amount of space. The plug-in did not return an error message (it 
> returned "0").
> From the XenServer vmopsSnapshot plug-in's revert_memory_snapshot method:
> [root@XenServer-6 ~]# xe snapshot-revert 
> snapshot-uuid=82e33f6d-59f3-a26d-4171-d51cd58716d8
> Error code: SR_BACKEND_FAILURE_44
> Error parameters: , There is insufficient space, 
> An error should be returned from the plug-in instead of "0".



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to