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

Match nodes by complete hostame rather than prefix to avoid false + #390

Closed

Conversation

jlamillan
Copy link

Greetings!

This pull-request resolves #388 by matching the complete hostname when looking for a node.

Note that this is not a theoretical issue, we have a customer who's (instance pool backed) nodes are causing this to happen:

ERROR cloud/node_controller.go:140 GetInstanceByNodeName: too many instances returned for node name "ashburn-ops-node-ad1-vnic-850450": 2

the above fix resolve the issue for them.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 2399192961

  • 0 of 1 (0.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 29.32%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/oci/client/compute.go 0 1 0.0%
Totals Coverage Status
Change from base Build 2369846621: 0.0%
Covered Lines: 2581
Relevant Lines: 8803

💛 - Coveralls

@jlamillan jlamillan closed this Feb 3, 2024
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.

matching node name by hostname *prefix* can lead to too many instances returned for node name
2 participants