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


##########
plugins/hypervisors/vmware/src/main/java/com/cloud/storage/resource/VmwareStorageProcessor.java:
##########
@@ -2826,6 +2826,9 @@ private ManagedObjectReference 
getVmfsDatastore(VmwareContext context, VmwareHyp
         morDs = firstHostDatastoreSystemMO.findDatastoreByName(datastoreName);
         if (morDs == null) {
             morDs = 
firstHostDatastoreSystemMO.createVmfsDatastore(datastoreName, hostScsiDisk);
+        } else {
+            // in case of iSCSI/solidfire 1:1 VMFS datastore could be 
inaccessible
+            mountVmfsDatastore(new DatastoreMO(context, morDs), lstHosts);

Review Comment:
   Workaround this checks and mounts inaccessible datastore. For others it will 
simply skip, for solidfire it will check and mount the datastore on the hosts.



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