[
https://issues.apache.org/jira/browse/CLOUDSTACK-5825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13925474#comment-13925474
]
Namita Chaudhari commented on CLOUDSTACK-5825:
----------------------------------------------
I tried to create the volume snapshot. When the volume snapshot creation
failed, the API threw an exception saying "Failed to create the snapshot due to
an internal error for volume x".
I have attached the log (Snapshot_Logs.txt) and snapshot (snapshot_failure.jpg)
for the same.
> Create snapshot API always returns success
> ------------------------------------------
>
> Key: CLOUDSTACK-5825
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5825
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Affects Versions: 4.3.0
> Reporter: Chris Suich
> Priority: Critical
> Labels: api, create, snapshot
> Attachments: Snapshot_Logs.txt, snapshot_failure.JPG
>
>
> VolumeApiServiceImpl.orchestrateTakeVolumeSnapshot() to
> VolumeServiceImpl.takeSnapshot(), you’ll notice that ANY exception that is
> thrown inside of SnapshotManager.takeSnapshot() is simply caught and ignored.
> Back up in VolumeApiServiceImpl.orchestrateTakeVolumeSnapshot(),
> JobInfo.Status.SUCCEEDED is ALWAYS returned, regardless of the snapshot
> result.
--
This message was sent by Atlassian JIRA
(v6.2#6252)