Bug #25917
closedError When Creating or Editing Host Group With Operating System
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1658659
You can reproduce this by create a host group with an OS with no family
1. hammer architecture create --organization-id 1 --name 'reproducer_arch'
2. echo 'default ptable layout' > /tmp/ptable_layout
3. hammer partition-table create --organization-id 1 --name 'reproducer_ptable' --file /tmp/ptable_layout
4. hammer os create --major 7574 --name 'reproducer_os' --architecture-ids :arch_id --partition-table-ids :ptable_id
5. hammer hostgroup create --name 'reproducer_hostgroup' --architecture-id :arch_id --partition-table-id :ptable_id --operatingsystem-id :os_id
Updated by The Foreman Bot almost 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to John Mitsch
- Pull request https://github.com/Katello/katello/pull/7943 added
Updated by John Mitsch almost 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|ee4dbaba78a3bc410eb7a83103b2b2a889d24e2f.
Updated by Jonathon Turel almost 6 years ago
- Subject changed from Error When Creating or Editing Host Group With Operating System to Error When Creating or Editing Host Group With Operating System
- Target version set to Katello 3.12.0
- Triaged changed from No to Yes
Updated by Tomer Brisker almost 6 years ago
- Related to Bug #25379: Kickstart repo seems not available in promoted CV. added
Updated by Tomer Brisker almost 6 years ago
- Triaged changed from Yes to No
- Found in Releases Katello 3.10.0 added
Looks like this was introduced in 3.10 by #25379, and also breaks hostsgroups for all non-RH oses, a user just came in reporting xenserver is broken with:
Oops, we're sorry but something went wrong undefined method `kickstart_repos' for #<Xenserver:0x00007f418abd8b20>
Removing triage and proposing pulling this into 3.10.1 and 3.11.
Updated by Jonathon Turel almost 6 years ago
- Target version changed from Katello 3.12.0 to Katello 3.10.1