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 storage status:degraded #769

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

qinwang-murphy
Copy link
Contributor

@qinwang-murphy qinwang-murphy commented Nov 12, 2021

What this PR does / why we need it:
Add storage status:degraded
Which issue this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

Release note:

@codecov
Copy link

codecov bot commented Nov 12, 2021

Codecov Report

Merging #769 (7e48578) into master (c05b49f) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #769      +/-   ##
==========================================
+ Coverage   70.32%   70.33%   +0.01%     
==========================================
  Files         163      163              
  Lines       15875    15876       +1     
  Branches     1967     1967              
==========================================
+ Hits        11164    11167       +3     
  Misses       4034     4034              
+ Partials      677      675       -2     
Impacted Files Coverage Δ
delfin/common/constants.py 100.00% <100.00%> (ø)
delfin/drivers/fake_storage/__init__.py 95.34% <0.00%> (+0.54%) ⬆️


ALL = (NORMAL, OFFLINE, ABNORMAL)
ALL = (NORMAL, OFFLINE, ABNORMAL, DEGRADED)
Copy link
Collaborator

@ThisIsClark ThisIsClark Nov 12, 2021

Choose a reason for hiding this comment

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

After adding this, where would use it? Would it be in another PR?

Copy link
Contributor Author

@qinwang-murphy qinwang-murphy Nov 22, 2021

Choose a reason for hiding this comment

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

Storage devices, such as netapp and 3par and hnas storage devices, have the status value degraded. This enumeration can be added to more accurately describe the device status.

Copy link
Collaborator

@ThisIsClark ThisIsClark left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@wisererik wisererik left a comment

Choose a reason for hiding this comment

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

LGTM

@wisererik wisererik merged commit d67a1de into sodafoundation:master Nov 23, 2021
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