You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/11/11 09:37:34 UTC

[GitHub] [cloudstack] shwstppr opened a new issue, #6894: vmware: snapshot operation failure with VMs on datastore cluster

shwstppr opened a new issue, #6894:
URL: https://github.com/apache/cloudstack/issues/6894

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   VMware hypervisor plugin
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.17.1.0
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   Advanced zone with VMware hypervisor having datastore-cluster storage
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   N/A
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   Snapshot operations fails for VMs that have volumes on datastore cluster.
   Seen with VMs that have correct DB records wrt vCenter
   
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   Deploy a VM with volumes on DatastoreCluster storage
   Initiate a snapshot operation - create, delete, revert
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Snapshot operation works without any error
   ~~~
   
   ##### ACTUAL RESULTS
   Snapshot operation fails
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   2022-11-11 05:12:27,677 ERROR [c.c.h.v.m.VmwareStorageManagerImpl] (DirectAgent-19:ctx-80524b18 10.1.35.103, job-138/job-139, cmd: DeleteVMSnapshotCommand) (logid:b16f018f) failed to delete vm snapshot i-2-11-VM_VS_20221111045555 of vm i-2-11-VM due to null
   java.lang.NullPointerException
   	at com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.findDatastoreWithBackwardsCompatibility(HypervisorHostHelper.java:241)
   	at com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.getDatastoreAsManagedObjectReference(VmwareStorageManagerImpl.java:1327)
   	at com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.setVolumeToPathAndSize(VmwareStorageManagerImpl.java:1302)
   	at com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:1367)
   	at com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:95)
   	at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:5427)
   	at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:574)
   	at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:315)
   	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 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.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
   	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)
   ~~~
   


-- 
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-unsubscribe@cloudstack.apache.org.apache.org

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


[GitHub] [cloudstack] rohityadavcloud commented on issue #6894: vmware: snapshot operation failure with VMs on datastorecluster

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on issue #6894:
URL: https://github.com/apache/cloudstack/issues/6894#issuecomment-1340628093

   Fixed in https://github.com/apache/cloudstack/pull/6912


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rohityadavcloud closed issue #6894: vmware: snapshot operation failure with VMs on datastorecluster

Posted by GitBox <gi...@apache.org>.
rohityadavcloud closed issue #6894: vmware: snapshot operation failure with VMs on datastorecluster
URL: https://github.com/apache/cloudstack/issues/6894


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rohityadavcloud closed issue #6894: vmware: snapshot operation failure with VMs on datastorecluster

Posted by GitBox <gi...@apache.org>.
rohityadavcloud closed issue #6894: vmware: snapshot operation failure with VMs on datastorecluster
URL: https://github.com/apache/cloudstack/issues/6894


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] vladimirpetrov commented on issue #6894: vmware: snapshot operation failure with VMs on datastorecluster

Posted by GitBox <gi...@apache.org>.
vladimirpetrov commented on issue #6894:
URL: https://github.com/apache/cloudstack/issues/6894#issuecomment-1337666565

   LGTM based on manual testing.


-- 
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-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rohityadavcloud commented on issue #6894: vmware: snapshot operation failure with VMs on datastorecluster

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on issue #6894:
URL: https://github.com/apache/cloudstack/issues/6894#issuecomment-1332113274

   Fixed in https://github.com/apache/cloudstack/pull/6907


-- 
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-unsubscribe@cloudstack.apache.org

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