Closed petew-nfx closed 7 months ago
If the quota is created via terraform, there is no problem. Only when importing from the cluster does the problem arise. The state of an imported directory quota contains "persona = {}" whereas the terraform created quota lacks a persona entry.
hi @petew-nfx , thanks for reporting these two issues - importing then applying issue, and directory quota don't need persona issue. We will solve importing then applying issue, and remove persona from directory quota in our plan. welcome for more further comment, thanks.
Close since it's fixed in PR 127
Bug Description
After importing a directory quota from the Powerscale cluster, "terraform apply" fails with error: Could not update Quota with error: do not update field Zone
Zone is used at quota creation time to resolve personas, is not listed in the quota state, nor in the quota JSON returned by the REST api.
Resource or DataSource Name
Quota
Terraform Version
Terraform 1.6.6
OneFS Version
9.4.0.13
go Version
go 1.21.5
Operating System
MacOS Darwin Kernel Version 23.2.0
Terraform File Used
Logs