dell / ansible-powerscale

PowerScale (Isilon) Ansible modules
GNU General Public License v3.0
25 stars 21 forks source link

[BUG]: smartquota and smb modules use the `path` keyword inconsitently #41

Closed mophahr closed 1 year ago

mophahr commented 1 year ago

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:

  1. create a smb share using dellemc.powerscale.smb with path: "example"
  2. 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 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):

anupamaloke commented 1 year ago

@mophahr , thank you for submitting this issue. We have added it to the backlog and will triage it accordingly.

anupamaloke commented 1 year ago

Fixed by #51