mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 12711: make sure NFS storage is not considered as local storage
This commit is contained in:
parent
2dedf6a20b
commit
c23e998bdb
@ -628,7 +628,7 @@ public class HostMO extends BaseMO implements VmwareHypervisorHost {
|
|||||||
if(ocs != null) {
|
if(ocs != null) {
|
||||||
for(ObjectContent oc : ocs) {
|
for(ObjectContent oc : ocs) {
|
||||||
DatastoreSummary dsSummary = (DatastoreSummary)VmwareHelper.getPropValue(oc, "summary");
|
DatastoreSummary dsSummary = (DatastoreSummary)VmwareHelper.getPropValue(oc, "summary");
|
||||||
if(dsSummary.getMultipleHostAccess() == false) {
|
if(dsSummary.getMultipleHostAccess() == false && dsSummary.isAccessible() && dsSummary.getType().equalsIgnoreCase("vmfs")) {
|
||||||
ManagedObjectReference morDs = oc.getObj();
|
ManagedObjectReference morDs = oc.getObj();
|
||||||
String name = (String)VmwareHelper.getPropValue(oc, "name");
|
String name = (String)VmwareHelper.getPropValue(oc, "name");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user