Open lovelaced opened 4 years ago
Thanks @lovelaced
I've avoided implementing any provider specific error management up to this point because there's so many things that can go wrong across all the platforms. That said, I think most users will hit this exact issue at some point and it can often be confusing.
I think at a minimum we can work towards failing the play quicker and returning the provider error as clearly as possible.
Possibly down the track we could parse the error for common issues and output some helpful information like you've suggested
We're in the process of bootstrapping a community support channel on riot, feel free to drop in and say hello https://matrix.to/#/!XEdKYiNBUqLpbZgOqy:matrix.org?via=matrix.org
Would also be very keen to connect and hear about what you're currently building and if there's any features we could add to Gantree to better support your projects
I think just catching "fatal" level ansible errors and printing them as a normal error and exiting would be fine, that would be a reasonable catchall.
Thanks for this great tool!
I'm using the cli in docker built from the latest https://github.com/flex-dapps/gantree-cli-docker.
I believe the following issue is occurring due to:
but the play continues on and then js throws an error:
Expected behavior would be printing a normal error message about the quota being exceeded and maybe a link to where to raise the quota (https://console.cloud.google.com/iam-admin/quotas), then exiting. This is reproducible and either fixed by raising the quota or downsizing the machines.