Skip to content

internal/providers/openstack: multiple fixes - #1095

Merged
arithx merged 2 commits into
coreos:masterfrom
arithx:openstack
Sep 18, 2020
Merged

arithx merged 2 commits into
coreos:masterfrom
arithx:openstack

Conversation

@arithx

@arithx arithx commented Sep 17, 2020

Copy link
Copy Markdown
Contributor

See individual commit messages.

@arithx

arithx commented Sep 17, 2020

Copy link
Copy Markdown
Contributor Author

Still needs testing

@arithx
arithx marked this pull request as ready for review September 18, 2020 05:29
@arithx

arithx commented Sep 18, 2020

Copy link
Copy Markdown
Contributor Author

Updated & moved out of draft.

@bgilbert bgilbert left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

CloudStack also needs fixing.

Currently if the metadata service encounters an ErrNotFound it exits but
we continue blocking waiting for the config drive. Instead make
ErrNotFound authoritative and immediately exit out.
Check if all provider sources have errored out before the context
timeout and exit early.
@arithx

arithx commented Sep 18, 2020

Copy link
Copy Markdown
Contributor Author

Updated for comments + added cloudstack

@jlebon jlebon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Were you able to test this in an OpenStack instance?

@arithx

arithx commented Sep 18, 2020

Copy link
Copy Markdown
Contributor Author

Were you able to test this in an OpenStack instance?

Yep.

@arithx
arithx merged commit b7fdaf1 into coreos:master Sep 18, 2020

@bgilbert bgilbert left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

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