digitalocean / digitalocean/api-v2
NYC2 shutdown/snapshot race issue
- Dominant language
- No language data
- Stars
- 138
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
I think this is a bit of a compound problem, I use [packer](https://github.com/mitchellh/packer) to build base snapshots on digital ocean On LON1, NYC3 I have no problems, however on NYC2 after the build process completes I seem to run into a shutdown/snapshot race issue
NYC2
```
==> digitalocean: Gracefully shutting down droplet...
==> digitalocean: Creating snapshot: staging-14.10-snap
==> digitalocean: Error creating snapshot: digitalocean request error: map[id:unprocessable_entity message:Droplet already has a pending event.]
==> digitalocean: Destroying droplet...
==> digitalocean: Error destroying droplet. Please destroy it manually: curl 'https://api.digitalocean.com/droplets/[droplet_id_redacted]/destroy?client_id=&api_key='
==> digitalocean: Deleting temporary ssh key...
Build 'digitalocean' errored: Error creating snapshot: digitalocean request error: map[id:unprocessable_entity message:Droplet already has a pending event.]
```
NYC3
```
==> digitalocean: Gracefully shutting down droplet...
==> digitalocean: Creating snapshot: staging-14.10-snap
==> digitalocean: Waiting for snapshot to complete...
==> digitalocean: Destroying droplet...
==> digitalocean: Deleting temporary ssh key...
Build 'digitalocean' finished.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.