the NFS version is not considered in two scenarios
- During systemvm template registration
|
private static final String MOUNT_COMMAND = "sudo mount -t nfs %s %s"; |
|
String mount = String.format(MOUNT_COMMAND, host + ":" + mountPath, path); |
|
Script.runSimpleBashScript(mount); |
- When cleanup diagnosis files
|
private void cleanupOldDiagnosticFiles(DataStore store) { |
|
String mountPoint = null; |
|
mountPoint = serviceImpl.mountManager.getMountPoint(store.getUri(), null); |
the nfs version is set to null
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
the NFS version is not considered in two scenarios
cloudstack/engine/schema/src/main/java/com/cloud/upgrade/SystemVmTemplateRegistration.java
Line 87 in 7214c13
cloudstack/engine/schema/src/main/java/com/cloud/upgrade/SystemVmTemplateRegistration.java
Lines 436 to 437 in 7214c13
cloudstack/server/src/main/java/org/apache/cloudstack/diagnostics/DiagnosticsServiceImpl.java
Lines 479 to 481 in 7214c13
the nfs version is set to
nullISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS