[VMware] Start VM with deploy-as-is template having multiple controller types#5311
Conversation
|
@blueorangutan package |
|
@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 862 |
DaanHoogland
left a comment
There was a problem hiding this comment.
code looks good, if this really solves the issue : merge.
@sureshanaparti is sorting really all that is needed? Did you try multiple orderings of disks in the template ?
| Collections.sort(vmDisks, new Comparator<VirtualDisk>() { | ||
| @Override | ||
| public int compare(VirtualDisk disk1, VirtualDisk disk2) { | ||
| Integer controllerKey1 = disk1.getControllerKey(); | ||
| Integer controllerKey2 = disk2.getControllerKey(); | ||
| return controllerKey1.compareTo(controllerKey2); | ||
| } | ||
| }); | ||
|
|
There was a problem hiding this comment.
can you extract this utility?
There was a problem hiding this comment.
can you extract this utility?
done
@DaanHoogland the disks are returns in random order, and so there is mismatch in the mapping of disks. |
6ad6087 to
25dddcd
Compare
|
@blueorangutan package |
|
@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 864 |
|
@blueorangutan test centos7 vmware-67u3 |
|
@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests |
|
@blueorangutan test centos7 vmware-67u3 |
|
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests |
|
Trillian test result (tid-1644)
|
|
Needs manual testing, marking as draft until then |
|
@sureshanaparti does this affect 4.15 too? If so, pl raise PR against 4.15 branch. |
25dddcd to
c3beef4
Compare
|
@blueorangutan package |
|
@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 1056 |
|
@blueorangutan test centos7 vmware-67u3 |
|
@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests |
|
Trillian test result (tid-1834)
|
nvazquez
left a comment
There was a problem hiding this comment.
LGTM - Tested using deploy-as-is on templates with multiple controller types
Description
This PR fixes the deploy / start VM issue in VMware, with deploy-as-is template (OVA) having multiple controller types.
Fixes: #5111
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Manually tested deploy / start using OVA template having multiple controller types.