BD2KGenomics / cgcloud

Image and VM management for Jenkins, Spark and Mesos clusters in EC2
Other
22 stars 17 forks source link

When spawning a cluster with EBS volumes, nodes will reattach to old volumes even if they are wrong size #37

Open cket opened 9 years ago

cket commented 9 years ago

To replicate: spawn cluster specifying ebs volume size. Shut the cluster down but do not delete volumes. Create a new cluster with a different volume, and you will see that the the old, incorrectly sized volumes are reattached. Solution: instead of just checking for EBS volume name and cluster ordinal, also check for size. Maybe also add an --create-ebs flag so that we never reattach old, possibly full, volumes.

hannes-ucsc commented 9 years ago

+1 for checking

Let's discuss user interface and address in another bug.