Hide Forgot
Description of problem: The distribution profile json files for x86_64 distros that I assume are distributed from RHN hold incorrect arch 'i386' which in turn confuses koan when creating a virtual machine (koan gives the '-m i386' option to virt-install so that a 32-bit VM is created instead of a 64-bit one that is expected). Version-Release number of selected component (if applicable): How reproducible: N/A Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: There are distribution profile data json files stored at /var/lib/cobbler/config/distros.d, and all the ones for x86_64 (ks-rhel-x86_64-server-[56]-*.json) have the entry '"arch": "i386"' instead of '"arch": "x86_64"' in them. As a result of this, when I try to deploy a virtual machine using koan from a ks profile which specifies any x86_64 distro, koan gets the ks profile's arch as "i386" via the cobbler xmlrpc API and instructs virt-install to create a 32-bit VM with the option '-m i386'. The VM boots off of the 64-bit OS image and complains it does not detect a 64-bit processor necessary to install the 64-bit OS then stops. If I manually edit one of those files, change the "arch" parameter value to "x86_64" and restart cobblerd, cobbler xmlrpc API returns the correct arch and koan deployment works fine. As far as I can tell, the arch is incorrectly set to i386 for ALL the x86_64 distros.
Created attachment 805673 [details] proposed patch sample to one of the json files
No idea when this was fixed in Hosted, but it appears to be corrected now. Closing current-release.