Skip to content

Create new Instance from VM backup#10140

Merged
sureshanaparti merged 188 commits into
apache:mainfrom
shapeblue:instance-from-backup
Jul 31, 2025
Merged

Create new Instance from VM backup#10140
sureshanaparti merged 188 commits into
apache:mainfrom
shapeblue:instance-from-backup

Disable console access for Restoring VMs.

e2f2f24
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 8, 2025 in 0s

16.74% (+0.16%) compared to 5b7c3b4

View this Pull Request on Codecov

16.74% (+0.16%) compared to 5b7c3b4

Details

Codecov Report

Attention: Patch coverage is 34.38735% with 1328 lines in your changes missing coverage. Please review.

Project coverage is 16.74%. Comparing base (5b7c3b4) to head (e2f2f24).
Report is 17 commits behind head on main.

Files with missing lines Patch % Lines
...loudstack/api/command/user/vm/BaseDeployVMCmd.java 15.25% 302 Missing and 37 partials ⚠️
.../src/main/java/com/cloud/vm/UserVmManagerImpl.java 47.90% 105 Missing and 32 partials ⚠️
...rg/apache/cloudstack/backup/BackupManagerImpl.java 64.67% 90 Missing and 46 partials ⚠️
...ack/api/command/user/vm/CreateVMFromBackupCmd.java 6.15% 60 Missing and 1 partial ⚠️
...rg/apache/cloudstack/backup/NASBackupProvider.java 35.95% 54 Missing and 3 partials ⚠️
...rg/apache/cloudstack/backup/dao/BackupDaoImpl.java 36.36% 43 Missing and 6 partials ⚠️
.../apache/cloudstack/backup/DummyBackupProvider.java 0.00% 42 Missing ⚠️
...che/cloudstack/backup/NetworkerBackupProvider.java 0.00% 35 Missing ⚠️
.../apache/cloudstack/backup/VeeamBackupProvider.java 5.88% 32 Missing ⚠️
...a/org/apache/cloudstack/backup/BackupDetailVO.java 18.91% 29 Missing and 1 partial ⚠️
... and 48 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #10140      +/-   ##
============================================
+ Coverage     16.57%   16.74%   +0.16%     
- Complexity    13967    14154     +187     
============================================
  Files          5743     5755      +12     
  Lines        510468   512956    +2488     
  Branches      62073    62506     +433     
============================================
+ Hits          84616    85882    +1266     
- Misses       416390   417408    +1018     
- Partials       9462     9666     +204     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.