-
Notifications
You must be signed in to change notification settings - Fork 253
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
GetInstanceStatusByName
doesn't return an error when > 1 instance if found
#2088
Comments
/assign EmilienM |
@mdbooth so in the current state of things, if two instances have the same name, cleanup will never happen. This will likely change once we have the |
I think if we have 2 instances with the same name and can't distinguish between them we're just going to have to report an error to the user. I'm not sure we can safely do anything about it, now or with OpenStackServer. |
ok so i'll submit a PR that just reports an error for now, gotcha. |
/kind bug
What steps did you take and what happened:
GetInstanceStatusByName
doesn't return an error when > 1 instance if found and this can lead to cluster problems if we have two instances with the same name. Could be a leftover or a staled resource, that needs to be removed before creating a new one.What did you expect to happen:
An error should be returned.
Environment:
git rev-parse HEAD
if manually built): latestThe text was updated successfully, but these errors were encountered: