Pure-Storage-Ansible / FlashBlade-Collection

Ansible Collection for Pure Storage FlashBlade
GNU General Public License v3.0
3 stars 8 forks source link

Unable to set access_control #290

Closed Breemskin closed 2 months ago

Breemskin commented 3 months ago

Describe the bug Apologies if I'm just being an idiot here, but I'm unable to set access control when SMB is selected as the protocol.

Set to false: fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to create filesystem test_fs. Error: ACL safeguarding cannot be disabled when the access control style is \"smb\"."}

Set to true: fatal: [localhost]: FAILED! => {"changed": false, "msg": "ACL Safeguarding cannot be enabled with SMB or if access_control is mode-bits or independent."}

Expected behavior I would expect to be able to set the access control to SMB and then choose whether to enable safeguarding or not, the UI lets me do both.

sdodsley commented 3 months ago

@Breemskin i agree this doesn't seem correct. Those error messages seem to be coming from the API response from the array. Let us do some investigation. It may just be a workflow/logic error

sdodsley commented 3 months ago

@Breemskin please try patch #291 to see if this resolves your issues.

Breemskin commented 2 months ago

@Breemskin please try patch #291 to see if this resolves your issues.

That's great. I have tried it and safeguarding must be enabled (which is fine) and access_control now sets to smb. Thank you!