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

Volume Snapshot Async Job returns Success for a failed operation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.3.0
    • 4.5.0
    • Storage Controller
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Setup :
      Single zone , two clusters , one host in each cluster , have cluster wide storages and one zone wide primary storage

      Steps:

      1. Install and configure Adv zone with Vmware 5.5.
      2. Deploy VM with DATA disk using Zonewide storage tagged offering and ensure that root and data disk of this VM are placed in ZWPS
      3. Stop the VM and Try to create Volume snapshots till it gets failed.

      Observation:
      1. It failed to create snapshot due to some temporary network issues .

      But It is returning success for a failed operation.

      2014-10-13 17:39:52,365 DEBUG [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor-12:ctx-9c1911cf job-36/job-37 ctx-14ac0075) Done executing VM work job: com.cloud.storage.VmWorkTakeVolumeSnapshot

      {"volumeId":4,"policyId":0,"snapshotId":7,"quiesceVm":false,"userId":2,"accountId":3,"vmId":3,"handlerName":"VolumeApiServiceImpl"}

      2014-10-13 17:39:52,365 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-12:ctx-9c1911cf job-36/job-37 ctx-14ac0075) Complete async job-37, jobStatus: SUCCEEDED, resultCode: 0, result: rO0ABXNyAA5qYXZhLmxhbmcuTG9uZzuL5JDMjyPfAgABSgAFdmFsdWV4cgAQamF2YS5sYW5nLk51bWJlcoaslR0LlOCLAgAAeHAAAAAAAAAABw
      2014-10-13 17:39:52,375 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-12:ctx-9c1911cf job-36/job-37) Done with run of VM work job: com.cloud.storage.VmWorkTakeVolumeSnapshot for VM 3, job origin: 36
      2014-10-13 17:39:52,375 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Executor-12:ctx-9c1911cf job-36/job-37) Done executing com.cloud.storage.VmWorkTakeVolumeSnapshot for job-37
      2014-10-13 17:39:52,392 DEBUG [o.a.c.f.j.i.SyncQueueManagerImpl] (Work-Job-Executor-12:ctx-9c1911cf job-36/job-37) Sync queue (3) is currently empty
      2014-10-13 17:39:52,393 INFO [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-12:ctx-9c1911cf job-36/job-37) Remove job-37 from job monitoring
      2014-10-13 17:39:52,395 DEBUG [c.c.a.ApiResponseHelper] (API-Job-Executor-21:ctx-d9e77f3d job-36 ctx-16075f77) Unable to find info for image store snapshot with uuid 91fec32b-77f1-42af-909d-acca69772581
      2014-10-13 17:39:52,396 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-21:ctx-d9e77f3d job-36 ctx-16075f77) Complete async job-36, jobStatus: SUCCEEDED, resultCode: 0, result: org.apache.cloudstack.api.response.SnapshotResponse/snapshot/

      {"id":"91fec32b-77f1-42af-909d-acca69772581","account":"cdcuser1","domainid":"0dc68c16-49d3-47ef-9ae2-40e043d3fe81","domain":"cdc","snapshottype":"MANUAL","volumeid":"5097706f-97d6-4133-b010-3c803bca66cf","volumename":"DATA-3","volumetype":"DATADISK","created":"2014-10-13T17:39:43+0530","name":"cdcuserinst1_DATA-3_20141013120943","intervaltype":"MANUAL","state":"Error","tags":[],"revertable":false}

      2014-10-13 17:39:52,417 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-21:ctx-d9e77f3d job-36) Done executing org.apache.cloudstack.api.command.user.snapshot.CreateSnapshotCmd for job-36

      Attachments

        Issue Links

          Activity

            People

              minchen07 Min Chen
              minchen07 Min Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: