Skip to content

Volume check functionality#127

Merged
alicelyy merged 8 commits intolibopenstorage:masterfrom
alicelyy:volumeStateCheck
Jan 30, 2023
Merged

Volume check functionality#127
alicelyy merged 8 commits intolibopenstorage:masterfrom
alicelyy:volumeStateCheck

Conversation

@alicelyy
Copy link
Copy Markdown
Contributor

@alicelyy alicelyy commented Jan 24, 2023

What this PR does / why we need it:
ebs volumes experience four states on modification, see
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-modifications.html

This pull request addresses an issue where a user attempts to expand a storage pool while aws has not yet completed the optimization process for the associated volume(s), which leads to a pool expand failure. By implementing a checker function for this scenario, we aim to catch the said scenario early and provide a clear and readable error message to the user.

Which issue(s) this PR fixes (optional)
PWX-28287

Special notes for your reviewer:
https://github.com/portworx/porx/pull/10496

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 24, 2023

Codecov Report

Base: 8.17% // Head: 8.10% // Decreases project coverage by -0.07% ⚠️

Coverage data is based on head (b87ba67) compared to base (c33708f).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #127      +/-   ##
=========================================
- Coverage    8.17%   8.10%   -0.07%     
=========================================
  Files          18      18              
  Lines        4624    4661      +37     
=========================================
  Hits          378     378              
- Misses       4224    4261      +37     
  Partials       22      22              
Impacted Files Coverage Δ
aws/aws.go 7.06% <0.00%> (-0.23%) ⬇️
azure/azure.go 0.56% <0.00%> (-0.01%) ⬇️
backoff/exponential.go 1.42% <0.00%> (-0.01%) ⬇️
gce/gce.go 1.05% <0.00%> (-0.01%) ⬇️
oracle/oracle.go 6.75% <0.00%> (-0.04%) ⬇️
vsphere/vsphere.go 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@nrevanna nrevanna requested a review from a team January 26, 2023 17:58
Copy link
Copy Markdown
Contributor

@nrevanna nrevanna left a comment

Choose a reason for hiding this comment

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

Looks good after addressing the comments.

Comment thread aws/aws.go Outdated
Comment thread aws/aws.go Outdated
Comment thread aws/aws.go Outdated
Comment thread aws/aws.go Outdated
@alicelyy alicelyy merged commit a056882 into libopenstorage:master Jan 30, 2023
@alicelyy alicelyy deleted the volumeStateCheck branch January 30, 2023 18:08
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.

3 participants