Skip to content

Conversation

@Pearl1594
Copy link
Contributor

Description

This PR fixes: #8827
Importing a VM from a remote host uses a dummy VM template which is not present on the secondary store, leading to NPEs when migrating the VM. This PR enables migrating oly the volume (not the template)

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI

Feature/Enhancement Scale or Bug Severity

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

@Pearl1594 Pearl1594 self-assigned this Jun 14, 2024
@DaanHoogland DaanHoogland changed the base branch from main to 4.19 June 14, 2024 13:03
Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

CLGTM

@DaanHoogland
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@sureshanaparti
Copy link
Contributor

@Pearl1594 Is this live migration of the volume, or offline?

@Pearl1594
Copy link
Contributor Author

live migration @sureshanaparti

@codecov
Copy link

codecov bot commented Jun 14, 2024

Codecov Report

Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 16.37%. Comparing base (0208e09) to head (2a96d9f).
Report is 167 commits behind head on 4.19.

Files Patch % Lines
...torage/motion/StorageSystemDataMotionStrategy.java 0.00% 5 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##               4.19    #9259       +/-   ##
=============================================
- Coverage     30.91%   16.37%   -14.54%     
+ Complexity    34249    14581    -19668     
=============================================
  Files          5354     4857      -497     
  Lines        376094   325107    -50987     
  Branches      54696    45667     -9029     
=============================================
- Hits         116258    53244    -63014     
- Misses       244542   264286    +19744     
+ Partials      15294     7577     -7717     
Flag Coverage Δ
simulator-marvin-tests 16.37% <0.00%> (-8.36%) ⬇️
uitests ?
unit-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@sureshanaparti sureshanaparti left a comment

Choose a reason for hiding this comment

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

clgtm

@blueorangutan
Copy link

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9960

@vishesh92
Copy link
Member

@blueorangutan package

@blueorangutan
Copy link

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@apache apache deleted a comment from blueorangutan Jun 20, 2024
@blueorangutan
Copy link

Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10042

@sureshanaparti
Copy link
Contributor

@blueorangutan test

@blueorangutan
Copy link

@sureshanaparti a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan
Copy link

[SF] Trillian test result (tid-10540)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 48752 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9259-t10540-kvm-centos7.zip
Smoke tests completed. 130 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_02_trigger_shutdown Failure 336.68 test_safe_shutdown.py

@vishesh92
Copy link
Member

Tested the PR. Was able to reproduce the issue. Not able to reproduce it after this patch.

@vishesh92 vishesh92 merged commit f792684 into 4.19 Jun 24, 2024
@vishesh92 vishesh92 deleted the 8827-fix-migration-of-imported-vm-kvm branch June 24, 2024 07:16
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Unable to migrate instance that came from an external KVM host

5 participants