rohityadavcloud commented on code in PR #7761:
URL: https://github.com/apache/cloudstack/pull/7761#discussion_r1270327322


##########
plugins/hypervisors/vmware/src/main/java/com/cloud/hypervisor/vmware/resource/VmwareResource.java:
##########
@@ -927,6 +927,7 @@ private Answer execute(ResizeVolumeCommand cmd) {
                 ClusterMO clusterMO = new ClusterMO(context, morCluster);
 
                 List<Pair<ManagedObjectReference, String>> lstHosts = 
clusterMO.getClusterHosts();
+                _storageProcessor.rescanAllHosts(context, lstHosts, true, 
true);

Review Comment:
   There's some issue with VMware not able to detect resized/modification in 
the LUN size, this is a workaround for VMware to see an updated/resized LUN. 
Otherwise VMFS datastore doesn't see it can resize and silently fails.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to