platform/api/aws: Iterate over all subnets to run the instances#1180
platform/api/aws: Iterate over all subnets to run the instances#1180pothos wants to merge 1 commit intocoreos:masterfrom kinvolk:kai/try-full-aws-subnet-list
Conversation
The subnet determines the Availability Zone. If in that zone no machines are available, running an instance will fail. The other Availability Zones probably have machines available and the code should try to run instances there instead of giving up too early.
|
Seems reasonable offhand, though have thought about whether we're starting to grow too much "provisioning" logic there that may be better off farmed out to something else (terraform/ansible/whatever). But clearly this is an incremental enough change to merge. One procedural note - so far we've been removing CL support from git master, focusing on {F,RH}COS. There's a cl branch that it may make sense for you to use/maintain? If this continues we should likely have a discussion about how to share code going forward. |
|
Thanks for the notice, we'll have a look at the branch and we also have to think how we could keep in sync with your |
|
We never merged this, even though it was approved - this seems like a mistake. But coreos/coreos-assembler#1152 merged and I notice you have a mantle fork over at https://github.com/kinvolk/mantle - so things are going to diverge more. The current plan is to archive this repository. I'd like to keep in mind the possibility of continuing to share some code, but things like Ignition spec 2 vs 3, our increasing tie of "CoreOS" to mean (Ignition, OSTree) etc. will make that tricky. |
|
Note that we won't be archiving the repository until Container Linux goes EOL. The |
|
Thanks again for writing. Our fork is located at https://github.com/flatcar-linux/mantle/ and we will give it a bit more care soon. |
The subnet determines the Availability Zone. If in that
zone no machines are available, running an instance
will fail. The other Availability Zones probably have
machines available and the code should try to run
instances there instead of giving up too early.