Toby Jaffey
37ef03c41c
Use config StateTimeout for DigitalOcean unlock and off transitions. ( #3444 )
...
Use config StateTimeout for DigitalOcean unlock and off transitions.
When DigitalOcean's API is responding slowly, the hardcoded timeouts are too short.
2016-08-14 21:12:30 +02:00
Viktor Benei
7e568644a5
increased DigitalOcean unlock wait timeouts
2015-11-14 12:11:44 +01:00
Mitchell Hashimoto
dcf140f99f
builder/digitalocean: more robust wait for pending
2015-06-10 19:53:07 -07:00
Mitchell Hashimoto
d9c48e82fb
builder/digitalocean: switch to new lib
2015-06-10 14:02:06 -07:00
Vasiliy Tolstov
6c6f3c24a5
add v2 api support
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-09-05 18:49:37 +04:00
Mitchell Hashimoto
1df0735713
builder/digitalocean: retry longer and don't retry shutdown
2013-09-04 23:01:37 -07:00
Mitchell Hashimoto
78302f2071
builder/digitalocean: get compilation working again
2013-09-04 22:53:37 -07:00
Mitchell Hashimoto
94d369f558
builder/digitalocean: give up on graceful shutdown more quickly
2013-09-04 22:51:28 -07:00
Mitchell Hashimoto
8643c70e35
builder/digitalocean: proper timeouts so poweroff retries
2013-09-04 22:26:05 -07:00
Mitchell Hashimoto
4af230a4dc
builder/digitalocean: actually, we want to try hard on shutdown
2013-09-04 22:14:30 -07:00
Mitchell Hashimoto
82b46816d3
builder/digitalocean: retry power off a number of times
...
See comment.
2013-09-04 21:59:58 -07:00
Mitchell Hashimoto
302871113a
builder/digitalocean: retry on any pending event errors
...
/cc @pearkes - I hate this thing.
2013-09-04 21:20:41 -07:00
Mitchell Hashimoto
94b76036fc
builder/digitalocean: new multistep API
2013-08-31 12:25:08 -07:00
Jack Pearkes
315d4ce5f5
builder/digitalocean: send a "shutdown" before snapshotting
...
Instead of pulling the plug on a droplet with the "poweroff" command,
we first send a soft shutdown to the API, then we poweroff to allow
the snapshot to properly complete.
Sending just a shutdown and then snapshotting wasn't as reliable as
sending the poweroff manually, for reasons unknown to me.
This fixes #332 .
2013-08-24 13:04:51 +02:00