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: Prevent unsupported traffic classes to be set and cause crash #1633

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

appilon
Copy link
Contributor

@appilon appilon commented Mar 22, 2022

Description

It would appear newer versions of vCenter responds back with traffic classes
even if those classes aren't accounted in the version of govmomi the provider has.
Need to upgrade govmomi to support new nvmetcp class that was causing a crash.

Acceptance tests

  • Have you run the acceptance tests on this branch?

Release Note

Release note for CHANGELOG:

`resource/dvs`: Prevent setting unsupported traffic classes.

References

It would appear newer versions of vCenter responds back with traffic classes
even if those classes aren't accounted in the version of govmomi the provider has.
Need to upgrade govmomi to support new `nvmetcp` class that was causing a crash.
@github-actions github-actions bot added documentation Type: Documentation provider Type: Provider size/xs Relative Sizing: Extra-Small labels Mar 22, 2022
@appilon appilon requested a review from tenthirtyam March 22, 2022 20:32
@tenthirtyam tenthirtyam changed the title Prevent unsupported traffic classes to be set and cause crash fix: Prevent unsupported traffic classes to be set and cause crash Mar 22, 2022
@tenthirtyam tenthirtyam added the needs-review Status: Pull Request Needs Review label Mar 22, 2022
@tenthirtyam tenthirtyam added this to the v2.2.0 milestone Mar 22, 2022
Copy link
Collaborator

@tenthirtyam tenthirtyam left a comment

Choose a reason for hiding this comment

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

Minor recommendation to include the current 11. It may be a good idea to put them in alphabetical order, too?

Copy link
Collaborator

@tenthirtyam tenthirtyam left a comment

Choose a reason for hiding this comment

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

:shipit: LGTM!

@appilon appilon merged commit 99494ee into main Mar 22, 2022
@appilon appilon deleted the fix-nvmetcp_maximum_mbit-panic branch March 22, 2022 21:06
@tenthirtyam tenthirtyam removed the needs-review Status: Pull Request Needs Review label Mar 24, 2022
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Type: Documentation provider Type: Provider size/xs Relative Sizing: Extra-Small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants