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

Min Chen commented on CLOUDSTACK-5648:
--------------------------------------

 I have checked in a backend fix into 4.3, which requires a corresponding UI 
fix to finally resolve this issue. That is, when the template to be copied is 
not associated with a specific zone (from UI template listing page, zone column 
is empty), UI should invoke copyTemplate api without passing sourcezoneid 
parameter, then this bug should be fixed. Jessica, can you address that in UI 
code?

> CopyTemplate and CopyISO across zones fails after NFS migration to S3
> ---------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5648
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5648
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: ISO, Template
>    Affects Versions: 4.3.0
>         Environment: Multiple zones with Xenserver host in one zone and KVM 
> host in another
> 4.3 Management Server
>            Reporter: Pavan Kumar Bandarupally
>            Priority: Blocker
>             Fix For: 4.3.0
>
>
> Copying a template across zones throws an error. 
> I have migrated NFS storage for each zone to Object store. The templates and 
> ISOs on the NFS stores prior to migration. When we try to copy them across 
> zones after migration to Object store, an error is thrown.
> 2013-12-26 19:48:01,182 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-9:ctx-0ef95fd9) ===START===  10.146.0.11 -- GET  
> command=copyTemplate&id=8cc2d430-6cb4-11e3-8c94-064a0c000020&sourcezoneid=undefined&destzoneid=1f7a3adf-d65c-44cd-9e27-97e8100779dc&response=json&sessionkey=mI5C%2FdjWSjiTSOQbRTodZYH4bOQ%3D&_=1388048113932
> 2013-12-26 19:48:01,951 DEBUG [c.c.a.ApiDispatcher] 
> (catalina-exec-9:ctx-0ef95fd9 ctx-65dcf2b1) Object entity uuid = undefined 
> does not exist in the database.
> 2013-12-26 19:48:01,966 INFO  [c.c.a.ApiServer] (catalina-exec-9:ctx-0ef95fd9 
> ctx-65dcf2b1) Unable to execute API command copytemplate due to invalid 
> value. Invalid parameter sourcezoneid value=undefined due to incorrect long 
> value format, or entity does not exist or due to incorrect parameter 
> annotation for the field in api cmd class.
> 2013-12-26 19:48:01,970 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-9:ctx-0ef95fd9 ctx-65dcf2b1) ===END===  10.146.0.11 -- GET  
> command=copyTemplate&id=8cc2d430-6cb4-11e3-8c94-064a0c000020&sourcezoneid=undefined&destzoneid=1f7a3adf-d65c-44cd-9e27-97e8100779dc&response=json&sessionkey=mI5C%2FdjWSjiTSOQbRTodZYH4bOQ%3D&_=1388048113932



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to