Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal/providers/openstack: multiple fixes #1095

Merged
merged 2 commits into from
Sep 18, 2020
Merged

Conversation

arithx
Copy link
Contributor

@arithx arithx commented Sep 17, 2020

See individual commit messages.

@arithx
Copy link
Contributor Author

arithx commented Sep 17, 2020

Still needs testing

internal/providers/openstack/openstack.go Outdated Show resolved Hide resolved
internal/providers/openstack/openstack.go Outdated Show resolved Hide resolved
internal/providers/openstack/openstack.go Outdated Show resolved Hide resolved
internal/providers/openstack/openstack.go Outdated Show resolved Hide resolved
@arithx arithx marked this pull request as ready for review September 18, 2020 05:29
@arithx
Copy link
Contributor Author

arithx commented Sep 18, 2020

Updated & moved out of draft.

Copy link
Contributor

@bgilbert bgilbert left a comment

Choose a reason for hiding this comment

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

CloudStack also needs fixing.

internal/providers/openstack/openstack.go Show resolved Hide resolved
internal/providers/openstack/openstack.go Outdated Show resolved Hide resolved
internal/providers/openstack/openstack.go Outdated Show resolved Hide resolved
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
Copy link
Contributor Author

arithx commented Sep 18, 2020

Updated for comments + added cloudstack

Copy link
Member

@jlebon jlebon left a comment

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
Copy link
Contributor Author

arithx commented Sep 18, 2020

Were you able to test this in an OpenStack instance?

Yep.

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

@bgilbert bgilbert left a comment

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