borisstoyanov opened a new issue #275: [BUG] Revert volume snapshot is not 
successful 
URL: https://github.com/apache/cloudstack-primate/issues/275
 
 
   **Describe the bug**
   A clear and concise description of what the bug is.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Go to Snapshots and select a snapshot
   2. Click on Revert snapshot 
   4. See error
   
   **Expected behavior**
   Snapshot should be reverted successfully 
   
   **Screenshots**
   ![Uploading Screenshot 2020-04-01 at 13.11.43.png…]()
   
   **Desktop (please complete the following information):**
    - OS: Mac 
    - Browser Chroma
    - Version Latest
   
   **Additional context**
   ```
   2020-04-01 12:15:12,849 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(API-Job-Executor-15:ctx-51b1bfc2 job-632) (logid:45cab025) Add job-632 into 
job monitoring
   2020-04-01 12:15:12,852 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(qtp1047087935-1259:ctx-1816c372 ctx-e3c40d33) (logid:388145ec) submit async 
job-632, details: AsyncJobVO {id:632, userId: 2, accountId: 2, instanceType: 
Snapshot, instanceId: 1, cmd: 
org.apache.cloudstack.api.command.user.snapshot.RevertSnapshotCmd, cmdInfo: 
{"response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"21630","id":"c33ccec4-fec2-4b42-9afa-edb861fe623d","ctxDetails":"{\"interface
 
com.cloud.storage.Snapshot\":\"c33ccec4-fec2-4b42-9afa-edb861fe623d\"}","ctxAccountId":"2","uuid":"c33ccec4-fec2-4b42-9afa-edb861fe623d","cmdEventType":"SNAPSHOT.REVERT"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 32987093664140, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null, removed: null}
   2020-04-01 12:15:12,854 DEBUG [c.c.a.ApiServlet] 
(qtp1047087935-1259:ctx-1816c372 ctx-e3c40d33) (logid:388145ec) ===END===  
94.236.255.94 -- GET  
id=c33ccec4-fec2-4b42-9afa-edb861fe623d&command=revertSnapshot&response=json
   2020-04-01 12:15:12,857 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-15:ctx-51b1bfc2 job-632) (logid:36631a17) Executing 
AsyncJobVO {id:632, userId: 2, accountId: 2, instanceType: Snapshot, 
instanceId: 1, cmd: 
org.apache.cloudstack.api.command.user.snapshot.RevertSnapshotCmd, cmdInfo: 
{"response":"json","ctxUserId":"2","httpmethod":"GET","ctxStartEventId":"21630","id":"c33ccec4-fec2-4b42-9afa-edb861fe623d","ctxDetails":"{\"interface
 
com.cloud.storage.Snapshot\":\"c33ccec4-fec2-4b42-9afa-edb861fe623d\"}","ctxAccountId":"2","uuid":"c33ccec4-fec2-4b42-9afa-edb861fe623d","cmdEventType":"SNAPSHOT.REVERT"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 32987093664140, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null, removed: null}
   2020-04-01 12:15:12,906 ERROR [c.c.s.s.SnapshotManagerImpl] 
(API-Job-Executor-15:ctx-51b1bfc2 job-632 ctx-32bfc5db) (logid:36631a17) Unable 
to find snaphot strategy to handle snapshot with id '1'
   2020-04-01 12:15:12,907 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-15:ctx-51b1bfc2 job-632) (logid:36631a17) Complete async 
job-632, jobStatus: FAILED, resultCode: 530, result: 
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed
 to revert snapshot"}
   2020-04-01 12:15:12,912 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-15:ctx-51b1bfc2 job-632) (logid:36631a17) Publish async 
job-632 complete on message bus
   2020-04-01 12:15:12,912 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-15:ctx-51b1bfc2 job-632) (logid:36631a17) Wake up jobs 
related to job-632
   2020-04-01 12:15:12,912 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-15:ctx-51b1bfc2 job-632) (logid:36631a17) Update db status 
for job-632
   2020-04-01 12:15:12,914 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-15:ctx-51b1bfc2 job-632) (logid:36631a17) Wake up jobs joined 
with job-632 and disjoin all subjobs created from job- 632
   2020-04-01 12:15:12,921 DEBUG [c.c.a.ApiServlet] 
(qtp1047087935-18:ctx-c1f8f197) (logid:5e01cb02) ===START===  94.236.255.94 -- 
GET  
jobId=36631a17-a0e6-46d9-9091-e9d76b4cca68&command=queryAsyncJobResult&response=json
   2020-04-01 12:15:12,936 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-15:ctx-51b1bfc2 job-632) (logid:36631a17) Done executing 
org.apache.cloudstack.api.command.user.snapshot.RevertSnapshotCmd for job-632
   2020-04-01 12:15:12,936 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(API-Job-Executor-15:ctx-51b1bfc2 job-632) (logid:36631a17) Remove job-632 from 
job monitoring
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to