Description of problem: If you create a profile using createPackageProfile API, it does not assign architecture to the packages in profile. Webui shows architecture "not specified ". Steps to Reproduce: 1. Register a system to satellite. 2. Use api: system.createPackageProfile(key, system-id, 'profilename', 'profilename') 3. Check in webui or try using comparePackageProfile with the same system (It should return 0 packages). Actual results: webui shows architecture "not specified " for every package in the profile. Expected results: It should assign correct architecture.
git commit: d242900a878a6027c06d6f9355297c51b479f00b Updated the system.createPackageProfile API to use the same logic that is currently used by the UI for profile creation.
mass move to ON_QA
verified.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1434.html