-
Notifications
You must be signed in to change notification settings - Fork 168
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
migration: Add bandwidth limit case #5234
Conversation
Test result: Due to a bug, some cases fail. (1/6) type_specific.io-github-autotest-libvirt.migration_with_copy_storage.migration_bandwidth_limit.copy_storage_all.bandwidth.p2p: PASS (686.35 s) (1/6) type_specific.io-github-autotest-libvirt.migration_with_copy_storage.migration_bandwidth_limit.copy_storage_inc.bandwidth.p2p: PASS (246.45 s) |
16d61f5
to
462199b
Compare
462199b
to
85d3a21
Compare
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.
Others LGTM
provider/migration/migration_base.py
Outdated
@@ -726,3 +727,16 @@ def get_vm_serial_session_on_dest(params): | |||
vm_session = migration_obj.vm.wait_for_serial_login(timeout=120) | |||
params.update({"vm_session": vm_session}) | |||
migration_obj.vm.connect_uri = backup_uri | |||
|
|||
|
|||
def check_bandwidth_by_blockjob(params): |
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.
How about moving this function to a blockjob related module? And rather than limiting blockjobs to a function of checking bandwidth, the bandwidth option could be made flexible. what do you think?
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.
Updated, thanks.
6e82a29
to
9b21685
Compare
9b21685
to
fd0bad2
Compare
VIRT-297906 - VM live migration with copy storage - bandwidth limit Signed-off-by: lcheng <[email protected]>
fd0bad2
to
62bfc21
Compare
VIRT-297906 - VM live migration with copy storage - bandwidth limit