Affects Version/s: 0.9.8, Code Name: Centaurus
Fix Version/s: None
If a cluster provision on the Google provider exceeds the account's disk quota, it is not handled well:
2014-11-30 03:00:16 -0800 worker-superadmin-2 DEBUG: Creating data disk: dw-dqtest36-1000-data of size 5200
2014-11-30 03:00:46 -0800 worker-superadmin-2 ERROR: Unexpected Error Occurred in FogProviderGoogle.create: #<Fog::Errors::NotFound: The resource 'projects/xxx/zones/europe-west1-b/disks/dw-dqtest36-1000-data' was not found>
2014-11-30 03:00:51 -0800 worker-superadmin-4 ERROR: Unexpected Error Occurred in FogProviderGoogle.create: #<RuntimeError: Disk dw-dqtest36-1000 already exists with different specifications>
- Instead of UnexpectedError, we can catch this NotFound and suggest checking quota in stderr
- On retry, it is unable to find the previous disk (if it exists) and retry with it.
- If the data disk exceeds the quota, the OS disk can be left behind in the account. Since the vm is never created, the delete call never attempts to delete any disks.