Pavan Kumar Bandarupally created CLOUDSTACK-5648:
----------------------------------------------------
Summary: 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)