Project

General

Profile

Actions

Bug #37998

closed

deb type content host with structured APT enabled throws errors on repository sets tab

Added by Quirin Pamp 2 months ago. Updated about 1 month ago.

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

Description

To reproduce:

  1. Enable structured APT on your instance. (See Administer > Settings > Content tab > Enable structured APT for deb content; Make sure you read the description about migrating your deb content)
  2. Add some deb content and get it into a CV, create an activation key etc.
  3. Register for example an ubuntu content host, see instructions here: http://oss.atix.de/html/ubuntu.html
  4. Navigate to "Content Hosts > your content host > Content tab > Repository sets sub-tab

Result:

The UI displays the following error:

undefined method `environment' for #<Katello::Host::SubscriptionFacet id: 2, host_id: 2, uuid: "1f0606b9-dce5-41e4-a747-35c2ac32cc8b", last_checkin: "2024-11-08 15:30:49.066992000 +0000", service_level: "", release_version: nil, autoheal: true, registered_at: "2024-11-08 15:30:47.000000000 +0000", registered_through: "centos9-katello-devel-stable.example.com", user_id: nil, hypervisor: false, hypervisor_host_id: nil, purpose_usage: "", purpose_role: "", dmi_uuid: "5F2485C1-02BA-48A7-85A7-4411696505BA", convert2rhel_through_foreman: nil>

Expectation:

The content host lists it's deb repos.

Additional information:

The functionality appears to work for activation keys, but not for content facets.


Related issues 1 (0 open1 closed)

Related to Katello - Feature #35959: Replace simple publisher with structured publisher for Debian RepositoriesClosedBernhard SuttnerActions
Actions #1

Updated by The Foreman Bot 2 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/11212 added
Actions #2

Updated by Markus Bucher about 2 months ago

  • Related to Feature #35959: Replace simple publisher with structured publisher for Debian Repositories added
Actions #3

Updated by Partha Aji about 2 months ago

  • Target version changed from Katello 4.15.0 to Katello Next
  • Triaged changed from No to Yes
Actions #4

Updated by Partha Aji about 2 months ago

  • Target version changed from Katello Next to Katello 4.15.0
Actions #5

Updated by Chris Roberts about 2 months ago

  • Target version changed from Katello 4.15.0 to Katello 4.16.0
Actions #6

Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases Katello 4.16.0 added
Actions #7

Updated by Markus Bucher about 1 month ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF