-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem on json unmarshalling to go struct (MessageResource.message_list.details of type map[string]interface {}) #204
Comments
Hi @kruftik, Is the data source for nutanix_cluster always failing (in 100 percent of the runs)? |
Hi @yannickstruyf3,
no. definitely, the errors happens not at each and every request to the API, I'd say it fails on 60% of the tries or so
the account used is an AD-based one |
@kruftik Thanks for the fast reply! For testing purposes, would it be possible to check if you have the same behaviour with a local (non-ad) account? |
we tried to reproduce the issue using local nutanix account and didn't succeed. moreover, we've identified the root cause of the problem - some of AD-controllers were not reachable from the Nutanix infrastructure. As soon as all the controllers became reachable, the problem has gone. thanks a lot for a tip! |
Nutanix Cluster Information
Nutanix Prism Central 5.17.0.3
Terraform Version
Affected Resource(s)
It seems that the issue affects any Nutanix resource since it occurs on read phase of
terraform plan
/terraform apply
commands. The cluster and subnet resources are 100% affected.Terraform Configuration Files
Debug Output
can be provided upon request
Expected Behavior
terraform successfully fetch the actual cloud state of the resources
Actual Behavior
The following error occurs:
Error: json: cannot unmarshal string into Go struct field MessageResource.message_list.details of type map[string]interface {}
Steps to Reproduce
run a command that causes terraform to request current state of the cloud resources (
terraform apply
/terraform plan
)The text was updated successfully, but these errors were encountered: