Open winterhazel opened 2 months ago
@blueorangutan package
@winterhazel 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.
Attention: Patch coverage is 0%
with 4 lines
in your changes missing coverage. Please review.
Project coverage is 15.08%. Comparing base (
0204cb7
) to head (dddfea4
). Report is 28 commits behind head on 4.19.
Files with missing lines | Patch % | Lines |
---|---|---|
...m/cloud/hypervisor/vmware/mo/VirtualMachineMO.java | 0.00% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11021
@blueorangutan test ol8 vmware-70u3
@rohityadavcloud a [SL] Trillian-Jenkins test job (ol8 mgmt + vmware-70u3) has been kicked to run smoke tests
[SF] Trillian test result (tid-11398) Environment: vmware-70u3 (x2), Advanced Networking with Mgmt server ol8 Total time taken: 52194 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9644-t11398-vmware-70u3.zip Smoke tests completed. 131 look OK, 2 have errors, 0 did not run Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File |
---|---|---|---|
ContextSuite context=TestPrivateGwACL>:setup | Error |
0.00 | test_privategw_acl.py |
test_09_project_suspend | Error |
1.11 | test_projects.py |
test_10_project_activation | Error |
1.09 | test_projects.py |
Description
When attaching a volume to an instance, CloudStack calculates the next free unit number of the disk controller that should be associated with the volume. However, for IDE disk controllers, CD/DVD drives associated with the controller are not taken into consideration when calculating the next available unit number. Due to this, an error happens in some situations when trying to attach a volume to an instance over IDE controllers because CloudStack tries to associate the volume to an unit number that is already being used.
The generic method of reproducing this problem is:
dataDiskController
toide
This PR fixes the issue by making the code also consider CD/DVD drives. Tests will be added in another PR alongside an extension for the disk controllers that I'm currently working on, as it will require me to modify this code again.
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
How Has This Been Tested?
rootDiskController
anddataDiskController
set toide
, with only a root disk