Describe the bug
When creating a share with ("directory"-type) smartquota in an access_zone, the path value needs to start with / in the smartquota module. Without it, it fails.
To Reproduce
Steps to reproduce the behavior:
create a smb share using dellemc.powerscale.smb with path: "example"
create a smartquota on that share using dellemc.powerscale.smartquota with quota_type: "directory" and path: "example".
This results in an error code: AEC_NOT_FOUND, message: Path not found ...
Replacing path: "example" with path: "/example" in step 2 creates no error.
Expected behaviorpath should behave consistently.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
If applicable, submit logs or stack traces from the affected services
System Information (please complete the following information):
Describe the bug When creating a share with ("directory"-type) smartquota in an access_zone, the
path
value needs to start with/
in the smartquota module. Without it, it fails.To Reproduce Steps to reproduce the behavior:
dellemc.powerscale.smb
withpath: "example"
dellemc.powerscale.smartquota
withquota_type: "directory"
andpath: "example"
.This results in an error
code: AEC_NOT_FOUND, message: Path not found ...
Replacingpath: "example"
withpath: "/example"
in step 2 creates no error.Expected behavior
path
should behave consistently.Screenshots If applicable, add screenshots to help explain your problem.
Logs If applicable, submit logs or stack traces from the affected services
System Information (please complete the following information):