caastle
caastle copied to clipboard
Sync environment and application state with the cloud
Repro instructions:
- Create env
- Create app
- Delete AWS resources manually
- Delete app results in following error ServiceNotFoundException: An error occurred (ServiceNotFoundException) when calling the DeleteService operation: Service not found.
Thanks!
One way to fix this is to handle such exceptions gracefully and continue deletion of other application artifacts.
Another approach is to periodically sync the state of environment and application resources in AWS with those in cloudark. If any resource is missing then the corresponding env/app can be marked as degraded (or proactively deleted).
Changed Issue title.
Currently cld will gracefully handle exceptions and continue deleting the application.
In the long term we should consider adding periodic sync of CloudARK's internal state with that of the Cloud.