Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-5133

few templates lost, cause can not download and launch vm from that

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 4.2.0
    • None
    • None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • cloudstack 4.2
      xenserver 6.2

    Description

      used this version for a while, when i gonna download template, report error.
      then i try to find in ssvm and secondary storage.

      root@s-1-VM:~# cd /var/www/html/userdata/
      root@s-1-VM:/var/www/html/userdata# ls -l f6b31479-7fd8-4ffb-b978-2f3490576704.vhd
      lrwxrwxrwx 1 root root 113 Nov 11 07:58 f6b31479-7fd8-4ffb-b978-2f3490576704.vhd -> /mnt/SecStorage/59ee7371-e695-3ae4-afd6-01640d61a49b/template/tmpl/3/305/29c49727-eb59-4781-978e-342e9c00a944.vhd
      root@s-1-VM:/var/www/html/userdata#
      root@s-1-VM:/var/www/html/userdata#
      root@s-1-VM:/var/www/html/userdata# cd /mnt/SecStorage/59ee7371-e695-3ae4-afd6-01640d61a49b/template/tmpl/3/305/
      root@s-1-VM:/mnt/SecStorage/59ee7371-e695-3ae4-afd6-01640d61a49b/template/tmpl/3/305# ls
      template.properties ******* no templatefile******
      root@s-1-VM:/mnt/SecStorage/59ee7371-e695-3ae4-afd6-01640d61a49b/template/tmpl/3/305#

      i check the logs, there is no information why it has been delete. BTW, in cloudstack web UI ,that template is already there and status is ready.

      there is a Warn in log below:

      2013-11-07 11:09:51,863 WARN [xen.resource.CitrixResourceBase] (DirectAgent-476:null) Error while collecting disk stats from :
      You gave an invalid object reference. The object may have recently been deleted. The class parameter gives the type of reference given, and the handle parameter echoes the bad value given.
      at com.xensource.xenapi.Types.checkResponse(Types.java:209)
      at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
      at com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
      at com.xensource.xenapi.VBDMetrics.getIoReadKbs(VBDMetrics.java:210)
      at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getVmStats(CitrixResourceBase.java:2749)
      at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2649)
      at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:493)
      at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
      at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:104)
      at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:679)

      why does this happen?

      Attachments

        Activity

          People

            Unassigned Unassigned
            clayone huangtao87
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: