[jira] [Commented] (CLOUDSTACK-5259) Xenserver - Not able to create template from snapshot.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13966209#comment-13966209 ] ASF subversion and git services commented on CLOUDSTACK-5259: - Commit ee0254352b3894f14cb11e5cc688f57405935ee3 in cloudstack's branch refs/heads/4.2 from [~aprateek] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ee02543 ] CLOUDSTACK-5259: added 32 bit support for vhd-util > Xenserver - Not able to create template from snapshot. > --- > > Key: CLOUDSTACK-5259 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5259 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Affects Versions: 4.3.0 > Environment: Build from 4.3 >Reporter: Sangeetha Hariharan >Assignee: Abhinandan Prateek >Priority: Critical > Fix For: 4.3.0 > > Attachments: management-server.rar, xen1-2.rar, xen1.rar, xen2.rar > > > Xenserver - Not able to create template from snapshot. > Steps to reproduce the problem: > Set up - Advanced zone with Xenserver 6.2 > Created hourly recurring snapshot. > Create a template from snapshot. > Template creation fails with the following exception: > Failed to create > template/usr/local/cloud/systemvm/scripts/storage/secondary/create_privatetemplate_from_snapshot_xen.sh: > line 65: /bin/vhd-util: No such file or directory30#failed to query > /mnt/SecStorage/8d6190f7-3fc3-3a66-8a8c-bd8e50f2bbc6/snapshots/9/89/a2c06f0c-92e4-41b2-a4cb-7d1675146111.vhd > We see the following vhd file exist in the secondary store. > root@nfs3 89]# pwd > /export/home/sangeetha/felton/xen/secondary/snapshots/9/89 > [root@nfs3 89]# ls -ltr > total 2579628 > -rw-r--r-- 1 root root 7186309632 Nov 22 15:42 > 8546a63f-dc01-4348-babc-c34c138579c7.vhd > -rw-r--r-- 1 root root 155537920 Nov 22 16:36 > 9d1404ca-c97e-4f6b-a1a4-3bb5fb1d3900.vhd > -rw-r--r-- 1 root root 229081600 Nov 24 18:52 > 0323b0cb-446e-4550-a443-d135c4a960b8.vhd > -rw-r--r-- 1 root root 75690496 Nov 24 19:35 > e440d533-c5cf-464c-940a-505d5b0108c4.vhd > -rw-r--r-- 1 root root 81994240 Nov 24 20:35 > 53f884fb-cd9c-4c35-bcf1-b90f3ce0ea5f.vhd > -rw-r--r-- 1 root root 81994240 Nov 24 21:35 > 8ad156ad-e63f-44e1-a8ad-7bcc8acd0b26.vhd > -rw-r--r-- 1 root root 79892992 Nov 24 22:35 > 2781b5af-7c92-482c-8775-f331c7df9b2b.vhd > -rw-r--r-- 1 root root 75690496 Nov 24 23:35 > a2c06f0c-92e4-41b2-a4cb-7d1675146111.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 00:35 > 3bd9fe33-ce59-4148-825f-f9e75e56d088.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 01:35 > ab414c2b-ed16-4ee2-b3f8-d17b5075fe8d.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 02:35 > cdd97481-d32d-4350-aaae-0a2132c2d934.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 03:35 > 1d82a5a0-1a75-44f3-8a27-dffcf1127b62.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 04:35 > 061043e7-9c22-404c-88e5-183ab4590f5e.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 05:35 > f82e0d43-e83b-493b-b953-6f06a94a369b.vhd > -rw-r--r-- 1 root root 84095488 Nov 25 06:35 > 6c0065ad-9fc0-4ce6-957c-0475153c2ed4.vhd > [root@nfs3 89]# > Management server logs: > 2013-11-25 13:01:43,109 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (catalina-exec-15:ctx-8576afd8 ctx-2f9b87f6) submit async job-726, details: > AsyncJobVO {id:726, userI > d: 2, accountId: 2, instanceType: Template, instanceId: 204, cmd: > org.apache.cloudstack.api.command.user.template.CreateTemplateCmd, cmdInfo: > {"sessionkey":"2I2cmFDP > FQyACWMGWW8h54MGdC0\u003d","cmdEventType":"TEMPLATE.CREATE","ctxUserId":"2","httpmethod":"GET","osTypeId":"e7460654-52fe-11e3-821d-665544288891","isPublic":"true","i > sdynamicallyscalable":"false","response":"json","id":"204","displayText":"temp99","snapshotid":"b6e507c5-3758-458f-bc98-01e69e2402b0","passwordEnabled":"false","name > ":"temp99","_":"1385402509285","ctxAccountId":"2","ctxStartEventId":"21369"}, > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: > null, init > Msid: 112516401760401, completeMsid: null, lastUpdated: null, lastPolled: > null, created: null} > 2013-11-25 13:01:43,110 DEBUG [c.c.a.ApiServlet] > (catalina-exec-15:ctx-8576afd8 ctx-2f9b87f6) ===END=== 10.215.3.7 -- GET > command=createTemplate&response=json&sess > ionkey=2I2cmFDPFQyACWMGWW8h54MGdC0%3D&snapshotid=b6e507c5-3758-458f-bc98-01e69e2402b0&name=temp99&displayText=temp99&osTypeId=e7460654-52fe-11e3-821d-665544288891&is > Public=true&passwordEnabled=false&isdynamicallyscalable=false&_=1385402509285 > 2013-11-25 13:01:43,127 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] > (Job-Executor-105:ctx-d53e3263 ctx-2f9b87f6) template 204 is already in > store:1, type:Image > 2
[jira] [Commented] (CLOUDSTACK-5259) Xenserver - Not able to create template from snapshot.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13846186#comment-13846186 ] ASF subversion and git services commented on CLOUDSTACK-5259: - Commit bbeb164abffb3d0a973229f53fe80c469c391219 in branch refs/heads/master from [~aprateek] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=bbeb164 ] CLOUDSTACK-5259: added 32 bit support for vhd-util > Xenserver - Not able to create template from snapshot. > --- > > Key: CLOUDSTACK-5259 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5259 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Affects Versions: 4.3.0 > Environment: Build from 4.3 >Reporter: Sangeetha Hariharan >Assignee: Abhinandan Prateek >Priority: Critical > Fix For: 4.3.0 > > Attachments: management-server.rar, xen1-2.rar, xen1.rar, xen2.rar > > > Xenserver - Not able to create template from snapshot. > Steps to reproduce the problem: > Set up - Advanced zone with Xenserver 6.2 > Created hourly recurring snapshot. > Create a template from snapshot. > Template creation fails with the following exception: > Failed to create > template/usr/local/cloud/systemvm/scripts/storage/secondary/create_privatetemplate_from_snapshot_xen.sh: > line 65: /bin/vhd-util: No such file or directory30#failed to query > /mnt/SecStorage/8d6190f7-3fc3-3a66-8a8c-bd8e50f2bbc6/snapshots/9/89/a2c06f0c-92e4-41b2-a4cb-7d1675146111.vhd > We see the following vhd file exist in the secondary store. > root@nfs3 89]# pwd > /export/home/sangeetha/felton/xen/secondary/snapshots/9/89 > [root@nfs3 89]# ls -ltr > total 2579628 > -rw-r--r-- 1 root root 7186309632 Nov 22 15:42 > 8546a63f-dc01-4348-babc-c34c138579c7.vhd > -rw-r--r-- 1 root root 155537920 Nov 22 16:36 > 9d1404ca-c97e-4f6b-a1a4-3bb5fb1d3900.vhd > -rw-r--r-- 1 root root 229081600 Nov 24 18:52 > 0323b0cb-446e-4550-a443-d135c4a960b8.vhd > -rw-r--r-- 1 root root 75690496 Nov 24 19:35 > e440d533-c5cf-464c-940a-505d5b0108c4.vhd > -rw-r--r-- 1 root root 81994240 Nov 24 20:35 > 53f884fb-cd9c-4c35-bcf1-b90f3ce0ea5f.vhd > -rw-r--r-- 1 root root 81994240 Nov 24 21:35 > 8ad156ad-e63f-44e1-a8ad-7bcc8acd0b26.vhd > -rw-r--r-- 1 root root 79892992 Nov 24 22:35 > 2781b5af-7c92-482c-8775-f331c7df9b2b.vhd > -rw-r--r-- 1 root root 75690496 Nov 24 23:35 > a2c06f0c-92e4-41b2-a4cb-7d1675146111.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 00:35 > 3bd9fe33-ce59-4148-825f-f9e75e56d088.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 01:35 > ab414c2b-ed16-4ee2-b3f8-d17b5075fe8d.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 02:35 > cdd97481-d32d-4350-aaae-0a2132c2d934.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 03:35 > 1d82a5a0-1a75-44f3-8a27-dffcf1127b62.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 04:35 > 061043e7-9c22-404c-88e5-183ab4590f5e.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 05:35 > f82e0d43-e83b-493b-b953-6f06a94a369b.vhd > -rw-r--r-- 1 root root 84095488 Nov 25 06:35 > 6c0065ad-9fc0-4ce6-957c-0475153c2ed4.vhd > [root@nfs3 89]# > Management server logs: > 2013-11-25 13:01:43,109 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (catalina-exec-15:ctx-8576afd8 ctx-2f9b87f6) submit async job-726, details: > AsyncJobVO {id:726, userI > d: 2, accountId: 2, instanceType: Template, instanceId: 204, cmd: > org.apache.cloudstack.api.command.user.template.CreateTemplateCmd, cmdInfo: > {"sessionkey":"2I2cmFDP > FQyACWMGWW8h54MGdC0\u003d","cmdEventType":"TEMPLATE.CREATE","ctxUserId":"2","httpmethod":"GET","osTypeId":"e7460654-52fe-11e3-821d-665544288891","isPublic":"true","i > sdynamicallyscalable":"false","response":"json","id":"204","displayText":"temp99","snapshotid":"b6e507c5-3758-458f-bc98-01e69e2402b0","passwordEnabled":"false","name > ":"temp99","_":"1385402509285","ctxAccountId":"2","ctxStartEventId":"21369"}, > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: > null, init > Msid: 112516401760401, completeMsid: null, lastUpdated: null, lastPolled: > null, created: null} > 2013-11-25 13:01:43,110 DEBUG [c.c.a.ApiServlet] > (catalina-exec-15:ctx-8576afd8 ctx-2f9b87f6) ===END=== 10.215.3.7 -- GET > command=createTemplate&response=json&sess > ionkey=2I2cmFDPFQyACWMGWW8h54MGdC0%3D&snapshotid=b6e507c5-3758-458f-bc98-01e69e2402b0&name=temp99&displayText=temp99&osTypeId=e7460654-52fe-11e3-821d-665544288891&is > Public=true&passwordEnabled=false&isdynamicallyscalable=false&_=1385402509285 > 2013-11-25 13:01:43,127 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] > (Job-Executor-105:ctx-d53e3263 ctx-2f9b87f6) template 204 is already in > store:1, type:Image > 2013-11-25
[jira] [Commented] (CLOUDSTACK-5259) Xenserver - Not able to create template from snapshot.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-5259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13846185#comment-13846185 ] ASF subversion and git services commented on CLOUDSTACK-5259: - Commit 0887c739619cc816c8524990b7ee5c0b599dd6bc in branch refs/heads/4.3 from [~aprateek] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=0887c73 ] CLOUDSTACK-5259: added 32 bit support for vhd-util > Xenserver - Not able to create template from snapshot. > --- > > Key: CLOUDSTACK-5259 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5259 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Affects Versions: 4.3.0 > Environment: Build from 4.3 >Reporter: Sangeetha Hariharan >Assignee: Abhinandan Prateek >Priority: Critical > Fix For: 4.3.0 > > Attachments: management-server.rar, xen1-2.rar, xen1.rar, xen2.rar > > > Xenserver - Not able to create template from snapshot. > Steps to reproduce the problem: > Set up - Advanced zone with Xenserver 6.2 > Created hourly recurring snapshot. > Create a template from snapshot. > Template creation fails with the following exception: > Failed to create > template/usr/local/cloud/systemvm/scripts/storage/secondary/create_privatetemplate_from_snapshot_xen.sh: > line 65: /bin/vhd-util: No such file or directory30#failed to query > /mnt/SecStorage/8d6190f7-3fc3-3a66-8a8c-bd8e50f2bbc6/snapshots/9/89/a2c06f0c-92e4-41b2-a4cb-7d1675146111.vhd > We see the following vhd file exist in the secondary store. > root@nfs3 89]# pwd > /export/home/sangeetha/felton/xen/secondary/snapshots/9/89 > [root@nfs3 89]# ls -ltr > total 2579628 > -rw-r--r-- 1 root root 7186309632 Nov 22 15:42 > 8546a63f-dc01-4348-babc-c34c138579c7.vhd > -rw-r--r-- 1 root root 155537920 Nov 22 16:36 > 9d1404ca-c97e-4f6b-a1a4-3bb5fb1d3900.vhd > -rw-r--r-- 1 root root 229081600 Nov 24 18:52 > 0323b0cb-446e-4550-a443-d135c4a960b8.vhd > -rw-r--r-- 1 root root 75690496 Nov 24 19:35 > e440d533-c5cf-464c-940a-505d5b0108c4.vhd > -rw-r--r-- 1 root root 81994240 Nov 24 20:35 > 53f884fb-cd9c-4c35-bcf1-b90f3ce0ea5f.vhd > -rw-r--r-- 1 root root 81994240 Nov 24 21:35 > 8ad156ad-e63f-44e1-a8ad-7bcc8acd0b26.vhd > -rw-r--r-- 1 root root 79892992 Nov 24 22:35 > 2781b5af-7c92-482c-8775-f331c7df9b2b.vhd > -rw-r--r-- 1 root root 75690496 Nov 24 23:35 > a2c06f0c-92e4-41b2-a4cb-7d1675146111.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 00:35 > 3bd9fe33-ce59-4148-825f-f9e75e56d088.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 01:35 > ab414c2b-ed16-4ee2-b3f8-d17b5075fe8d.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 02:35 > cdd97481-d32d-4350-aaae-0a2132c2d934.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 03:35 > 1d82a5a0-1a75-44f3-8a27-dffcf1127b62.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 04:35 > 061043e7-9c22-404c-88e5-183ab4590f5e.vhd > -rw-r--r-- 1 root root 81994240 Nov 25 05:35 > f82e0d43-e83b-493b-b953-6f06a94a369b.vhd > -rw-r--r-- 1 root root 84095488 Nov 25 06:35 > 6c0065ad-9fc0-4ce6-957c-0475153c2ed4.vhd > [root@nfs3 89]# > Management server logs: > 2013-11-25 13:01:43,109 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (catalina-exec-15:ctx-8576afd8 ctx-2f9b87f6) submit async job-726, details: > AsyncJobVO {id:726, userI > d: 2, accountId: 2, instanceType: Template, instanceId: 204, cmd: > org.apache.cloudstack.api.command.user.template.CreateTemplateCmd, cmdInfo: > {"sessionkey":"2I2cmFDP > FQyACWMGWW8h54MGdC0\u003d","cmdEventType":"TEMPLATE.CREATE","ctxUserId":"2","httpmethod":"GET","osTypeId":"e7460654-52fe-11e3-821d-665544288891","isPublic":"true","i > sdynamicallyscalable":"false","response":"json","id":"204","displayText":"temp99","snapshotid":"b6e507c5-3758-458f-bc98-01e69e2402b0","passwordEnabled":"false","name > ":"temp99","_":"1385402509285","ctxAccountId":"2","ctxStartEventId":"21369"}, > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: > null, init > Msid: 112516401760401, completeMsid: null, lastUpdated: null, lastPolled: > null, created: null} > 2013-11-25 13:01:43,110 DEBUG [c.c.a.ApiServlet] > (catalina-exec-15:ctx-8576afd8 ctx-2f9b87f6) ===END=== 10.215.3.7 -- GET > command=createTemplate&response=json&sess > ionkey=2I2cmFDPFQyACWMGWW8h54MGdC0%3D&snapshotid=b6e507c5-3758-458f-bc98-01e69e2402b0&name=temp99&displayText=temp99&osTypeId=e7460654-52fe-11e3-821d-665544288891&is > Public=true&passwordEnabled=false&isdynamicallyscalable=false&_=1385402509285 > 2013-11-25 13:01:43,127 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] > (Job-Executor-105:ctx-d53e3263 ctx-2f9b87f6) template 204 is already in > store:1, type:Image > 2013-11-25 13: