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


##########
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:
   I think we'll need to rescan all the hosts in the cluster; yes that could 
make the process very slow. If necessary I can add in some logic to scan only 
when datastore is iscsi (start with -iqn...)



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