petems / tugboat

A command line tool for interacting with your DigitalOcean droplets.
MIT License
1.45k stars 89 forks source link

I am getting "Failed to create Droplet: found unpermitted parameters: backups_enabled" #299

Open tajaysingh opened 5 years ago

tajaysingh commented 5 years ago

We use tugboat on our build server which spins droplet before running our test. I started noticing the error Failed to create Droplet: found unpermitted parameters: backups_enabled during droplet creation.

I am able to reproduce the issue in my local machine as well after I installed Tugboat 4.1.0 and ran tugboat create pearkes-www-002 -s 2gb -r nyc3 -i 45439794 from the terminal.

Following is the debug info:-

Queueing creation of droplet 'pearkes-www-002'...I, [2019-08-30T16:46:39.660103 #1142] INFO -- : Started POST request to: https://api.digitalocean.com/v2/droplets D, [2019-08-30T16:46:39.660372 #1142] DEBUG -- : Request Headers:

Authorization : Bearer [TOKEN REDACTED] Content-Type : application/json User-Agent : Faraday v0.9.2

Request Body:

{ "id": "bad request", "message": "found unpermitted parameters: backups_enabled" } I, [2019-08-30T16:46:39.660500 #1142] INFO -- : Response from https://api.digitalocean.com/v2/droplets; Status: 400; Time: 0.4ms D, [2019-08-30T16:46:39.660730 #1142] DEBUG -- : Response Headers:

date : Fri, 30 Aug 2019 20:46:39 GMT content-type : application/json; charset=utf-8 content-length : 78 connection : close set-cookie : __cfduid=d950330287efc1d49dd94839ce73f12a61567197999; expires=Sat, 29-Aug-20 20:46:39 GMT; path=/; domain=.digitalocean.com; HttpOnly cache-control : no-cache ratelimit-limit : 5000 ratelimit-remaining : 4980 ratelimit-reset : 1567196638 x-content-type-options : nosniff x-frame-options : SAMEORIGIN x-gateway : Edge-Gateway x-request-id : a9a39107-bc62-46de-b5e4-ad3957d8d279 x-response-from : service x-runtime : 0.132553 x-xss-protection : 1; mode=block expect-ct : max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" server : cloudflare cf-ray : 50e99d887c183016-YYZ

Response Body:

{ "id": "bad request", "message": "found unpermitted parameters: backups_enabled" } Failed to create Droplet: found unpermitted parameters: backups_enabled