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

Version check for NVMe host #243

Merged
merged 1 commit into from
Nov 16, 2024
Merged

Version check for NVMe host #243

merged 1 commit into from
Nov 16, 2024

Conversation

baoy1
Copy link
Contributor

@baoy1 baoy1 commented Nov 13, 2024

Description

The APIs for updating the NVMe host will throw error in PowerFlex 4.5.
The commit adds version check for updating and alert message:
Updating the NVMe host in PowerFlex versions earlier than 4.6 is not supported.
md and example are updated accordingly.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 80% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Backward compatibility is not broken

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • UT
  • AT
    image
    image
    image
    PowerFlex 4.5
    image
    image

@baoy1 baoy1 force-pushed the usr/baoy1/nvme_version_check branch 2 times, most recently from 90104bb to ce6300c Compare November 13, 2024 09:47
@forrestxia
Copy link
Collaborator

run e2e test

1 similar comment
@forrestxia
Copy link
Collaborator

run e2e test

@baoy1 baoy1 force-pushed the usr/baoy1/nvme_version_check branch from ce6300c to fe2f94b Compare November 14, 2024 02:33
@baoy1
Copy link
Contributor Author

baoy1 commented Nov 14, 2024

run e2e test NvmeHost,NvmeTarget

Copy link

@vangork vangork left a comment

Choose a reason for hiding this comment

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

LGTM

Updating the NVMe host in PowerFlex versions
earlier than 4.6 is not supported

Fix empty NVMe host name

Empty host name should not be used for create and update.
@baoy1 baoy1 force-pushed the usr/baoy1/nvme_version_check branch from fe2f94b to e4265e7 Compare November 16, 2024 01:52
@baoy1
Copy link
Contributor Author

baoy1 commented Nov 16, 2024

run e2e test NvmeHost,NvmeTarget

@baoy1 baoy1 merged commit 6952be4 into main Nov 16, 2024
7 checks passed
@baoy1 baoy1 deleted the usr/baoy1/nvme_version_check branch November 16, 2024 02: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.

4 participants