-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Refactor virt.migrate #57947
Refactor virt.migrate #57947
Conversation
0f12ac4
to
f4001be
Compare
cc: @cbosdo |
f4001be
to
8bca922
Compare
@rst0git thanks for the PR and tests! Once I look over the PR and give it the green light this should be merge ready and will probably make it into Magnesium. |
8bca922
to
3cc45c6
Compare
@cmcmarrow Thank you for the review! I rebased the PR on master and added two commits with changelog information. |
3cc45c6
to
fef84c1
Compare
fef84c1
to
5f9008e
Compare
Please do not merge this PR, it's blocked on external changes happening first. I will reply once the issues have been resolved to unblock this PR. |
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
a69df7b
to
5ff8d12
Compare
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
libvirt allows the use of compression with live migration. There are two compression methods currently supported: "mt" and "xbzrle". This patch allows extends the virt.migrate function with additional set of options that allow to enable and configure the compression functionality of libvirt. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
Without this change generating the docs fails with: Block quote ends without a blank line; unexpected unindent. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
3d4ff72
to
a16903e
Compare
This PR is no longer blocked by the PyTest migration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to revert the fixtures. Could you please remove them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, left some more debug code around....
3ce4c97
to
66b4196
Compare
Add a compat layer to make use of newer salt-factories features while we don't fully upgrade to it
66b4196
to
a5b0314
Compare
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This PR is rebased on #57736, which provides integration tests for live migration.
What does this PR do?
This PR modifies the existing
virt.migrate
functionality to use the Python bindings of libvirt instead of thevirsh
command-line tool. This approach allows to make of the libvirt migration options available to users via a generic interface that doesn't require an increased number functions. Although backwards comparability is preserved, thessh
parameter ofvirt.migrate
,virt.migrate_non_shared
andvirt.migrate_non_shared_inc
have been marked as deprecated.Previous Behavior
New Behavior
Merge requirements satisfied?