Bug 1378571

Summary: Selecting architecture in hostgroup doesn't update operating system
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: Host GroupAssignee: Lukas Zapletal <lzap>
Status: CLOSED ERRATA QA Contact: Martin Korbel <mkorbel>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: bbuckingham, jcallaha, mkorbel, oshtaier
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:49:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom McKay 2016-09-22 18:47:02 UTC
1. new hostgroup form
2. select architecture
3. operatingsystems select box stays empty.

Seems like a regressions from https://github.com/theforeman/foreman/commit/4cbf879ed5957978afd74b3707c8a6b16fa18225#diff-8f01b651da121a774de5a75ce7332f7dL48

Comment 1 Tom McKay 2016-09-22 18:47:05 UTC
Created from redmine issue http://projects.theforeman.org/issues/16532

Comment 2 Tom McKay 2016-09-22 18:47:09 UTC
Upstream bug assigned to lzap

Comment 4 Bryan Kearney 2016-09-22 20:20:27 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16532 has been resolved.

Comment 7 Martin Korbel 2016-10-19 11:36:12 UTC
VERIFIED on foreman-1.13.0-1.el7

Reproducer:
1. we have got sat6 with synced one repo at least.
2. create new host group via WebUI
3. click on the "Operation System" tab
4. choose one of the architectures (in my case i386). selectbox "Operation system" is empty/disabled  (I do not have i386 repo synced).
5. choose the second architecture (in my case x86_64). The selectbox "Operation system" was updated, we can open it and choose OS (RHEL Server 7.2 in my case).

Comment 8 Oleksandr Shtaier 2017-08-10 09:26:48 UTC
Not sure what scenario was exactly mentioned here. Was it about fact that 'operating system' field is auto-refreshed(selectbox is empty, but proper value can be selected) or auto-populated(selectbox is already contain first proper value from the list once architecture is selected). Anyway both scenarios can be covered by test automation scripts. Steps from Verification section are already present, so put qe_test_coverage to '+'

Comment 9 Satellite Program 2018-02-21 16:49:54 UTC
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/RHSA-2018:0336