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

Add functinality to skip checking/installing RDMA drivers on Network Dircect Infiniband VMs #1385

Merged
merged 4 commits into from
Jan 4, 2019

Conversation

longlimsft
Copy link
Collaborator

@longlimsft longlimsft commented Oct 31, 2018

This patch set adds the functionality to configure waagent to not check and install/update Network Direct RDMA drivers.

With the new HPC images, it's no longer mandatory to check/update drivers, the user can choose to skip those checks on system boot.

Issue #


PR information

  • The title of the PR is clear and informative.
  • There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
  • If applicable, the PR references the bug/issue that it fixes in the description.
  • New Unit tests were added for the changes made and Travis.CI is passing.

Quality of Code and Contribution Guidelines

We already have OS.CheckRdmaDriver defined for waagent config, add a helper
function to read its value.

The default returned value is True if OS.CheckRdmaDriver is not defined in
waagent.conf, this is for keeping the behavior of older versions of waagnet
unchanged.

On newer HPC images, checking and updating RDMA driver is not necessary. The
user can elect to set OS.CheckRdmaDriver=n to skip those steps.
When "OS.CheckRdmaDriver=n", we don't need to check and install/update RDMA
drivers.
If OS.CheckRdmaDriver is set to n, it's not neccesary to check driver version
to decide if we should use the older method of provisioning Infiniband device.

Use the new method of provisioning on the ethernet interface instead.
Add OS.CheckRdmaDriver and set it default value to Y. This parameter allows
the user to choose to skip checking RDMA driver on newer HPC images.

To skip checking and installing/updating RDMA driver, uncomment this parameter
and set it to N.
@vrdmr
Copy link
Member

vrdmr commented Jan 4, 2019

Hi @longlimsft, Are there any plans to have regression tests? Thanks.

@longlimsft
Copy link
Collaborator Author

This feature has been tested by us and by the customer. We are adding test cases to cover this.

@vrdmr
Copy link
Member

vrdmr commented Jan 4, 2019 via email

@longlimsft
Copy link
Collaborator Author

Please sign off now. There is no reason to wait as it doesn't affect any other code paths.

@vrdmr vrdmr merged commit cf17f59 into Azure:master Jan 4, 2019
@longlimsft longlimsft deleted the add_check_rdma branch November 21, 2019 19:39
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.

2 participants