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

Fix the device spec file creation in rdma exclusive mode #611

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

SchSeba
Copy link
Collaborator

@SchSeba SchSeba commented Dec 9, 2024

when using exclusive mode in RDMA if we restart the device plugin it will find the right rdma device if the device is allocated.

this change makes the file creation when we get a new allocation and not in the device plugin initialization

when using exclusive mode in RDMA if we restart the device plugin
it will find the right rdma device if the device is allocated.

this change makes the file creation when we get a new allocation
and not in the device plugin initialization

Signed-off-by: Sebastian Sch <sebassch@gmail.com>
@SchSeba
Copy link
Collaborator Author

SchSeba commented Dec 9, 2024

Hi @e0ne @ykulazhenkov @rollandf @zeeke can you please take a look on this fix please?

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 12231919857

Details

  • 8 of 12 (66.67%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 74.647%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/resources/pool_stub.go 0 1 0.0%
pkg/resources/server.go 2 5 40.0%
Totals Coverage Status
Change from base Build 11650148125: 0.02%
Covered Lines: 2114
Relevant Lines: 2832

💛 - Coveralls

Copy link
Contributor

@rollandf rollandf left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

Copy link
Member

@zeeke zeeke left a comment

Choose a reason for hiding this comment

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

LGTM

@zeeke zeeke merged commit b3c1cda into k8snetworkplumbingwg:master Dec 9, 2024
9 of 11 checks passed
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.

4 participants