Project

General

Profile

Actions

Bug #39258

closed

Unable to save host configuration due to missing variant_repos method

Added by Joshua Schott 3 months ago. Updated about 2 months ago.

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

Description

There is an issue that arises when content-hosts are updated. When a host that was originally assigned to a RHEL or CentOS OS is updated to one that does not support the "@Appstream Repos" / variant_repos method, we see errors like the following:

Failed to render template 'Preseed default', error: undefined method 'variant_repos' for #<Debian id: .............

This can currently only be worked around by setting the OS back to RHEL / CentOS before making changes, or deleting and re-creating the host.

Actions #1

Updated by Joshua Schott 3 months ago

  • Fixed in Releases Katello 4.13.2 added
  • Fixed in Releases deleted (Katello 5.0.0)
Actions #2

Updated by Joshua Schott 3 months ago

  • Fixed in Releases Katello 5.0.0 added
  • Fixed in Releases deleted (Katello 4.13.2)
  • Found in Releases Katello 4.19.1 added
Actions #3

Updated by Joshua Schott 3 months ago

  • Fixed in Releases deleted (Katello 5.0.0)
Actions #4

Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing
Actions #5

Updated by The Foreman Bot 2 months ago

  • Fixed in Releases Katello 4.21.0 added
Actions #6

Updated by Anonymous 2 months ago

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

Updated by Joshua Schott 2 months ago

  • Triaged changed from No to Yes
Actions #8

Updated by Ian Ballou 2 months ago

For the future, if you triage your own issue, it will skip our upstream triage meeting which means it may get less visibility.

Thanks for the report! Triaging now.

Actions #9

Updated by Ian Ballou 2 months ago

  • Target version set to Katello 4.20.1
Actions #10

Updated by Joshua Schott 2 months ago

Ian Ballou wrote in #note-8:

For the future, if you triage your own issue, it will skip our upstream triage meeting which means it may get less visibility.

Thanks for the report! Triaging now.

No problem, thanks for the info! My apologies - I will defer triage to maintainers in future.

Actions #11

Updated by The Foreman Bot about 2 months ago

  • Fixed in Releases Katello 4.20.1 added
Actions

Also available in: Atom PDF