mirror of https://github.com/apache/cloudstack.git
bug 6589: there is some problem in checkMount script, I don't understand, and since we have heartbeat, we don't need to checkSr every time, remove checkSR for nfs SR
status 6589: resolved fixed
This commit is contained in:
parent
2a6aef6192
commit
0141be3d80
|
|
@ -408,7 +408,7 @@ public abstract class CitrixResourceBase implements StoragePoolResource, ServerR
|
|||
protected boolean currentlyAttached(SR sr, SR.Record rec, PBD pbd, PBD.Record pbdr) {
|
||||
String status = null;
|
||||
if (SRType.NFS.equals(rec.type)) {
|
||||
status = callHostPlugin("checkMount", "mount", rec.uuid);
|
||||
//status = callHostPlugin("checkMount", "mount", rec.uuid);
|
||||
} else if (SRType.LVMOISCSI.equals(rec.type) ) {
|
||||
String scsiid = pbdr.deviceConfig.get("SCSIid");
|
||||
if (scsiid.isEmpty()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue