Skip to content

Fix VM import & VM delete with custom offering#8813

Merged
DaanHoogland merged 5 commits intoapache:4.19from
shapeblue:fix-import-vm-and-delete-with-custom-offering
Apr 10, 2024
Merged

Fix VM import & VM delete with custom offering#8813
DaanHoogland merged 5 commits intoapache:4.19from
shapeblue:fix-import-vm-and-delete-with-custom-offering

Conversation

@vishesh92
Copy link
Copy Markdown
Member

@vishesh92 vishesh92 commented Mar 20, 2024

Description

This PR fixes #8785.

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

Feature/Enhancement Scale

  • Major
  • Minor

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?

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 20, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 30.88%. Comparing base (308ed13) to head (654379a).
Report is 6 commits behind head on 4.19.

Files Patch % Lines
.../apache/cloudstack/vm/UnmanagedVMsManagerImpl.java 85.71% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               4.19    #8813      +/-   ##
============================================
- Coverage     30.92%   30.88%   -0.05%     
+ Complexity    34290    34238      -52     
============================================
  Files          5355     5355              
  Lines        376634   376686      +52     
  Branches      54808    54813       +5     
============================================
- Hits         116480   116337     -143     
- Misses       244820   245053     +233     
+ Partials      15334    15296      -38     
Flag Coverage Δ
simulator-marvin-tests 24.70% <0.00%> (-0.04%) ⬇️
uitests 4.38% <ø> (-0.01%) ⬇️
unit-tests 16.57% <85.71%> (+<0.01%) ⬆️

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.

@vishesh92 vishesh92 force-pushed the fix-import-vm-and-delete-with-custom-offering branch from ceffd5f to 4812aeb Compare March 20, 2024 15:30
@vishesh92 vishesh92 force-pushed the fix-import-vm-and-delete-with-custom-offering branch from 4812aeb to 863f14a Compare March 20, 2024 15:37
@vishesh92
Copy link
Copy Markdown
Member Author

@blueorangutan package

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

@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.

@blueorangutan
Copy link
Copy Markdown

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

@vishesh92
Copy link
Copy Markdown
Member Author

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

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

@blueorangutan
Copy link
Copy Markdown

[SF] Trillian test result (tid-9538)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 43030 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8813-t9538-kvm-centos7.zip
Smoke tests completed. 128 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.79 test_safe_shutdown.py

@vishesh92 vishesh92 added this to the 4.19.1.0 milestone Mar 21, 2024
Comment thread server/src/main/java/org/apache/cloudstack/vm/UnmanagedVMsManagerImpl.java Outdated
Copy link
Copy Markdown
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.

minor question on dynamic offering, overall code lgtm

@vishesh92
Copy link
Copy Markdown
Member Author

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@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.

@blueorangutan
Copy link
Copy Markdown

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

@vishesh92
Copy link
Copy Markdown
Member Author

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

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

@blueorangutan
Copy link
Copy Markdown

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

Test Result Time (s) Test File

Comment thread server/src/main/java/org/apache/cloudstack/vm/UnmanagedVMsManagerImpl.java Outdated
@vishesh92 vishesh92 requested a review from kiranchavala March 27, 2024 07:36
@vishesh92
Copy link
Copy Markdown
Member Author

@blueorangutan package

@apache apache deleted a comment from blueorangutan Mar 27, 2024
@apache apache deleted a comment from blueorangutan Mar 27, 2024
@blueorangutan
Copy link
Copy Markdown

@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.

@blueorangutan
Copy link
Copy Markdown

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

@vishesh92
Copy link
Copy Markdown
Member Author

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

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

@blueorangutan
Copy link
Copy Markdown

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

Test Result Time (s) Test File

Copy link
Copy Markdown
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

Copy link
Copy Markdown
Member

@kiranchavala kiranchavala left a comment

Choose a reason for hiding this comment

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

LGTM, tested manually able to import to a custom offering

Screenshot 2024-04-10 at 10 06 15 AM
Screenshot 2024-04-10 at 10 07 13 AM

@DaanHoogland DaanHoogland merged commit c24c1a5 into apache:4.19 Apr 10, 2024
@DaanHoogland DaanHoogland deleted the fix-import-vm-and-delete-with-custom-offering branch April 10, 2024 09:29
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request May 3, 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 import qcow2 image present on shared/local to a custom offering

6 participants