Description
problem
In a multi-arch env, creating CKS cluster doesn't map/check the data ISO arch with the arch of the instances; this can lead to issues where the CKS instances are aarch64, but the data ISO is x86_64.
Instead, the VM is allocated based on the systemvmtemplate, which is hard-coded to the last systemvmtemplate in the DB. It doesn't honour system.vm.preferred.architecture
setting, and affects at least the CKS and sharedFS features.
versions
ACS 4.20.1.0 RC3
The steps to reproduce the bug
- Create CKS cluster in a multi-arch env
- Data ISO is x86 but instance arch is arm64
- CKS cluster will fail to be created
What to do about it?
This can be fixed by either the data isos been multi-arch, or the deployment planner to map the right data ISO with the right instance arch.