Project

General

Profile

Actions

Bug #25917

closed

Error When Creating or Editing Host Group With Operating System

Added by John Mitsch almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Related to Katello - Bug #25379: Kickstart repo seems not available in promoted CV.ClosedJonathon TurelActions
Actions #1

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
Actions #2

Updated by John Mitsch almost 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #3

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
Actions #4

Updated by Tomer Brisker almost 6 years ago

  • Related to Bug #25379: Kickstart repo seems not available in promoted CV. added
Actions #5

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.

Actions #6

Updated by Jonathon Turel almost 6 years ago

  • Target version changed from Katello 3.12.0 to Katello 3.10.1
Actions #7

Updated by Andrew Kofink almost 6 years ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF