omurozlu commented on issue #9440:
URL: https://github.com/apache/cloudstack/issues/9440#issuecomment-2250320166

   Hello,
   
   im make this working backup but restore make give this error
   
   Does anyone have any ideas on this subject?
   
   <img width="2298" alt="Screenshot 2024-07-25 at 16 24 32" 
src="https://github.com/user-attachments/assets/aa93f89b-cbaf-450d-911c-497b834857b3";>
   
   
   
   ```2024-07-25 16:18:14,753 DEBUG [c.c.a.m.AgentManagerImpl] 
(AgentManager-Handler-13:null) (logid:) Ping from 10(v-2-VM)
   2024-07-25 16:18:14,817 DEBUG [c.c.h.g.VMwareGuru] 
(API-Job-Executor-7:ctx-483a914e job-550 ctx-bde8dc82) (logid:b7e45425) VM 
restore mapping for disk 
com.vmware.vim25.VirtualDiskFlatVer2BackingInfo@628136c9 (capacity: (100.00 GB) 
107374182400) with volume ID55
   2024-07-25 16:18:14,818 DEBUG [c.c.h.g.VMwareGuru] 
(API-Job-Executor-7:ctx-483a914e job-550 ctx-bde8dc82) (logid:b7e45425) Trying 
to find network with vlan: [1006].
   2024-07-25 16:18:14,821 DEBUG [c.c.h.g.VMwareGuru] 
(API-Job-Executor-7:ctx-483a914e job-550 ctx-bde8dc82) (logid:b7e45425) Mapping 
network vlan [1006] to networkVO [id: b2184e9d-26a4-4f32-897b-c835ba0959cd].
   2024-07-25 16:18:14,830 ERROR [o.a.c.b.BackupManagerImpl] 
(API-Job-Executor-7:ctx-483a914e job-550 ctx-bde8dc82) (logid:b7e45425) Failed 
to import VM [vmInternalName: i-2-20-VM] from backup restoration 
[{"backupType":"Full","externalId":"56590451-d12e-468a-8722-db7b67881bff","id":1,"uuid":"56fe2d70-fc02-4e49-b8d4-c6cc225a84b9","vmId":20}]
 with hypervisor [type: VMware] due to: [null].
   java.lang.NullPointerException
           at 
com.cloud.hypervisor.guru.VMwareGuru.importVirtualMachineFromBackup(VMwareGuru.java:1169)
           at 
org.apache.cloudstack.backup.BackupManagerImpl.importRestoredVM(BackupManagerImpl.java:570)
           at 
org.apache.cloudstack.backup.BackupManagerImpl.restoreBackup(BackupManagerImpl.java:623)
           at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.base/java.lang.reflect.Method.invoke(Method.java:566)
           at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
           at 
org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
           at 
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:52)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
           at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
           at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
           at com.sun.proxy.$Proxy330.restoreBackup(Unknown Source)
           at 
org.apache.cloudstack.api.command.user.backup.RestoreBackupCmd.execute(RestoreBackupCmd.java:77)
           at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:172)
           at 
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:112)
           at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:654)
           at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
           at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
           at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
           at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
           at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)
           at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:602)
           at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
           at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
           at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
           at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
           at java.base/java.lang.Thread.run(Thread.java:829)
   2024-07-25 16:18:14,848 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-7:ctx-483a914e job-550) (logid:b7e45425) Complete async 
job-550, jobStatus: FAILED, resultCode: 530, result: 
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":"530"}
   2024-07-25 16:18:14,850 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-7:ctx-483a914e job-550) (logid:b7e45425) Publish async 
job-550 complete on message bus
   2024-07-25 16:18:14,850 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-7:ctx-483a914e job-550) (logid:b7e45425) Wake up jobs related 
to job-550
   2024-07-25 16:18:14,850 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-7:ctx-483a914e job-550) (logid:b7e45425) Update db status for 
job-550
   2024-07-25 16:18:14,852 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-7:ctx-483a914e job-550) (logid:b7e45425) Wake up jobs joined 
with job-550 and disjoin all subjobs created from job- 550
   2024-07-25 16:18:14,860 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-7:ctx-483a914e job-550) (logid:b7e45425) Done executing 
org.apache.cloudstack.api.command.user.backup.RestoreBackupCmd for job-550
   2024-07-25 16:18:14,861 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(API-Job-Executor-7:ctx-483a914e job-550) (logid:b7e45425) Remove job-550 from 
job monitoring
   2024-07-25 16:18:14,917 DEBUG [c.c.a.ApiServlet] 
(qtp660017404-920:ctx-1ab4bb5f) (logid:917861ca) ===START===  192.168.161.8 -- 
GET  
jobId=b7e45425-dd27-4a0f-8361-ac305a3b0963&command=queryAsyncJobResult&response=json
   2024-07-25 16:18:14,917 DEBUG [c.c.a.ApiServlet] 
(qtp660017404-920:ctx-1ab4bb5f) (logid:917861ca) Two factor authentication is 
already verified for the user 2, so skipping
   ```


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to