Version-Release number of selected component (if applicable): 19.2 Steps to Reproduce: 1. Create a new system. 2. On the Essentials tab, add some supported architectures. 3. Go to the Provision tab and try to provision a distro. Actual results: No distro families are offered, because the tab still thinks that the system supports no arches. If you refresh the page, the distro picker will then offer some choices. Expected results: Distro picker should be re-rendered when the arches change, so that it offers choices straight away without refreshing the page.
Fix here is to make the distro picker widget listen to the system model's arches and re-render itself. I *think* it should just be an extra this.listenTo() call in the initialize() for the distro picker view.
https://gerrit.beaker-project.org/#/c/5889/
Dan, with the way you were reproducing the bug, turns out that the issue is not with a change related to system arches, but with the change in lab controller. So the fix here is to add a this.listenTo() for change:lab_controller_id
Turns out in the end that the issue was the way system.kid passed in distro_picker_options caused the widget to not pick up on changes (since it used this variable to display osmajor options)
Verified by following these steps: * Created a system * Added an associated labcontroller * Checked provision tab does not offer any families as no supported architectures are assigned * add supported arch in essentials tab * Check that provision tab now offers distro families
This bug was fixed on the release-24 branch, to appear in Beaker 24.6, but we are not planning any more maintenance releases for the 24.x series. The next release will be Beaker 25.0. Updating the milestone accordingly.
Beaker 25.0 has been released. Release notes are available upstream: https://beaker-project.org/docs/whats-new/release-25.html