-
Notifications
You must be signed in to change notification settings - Fork 33
EOF in /identity/api/tokens when creating multiple resources #79
Comments
@leander091 I could not reproduce it in my environment. Can you try to request them separately and see if the deployment is created? Thanks, |
Ofcourse, I am going to test each resource separately and post the results. |
@Prativa20 I've also tested the original configuration and the error is still there. Although the returned EOF is changed in one of the resources. The resource vmware-worker returns the EOF when it tried to do the api call when requesting the blueprint.
So iam not sure if this an issue with our VRA configuration or an bug in this terraform provider |
@leander091 I tried another scenario and I could reproduce it. The deployments are created in vRA but the provider crashes. Is it crashing for you as well? Do you have crash log? Thanks, |
Thanks for the extra testing 👍. I've tried an new run and it looks like also could trigger an crash. I am reviewing the crash report and will upload it after the removal of some sensitive information. |
This is my crash log: crashlog-terraform |
@leander091 Can you check if you can still reproduce it with the latest provider version? |
@Prativa20 I've tested with the latest version and it looks like this problem still exists. |
General version information:
Describe the bug
It looks like the VRA provider is not able to create multiple resources in the same terraform run.
I have three resources defined in the file and only 1 of them completes successfully.
The following error is printed in the logs:
2020-08-19T21:21:27.07+02:00 vra7_client.go:53 DoRequest ▶ ERRO 0a6 An error occurred when calling POST on https://skylab.windesheim.nl/identity/api/tokens. Error: Post "https://skylab.windesheim.nl/identity/api/tokens": EOF
The following message is the error printed in the terminal:
To Reproduce
Steps to reproduce the behavior:
The terraform config is defined as follows:
terraform apply
Expected behavior
The resources will be deployed without any errors based on the defined configuration.
terraform apply
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
Attach logs to help debug the issue
I can provide the debug logging if nessesary. I need to redact first the sentive information before i could atach it to this issue
https://www.terraform.io/docs/configuration/environment-variables.html)
3. crash.log(if any)
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: