caastle icon indicating copy to clipboard operation
caastle copied to clipboard

Sync environment and application state with the cloud

Open vikomall opened this issue 7 years ago • 2 comments

Repro instructions:

  1. Create env
  2. Create app
  3. Delete AWS resources manually
  4. Delete app results in following error ServiceNotFoundException: An error occurred (ServiceNotFoundException) when calling the DeleteService operation: Service not found.

vikomall avatar Oct 01 '17 16:10 vikomall

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).

devdattakulkarni avatar Oct 02 '17 22:10 devdattakulkarni

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.

devdattakulkarni avatar Dec 07 '17 22:12 devdattakulkarni