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: update Dellemc OneFS backend #2918

Merged
merged 6 commits into from
Oct 22, 2024

Conversation

fregataa
Copy link
Member

@fregataa fregataa commented Oct 17, 2024

Main changes

  • To avoid overriding AbstractVolume.init coroutine method, let DellEMCOneFSVolume call super init method
  • Fix onefs client to build REST requests correctly
  • Add OneFS config module

Checklist: (if applicable)

  • Milestone metadata specifying the target backport version

Copy link
Member Author

fregataa commented Oct 17, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @fregataa and the rest of your teammates on Graphite Graphite

@github-actions github-actions bot added comp:storage-proxy Related to Storage proxy component size:M 30~100 LoC labels Oct 17, 2024
Base automatically changed from topic/10-17-chore_fix_typo_in_storage_backend_codes to main October 17, 2024 07:46
@fregataa fregataa added this to the 24.03 milestone Oct 17, 2024
@fregataa fregataa marked this pull request as ready for review October 17, 2024 08:00
@fregataa fregataa force-pushed the topic/10-17-fix_update_dellemc_onefs_backend branch from 24d19f8 to 606dabf Compare October 17, 2024 08:00
@fregataa fregataa force-pushed the topic/10-17-fix_update_dellemc_onefs_backend branch from a0fd320 to 7850c68 Compare October 18, 2024 06:27
@@ -37,19 +36,14 @@ def __init__(
password: str,
*,
api_version: str = "12",
system_name: str = "nfs",
system_name: Optional[str] = "nfs",
Copy link
Member

Choose a reason for hiding this comment

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

What is the role of this parameter? How/where do we derive it from cluster configuration?

Copy link
Member Author

@fregataa fregataa Oct 21, 2024

Choose a reason for hiding this comment

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

I checked that the parameter is used when this client queries workload stats of OneFS. I changed this parameter as nullable since the workload stat API does not require system_name parameter. I left the default value as the same to reduce side effects.
Plus, only through the OneFS API can we know which system names are available.

@fregataa fregataa force-pushed the topic/10-17-fix_update_dellemc_onefs_backend branch from d21a974 to 6ce917f Compare October 21, 2024 08:55
@fregataa fregataa modified the milestones: 24.03, 24.12 Oct 21, 2024
@fregataa fregataa added this pull request to the merge queue Oct 22, 2024
Merged via the queue into main with commit cba59c8 Oct 22, 2024
21 checks passed
@fregataa fregataa deleted the topic/10-17-fix_update_dellemc_onefs_backend branch October 22, 2024 04:19
@fregataa fregataa modified the milestones: 24.12, 24.03 Oct 22, 2024
github-merge-queue bot pushed a commit that referenced this pull request Oct 22, 2024
Co-authored-by: Sion Kang <siontama@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:storage-proxy Related to Storage proxy component size:M 30~100 LoC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants