Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

platform/api/aws: Iterate over all subnets to run the instances #1180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

platform/api/aws: Iterate over all subnets to run the instances #1180

wants to merge 1 commit into from

Conversation

pothos
Copy link

@pothos pothos commented Feb 11, 2020

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.

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.
@cgwalters
Copy link
Member

cgwalters commented Feb 12, 2020

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.

@pothos
Copy link
Author

pothos commented Feb 13, 2020

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 master in the future given all the change that will come.

@cgwalters
Copy link
Member

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.

@bgilbert
Copy link
Contributor

Note that we won't be archiving the repository until Container Linux goes EOL. The master branch is no longer in use, but the cl branch will be maintained until May 26.

@pothos
Copy link
Author

pothos commented Feb 28, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants