kvm: export sysinfo for arm64 domains for cloud-init to work#8940
kvm: export sysinfo for arm64 domains for cloud-init to work#8940weizhouapache merged 1 commit intoapache:4.18from
Conversation
This fixes a limitation for arm64/aarch64 KVM hosts to correctly export the product name via sysconfig attribute. Without this `cloud-init` doesn't function correctly on arm64 platforms. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
|
@blueorangutan package |
|
@rohityadavcloud 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. |
plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
Show resolved
Hide resolved
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9313 |
|
@blueorangutan test |
|
@rohityadavcloud a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian Build Failed (tid-9904) |
DaanHoogland
left a comment
There was a problem hiding this comment.
clgtm, so the condition was (_arch == null || !_arch.equals("aarch64")) now we overwrite it in any case. Only leaves me to wonder why we didn't before.
|
@DaanHoogland I was the only who disabled it for aarch64, but didn't think of the implication earlier. @blueorangutan test |
|
@rohityadavcloud a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-9912)
|
…8940) This fixes a limitation for arm64/aarch64 KVM hosts to correctly export the product name via sysconfig attribute. Without this `cloud-init` doesn't function correctly on arm64 platforms. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This fixes a limitation for arm64/aarch64 KVM hosts to correctly export the product name via sysconfig attribute. Without this
cloud-initdoesn't function correctly on arm64 platforms.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Tested this on a ARM64 KVM host, before the fix cloud-init enabled template didn't work and I was not able to ssh into the instances; with this fix I was able to ssh into cloud-init enabled templates such as https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-arm64.img