OpenNebula / terraform-provider-opennebula

Terraform provider for OpenNebula
https://www.terraform.io/docs/providers/opennebula/
Mozilla Public License 2.0
63 stars 53 forks source link

B-425: consistent diagnostics and lower log level #426

Closed treywelsh closed 1 year ago

treywelsh commented 1 year ago

Community Note

Description

The error is due to the fact that the provider try to read tags that weren't applied at creation time. They weren't applied due to the fact that the host creation wasn't complete (the host resource was created but then it was in an error state).

To fix the problem I modified some diagnostic severities from Error to Warning. By the way I made diagnostic and error handlng more consistent across various resources: this may have the same effect on entities that have a state (image, virtual network, virtual machine, virtual machine instance also have a state like host). So we can consider that this PR also fix theses last resources.

References

Close #425

New or Affected Resource(s)

Checklist