noobaa-core icon indicating copy to clipboard operation
noobaa-core copied to clipboard

NSFS | NC | Allow Users to Choose `fs_backend` With Case Insensitive

Open shirady opened this issue 1 year ago • 3 comments

Environment info

  • NooBaa Version: master
  • Platform: NC

Actual behavior

  1. Currently users must type the fs_backend with sensitive strings, for example: GPFS.

Expected behavior

  1. Allow users to type with case insensitive, for example gpfs.

Steps to reproduce

  1. Create an account with --fs_backend with gpfs (not GPFS): sudo node src/cmd/manage_nsfs account add --name <account-name> --new_buckets_path <path> --uid <uid> --gid <gid> --fs_backend gpfs Output:
{
  "error": {
    "code": "InvalidFSBackend",
    "message": "FS backend supported types are GPFS, CEPH_FS, NFSv4 default is POSIX"
  }
}

More information - Screenshots / Logs / Other output

none

shirady avatar Feb 14 '24 09:02 shirady

@shirady why is it needed? its like a well known name, in which case, case can be set to a specific one

nimrod-becker avatar Mar 11 '24 08:03 nimrod-becker

@nimrod-becker Currently when a user types the fs_backend case insensitive he will get an error, for example: sudo node src/cmd/manage_nsfs account update --name <account-name> --fs_backend gpfs (gpfs instead of GPFS).

{ "error": { "code": "InvalidFSBackend", "message": "FS backend supported types are GPFS, CEPH_FS, NFSv4 default is POSIX" } } It's supposed to be a minor fix.

shirady avatar Mar 11 '24 09:03 shirady

This issue had no activity for too long - it will now be labeled stale. Update it to prevent it from getting closed.

github-actions[bot] avatar Jun 09 '24 11:06 github-actions[bot]

This issue is stale and had no activity for too long - it will now be closed.

github-actions[bot] avatar Jul 09 '24 11:07 github-actions[bot]