Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync environment and application state with the cloud #10

Open
vikomall opened this issue Oct 1, 2017 · 2 comments
Open

Sync environment and application state with the cloud #10

vikomall opened this issue Oct 1, 2017 · 2 comments

Comments

@vikomall
Copy link

vikomall commented Oct 1, 2017

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 vikomall changed the title App delete failing if was resources were deleted App delete failing if aws resources were deleted Oct 1, 2017
@devdattakulkarni
Copy link
Contributor

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 devdattakulkarni changed the title App delete failing if aws resources were deleted Sync env and app state with the cloud Dec 7, 2017
@devdattakulkarni
Copy link
Contributor

devdattakulkarni commented Dec 7, 2017

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 devdattakulkarni changed the title Sync env and app state with the cloud Sync environment and application state with the cloud Dec 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants