Hide Forgot
Description of problem: If a user has synced multiple kickstart trees of the same os family, version, and arch and then tries to provision a host using that os family, version and arch it is not certain which tree will be used via our automatic detection. For example: RHEL Server 7.1 x86_64 RHEL Workstation 7.1 x86_64 RHEL Atomic 7.1 x86_64 The easiest way around this is to require a media to be selected if the user selects the default content view. Version-Release number of selected component (if applicable): 6.2 snap3 How reproducible: Always Steps to Reproduce: 1. Sync at least two of the above Kickstart trees, version and arch must be the same 2. Try to provision a host making sure to select 'Library', 'Default Organization View', a content source of the satellite's hostname. Actual results: After selecting a os version and arch a URL will be presented on the operating systems tab pointing to one of the 2 or 3 kickstarts. There is no way for the user to select which one. Its also possible when the user clicks the button it will 'select' a different url Expected results: No static url is generated and the user can select from available install media Additional info:
Created redmine issue http://projects.theforeman.org/issues/14257 from this bug
This issue is affecting provisioning of atomic host7.2 when another yum based distro of same os (rhel7.2) along with ks files is synced. Provisioning of atomic host failed with error: ImportError: can not import OSTree Please see the attached screenshot where anacaonda installer throws this error while provisioning atomic host. This needs to be fixed on priority.
Created attachment 1139071 [details] atomic host install failed when same org conatins rhel ks
Note that the upstream PR is 2 commits, not one
Verified with sat6.2 beta snap9.2 Now webUI shows two combo box for "Media Selection". - sycned content - all media I can select the server/workstation media as per the attached screenshot.
Created attachment 1150319 [details] UI allows to choose media from dropdown based on syced contents in default CV
Based on comment3, I tried provisioning of atomic having installer ostree for 7.2 in same org where rhel7.2 is synced. I can provision atomic host with association of content-source without any issue.
Created attachment 1150321 [details] atomic install works file even after having ostree installer and rhel installer in same repo
I successfully provisioned workstation by selecting workstation media. I don't see any issue with provisioning even though same org has multiple ks of same OS( atomic 7.2, RHEL workstation 7.2, RHEL Server 7.2) in same org. However, new host form doesn't get submitted successfully first time, UI highlights "Operating System" tab with red border but without any error. But that's a different error.
Bz filed for issue pointed in comment13. https://bugzilla.redhat.com/show_bug.cgi?id=1330012
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501