[ https://issues.apache.org/jira/browse/CLOUDSTACK-9025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16254510#comment-16254510 ]
ASF GitHub Bot commented on CLOUDSTACK-9025: -------------------------------------------- mike-tutkowski commented on issue #2315: A comprehensive solution for #CLOUDSTACK-9025. URL: https://github.com/apache/cloudstack/pull/2315#issuecomment-344772522 I’m looking at the logic in StorageSystemSnapshotStrategy.java and it actually flows like this: if (volumeInfo.getFormat() == ImageFormat.VHD) { HostVO hostVO = getHost(volumeInfo.getId()); computeClusterSupportsVolumeClone = clusterDao.getSupportsResigning(hostVO.getClusterId()); } else if (volumeInfo.getFormat() == ImageFormat.OVA || volumeInfo.getFormat() == ImageFormat.QCOW2) { computeClusterSupportsVolumeClone = true; } else { throw new CloudRuntimeException("Unsupported format"); } From: Rafael Weingärtner <notificati...@github.com> Reply-To: apache/cloudstack <re...@reply.github.com> Date: Wednesday, November 15, 2017 at 2:59 PM To: apache/cloudstack <cloudst...@noreply.github.com> Cc: "Tutkowski, Mike" <mike.tutkow...@netapp.com>, Mention <ment...@noreply.github.com> Subject: Re: [apache/cloudstack] A comprehensive solution for #CLOUDSTACK-9025. (#2315) @mike-tutkowski<https://github.com/mike-tutkowski> I am now taking into consideration if the storage pool is managed or not. I first load the storage pool where the volume of the snapshot is storage, and then I look for a host that I can use to execute the operation. If the storage pool is of managed type, I am going to check the parameter you mentioned (‘supportsResign’) in the cluster_details table; I am also expecting that property to be set as true if the host supports resign UUIDs. Thanks for your help here ;) P.S. As you mentioned, this changes only affect snapshots in XenServer environments. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<https://github.com/apache/cloudstack/pull/2315#issuecomment-344742229>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AC4SH--VYe8fMnJqzAX4A9cPLYM2XCsCks5s216ugaJpZM4QYrv8>. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Unable to deploy VM instance from template if template spin from linked clone > snapshot > -------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-9025 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9025 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: XenServer > Affects Versions: 4.5.2 > Environment: XenServer 6.5 > Reporter: Anshul Gangwar > Assignee: Anshul Gangwar > Priority: Critical > Fix For: 4.6.0 > > > As default, CloudStack create linked clone snapshot for VM instance . When we > take a snapshot for the VM, and create a template based on such snapshot, > CloudStack only download incremental VHD as template file, as a result, the > VM instance fail to deploy as it is incomplete. -- This message was sent by Atlassian JIRA (v6.4.14#64029)