diux-dev / cluster

train on AWS
75 stars 15 forks source link

Fail early when volume attachment fails #23

Closed yaroslavvb closed 6 years ago

yaroslavvb commented 6 years ago

Trying to figure out why things are slow, then I saw this. Would make sense for things to fail rather than use slower fallback, when "attach-volume" is explicitly specified and volume attachment fails

Error attaching volume. Continuing... An error occurred (VolumeInUse) when calling the AttachVolume operation: vol-0a6a2a9e8db047a21 is already attached to an instance

cc @bearpelican