Closed petew-nfx closed 7 months ago
hi @petew-nfx , as we discussed in the previous thread - https://github.com/dell/terraform-provider-powerscale/issues/118, we will change these two fields to optional and solve this issue in our plan. welcome for more further comment, thanks.
Close since it's fixed in the PR aforementioned.
Bug Description
Optional attributes on ACLs are marked as Required - import FilesystemResource fails on nil pointer. Namespace objects with unresolvable UID/GID on the cluster lack a "name" and a "type" attribute for the ACL.
Resource or DataSource Name
FileSystem
Terraform Version
Terraform 1.6.6
OneFS Version
9.4.0.13
go Version
go 1.21.5
Unisphere Version
N/A
Operating System
MacOS Darwin Kernel Version 23.2.0
Terraform File Used
Logs
A GET of namespace/ifs/ via the REST API returns:
Steps to Reproduce
Where some_path has uid/gid set which do not resolve on the cluster providers.
Expected Behavior
Importing a Filesystem with an unresolvable UID/GID in the ACL should succeed.
Actual Behavior
Importing a Filesystem with an unresolvable UID/GID in the ACL fails with a panic.
Screenshots
No response
Additional Information
No response