Skip to content

Conversation

@jlebon
Copy link
Member

@jlebon jlebon commented Sep 16, 2020

This is a follow up to (and revert of) #1057.

On OpenStack, we don't actually know if we're fetching from the
config-drive or from the metadata server.

In theory, if it's from the config-drive, we don't strictly need
networking, and so fetch-offline would work. The issue is that in the
more common case of the metadata server, fetch-offline will still wait
the full 30s for the config-drive to also time out only to then have to
bring up networking and run the fetch stage.

Instead, let's just accept the brokenness of the OpenStack provider and
declare it as always requiring networking.

For more information, see:
#1081 (comment)

This is a follow up to (and revert of) coreos#1057.

On OpenStack, we don't actually know if we're fetching from the
config-drive or from the metadata server.

In theory, if it's from the config-drive, we don't strictly need
networking, and so `fetch-offline` would work. The issue is that in the
more common case of the metadata server, `fetch-offline` will still wait
the full 30s for the config-drive to also time out only to then have to
bring up networking and run the `fetch` stage.

Instead, let's just accept the brokenness of the OpenStack provider and
declare it as always requiring networking.

For more information, see:
coreos#1081 (comment)
@jlebon
Copy link
Member Author

jlebon commented Sep 16, 2020

Still need to test this in OpenStack.

Copy link
Member

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm OK with this but I still think we should explore in the future the idea of just bringing up the "primary interface" enough to do "link local networking". For example, I suspect we can just start sending out packets to 169.254.x.x without doing DHCP.

@jlebon jlebon marked this pull request as ready for review September 16, 2020 18:58
@jlebon
Copy link
Member Author

jlebon commented Sep 16, 2020

Tested working!

@jlebon jlebon merged commit f05bc76 into coreos:master Sep 16, 2020
@jlebon jlebon deleted the pr/openstack-neednet branch September 16, 2020 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants