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

ASF subversion and git services commented on CLOUDSTACK-7152:
-------------------------------------------------------------

Commit 493fd170543658ac7602e230a336985c59e8e1a1 in cloudstack's branch 
refs/heads/master from [~likithas]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=493fd17 ]

CLOUDSTACK-7152. Attaching datadisk to VMs that have VM snapshot throws 
'Unexpected exception'.
Like with other API commands, ensure input parameter validation for 
AttachVolume happens outside the job queue.


> Attaching datadisk to VMs that have VM snapshot throws 'Unexpected exception'
> -----------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7152
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7152
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Volumes
>    Affects Versions: 4.5.0
>            Reporter: Likitha Shetty
>            Assignee: Likitha Shetty
>             Fix For: 4.5.0
>
>
> Steps to reproduce
> ------------------------
> 1. Deploy a VM - 'test-vm'
> 2. Create a VM snapshot
> 3. Create a volume - 'test-volume'
> 4. Try to attach 'test-volume' to 'test-vm'
> UI throws 'Unexpected exception'. But in the logs you can see the following 
> error -
> {noformat}
> Caused by: java.lang.RuntimeException: Job failed due to exception Unable to 
> attach volume, please specify a VM that does not have VM snapshots
> {noformat}
> Expected result -
> UI should throw an appropriate error message



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

Reply via email to