Comments (3)
Hey @djsly, can you elaborate on what's causing the issue here?
from godo.
Hi @mauricio , sure, the issue started last week, where the deletion of the volume (storage) started returning 409. An error about the volume still being attached to a droplet.
So, even though we delete the droplet using the API, we get a 204 request, it was possible before to issue a deletion of the volume right away. Not we have to wait 3-4 sec for the droplet to be deleted for real on the DO side before the volume be we deleted properly.
It would be beneficial that all DELETION requests would return the 204 once and only once the deletion process is completed.
HTTP Status Code 204: The server has successfully fulfilled the request and that there is no additional content to send in the response payload body.
22:29 $ curl -X DELETE -H "Content-Type: application/json" -H "Authorization: Bearer <token>" "https://api.digitalocean.com/v2/droplets/53112244"
✔ ~
22:31 $ curl -X DELETE -H "Content-Type: application/json" -H "Authorization: Bearer <token>" "https://api.digitalocean.com/v2/volumes/938b3d10-5ade-11e7-91b8-0242ac116405"
{"id":"Illegal Action","message":"A volume that's attached to a Droplet cannot be deleted. Please detach it first before deleting."}✔ ~
22:31 $
✔ ~
22:31 $
✔ ~
22:31 $ curl -X DELETE -H "Content-Type: application/json" -H "Authorization: Bearer <token>" "https://api.digitalocean.com/v2/volumes/938b3d10-5ade-11e7-91b8-0242ac116405"
{"id":"Illegal Action","message":"A volume that's attached to a Droplet cannot be deleted. Please detach it first before deleting."}
✔ ~
22:31 $ curl -X DELETE -H "Content-Type: application/json" -H "Authorization: Bearer <token>" "https://api.digitalocean.com/v2/volumes/938b3d10-5ade-11e7-91b8-0242ac116405"
✔ ~
from godo.
@djsly fixed the issue himself at https://github.com/terraform-providers/terraform-provider-digitalocean/pull/22
from godo.
Related Issues (20)
- Add to fetch details of monitoring alert policies. HOT 1
- Add project information in response of list and get call of all resources. HOT 1
- Support for TTL in domain create
- Floating IP deleting only on second time HOT 3
- CVE-2021-27918 (High) detected in github.com/golang/net-e086a090c8fdb9982880f0fb6e3db47af1856533 HOT 1
- CVE-2021-31525 (Medium) detected in github.com/golang/net-e086a090c8fdb9982880f0fb6e3db47af1856533 HOT 1
- CVE-2021-33194 (High) detected in github.com/golang/net-e086a090c8fdb9982880f0fb6e3db47af1856533
- Account
- Create Snapshot Missing HOT 2
- [Feature Request] Add specifying image by name support to DropletCreateImage
- Kubernetes `surge_upgrade` field cannot be set to `false` HOT 3
- https://github.com/notxarb/openapi/tree/main
- App
- CVE-2022-27664 (High) detected in github.com/golang/net-290c469a71a567d354e4abd335577aba44c4bde4
- CVE-2022-41721 (High) detected in golang.org/x/net-v0.0.0-20220921155015-db77216a4ee9 HOT 1
- How to get error message HOT 1
- Typo in the Readme # Build Status is not showing an icon HOT 5
- Code of conduct was missing. I added it HOT 2
- move doctl config into this library? HOT 2
- Kubernetes.DeleteDangerous() does not delete PVC Volumes HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godo.