Closed ps-beilers closed 1 year ago
I reproduced the problem for the template datasource, we already discussed around this problem (in #349 around hasXXX
flags handling).
However for the image datasource I didn't reproduced, is it related to #331 (could you check @ps-beilers ) ? If yes, we're waiting for a PR to update the goca dependency which fix some default behavior. If not, I'll need to test in depth.
I reproduced the problem for the template datasource, we already discussed around this problem (in #349 around
hasXXX
flags handling).However for the image datasource I didn't reproduced, is it related to #331 (could you check @ps-beilers ) ? If yes, we're waiting for a PR to update the goca dependency which fix some default behavior. If not, I'll need to test in depth.
Hi @treywelsh
Most likely it is related to #331, yes. Looking forward to the fix from #371 making it into the next tag.
Regards, Bernd
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
(https://gist.github.com/ps-beilers/a7cda9f3af56351acb4446b8334c5867)
Panic Output
Expected Behavior
The datasources should have returned the template and image objects.
Actual Behavior
No objects were found. The plan or apply commands fail with
Error: (images|templates) filtering failed
Steps to Reproduce
We upgraded our community OpenNebula installation from 5.6 to 6.2. Afterwards we upgraded the terraform provider from 0.4.0 to 1.0.1. We also tried with 0.5.2 which showed the same issues as 1.0.1.
terraform apply
Important Factoids
References
0000