Skip to content

secstorage.nfs.version is not used in two scenarios #9469

@weizhouapache

Description

@weizhouapache

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
  • Bug Report
COMPONENT NAME

CLOUDSTACK VERSION

CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions