Closed tnorris closed 1 year ago
Or maybe this isn't retries, it's an empty response from MaaS? https://github.com/juju/gomaasapi/pull/98/files
This can be fixed by bumping gomaasapi in gomaasclient, and then by bumping gomaasapi in terraform-provider-maas
github.com/juju/gomaasapi/v2 v2.0.1 // indirect
Howdy,
I am trying to use the MAAS terraform provider to spin up 8 machines and 8 instances. After enabling TLS on MAAS, the provider will sometimes throw a net/http error during plan; it looks like this:
Ideally whatever is between Terraform and MaaS isn't hiccuping, but I was able to hack around this with a good ole retry loop (n.b.: I have no idea what I'm doing with golang):
The only other encounter with this issue I could find was on a deleted bug in launchpad
I suspect there's A Better Way to retry, but I went for the quick and dirty.