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

improve(diskclaim): only record disk claim events when disk is Available #1260

Merged

Conversation

SSmallMonster
Copy link
Member

@SSmallMonster SSmallMonster commented Nov 21, 2023

What this PR does / why we need it:

The scenario that troubles users is generally a disk they believe is available, that is, a disk in an Available state. If all the disk information is added to the event, it will make the event very long.

relevant issue: #1218

Special notes for your reviewer:

Warning  LocalDiskClaimAssignFail  18s (x12 over 28s)      localdiskclaim-controller  Assign free disk fail, due to error: there is no available disk assigned to 172-30-46-11-hdd-claim
Warning  LocalDiskClaimAssignFail  18s (x6 over 28s)       localdiskclaim-controller  localdisk-e98be39ca068dd7877b021e47c8e712b are LocalDiskOwnerUnMatch;localdisk-90a3849907d060920639f7ce16c6c4f0,localdisk-647045e3018fa21e22f3d96d049c87ad are LocalDiskHasReserved

Does this PR introduce a user-facing change?


The scenario that troubles users is generally a disk they believe is available,
that is, a disk in an Available state. If all the disk information is added to the event,
it will make the event very long.

Signed-off-by: SSmallMonster <mingming.zhou@daocloud.io>
@SSmallMonster SSmallMonster added the kind/enhancement New feature or request label Nov 21, 2023
@SSmallMonster SSmallMonster merged commit 2f0245d into hwameistor:main Nov 22, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant