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

core: VDS Maintenance will wait for all disk transfers to happen and … #632

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

ArtiomDivak
Copy link
Member

@ArtiomDivak ArtiomDivak commented Sep 4, 2022

core: VDS Maintenance will wait for all disk transfers to happen and block new ones

if a user wants to set a host to maintenance and at least one of
the disk is in transfer the command will fail and will send an error.
now it will not send an error it will wait for the disk transfer to finish
(the host will be in preparingForMaintenance mode) and new transfers will be blocked from starting.

Bug-Url: https://bugzilla.redhat.com/1990231
Signed-off-by: Artiom Divak adivak@redhat.com

Copy link
Member

@mkemel mkemel left a comment

Choose a reason for hiding this comment

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

Currently, looking at the PR it's not quite clear from your explanation what you are aiming to do here. The PR message is not up-to-date, as well as the commit message, and it needs formatting.

Copy link
Member

@mkemel mkemel left a comment

Choose a reason for hiding this comment

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

I think you still need to tidy-up the commit message.
At least to format it properly.

@ArtiomDivak ArtiomDivak force-pushed the bug-1990231 branch 2 times, most recently from f59e1e7 to de77745 Compare September 21, 2022 07:20
…block new ones

if a user want to set a host to maintenance and at least one of
the disk is in transfer the command will fail and will send an error.
now it will not send an error it will wait for the disk transfer to finnish
(the host will be in preparingForMaintenance mode) and new transfers will be blocked from starting.

Bug-Url: https://bugzilla.redhat.com/2120228
Signed-off-by: Artiom Divak <adivak@redhat.com>
@ahadas
Copy link
Member

ahadas commented Sep 21, 2022

/ost

Copy link
Member

@barpavel barpavel left a comment

Choose a reason for hiding this comment

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

LGTM, the testVirtCanMoveToMaintenance() test can be fixed.
The new part already fixed by Arik, the existing also has an issue.

@ahadas ahadas merged commit 2de7297 into oVirt:master Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants