Actions
Bug #37998
closeddeb type content host with structured APT enabled throws errors on repository sets tab
Description
To reproduce:¶
- 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)
- Add some deb content and get it into a CV, create an activation key etc.
- Register for example an ubuntu content host, see instructions here: http://oss.atix.de/html/ubuntu.html
- 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.
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
Updated by Markus Bucher about 2 months ago
- Related to Feature #35959: Replace simple publisher with structured publisher for Debian Repositories added
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
Updated by Partha Aji about 2 months ago
- Target version changed from Katello Next to Katello 4.15.0
Updated by Chris Roberts about 2 months ago
- Target version changed from Katello 4.15.0 to Katello 4.16.0
Updated by The Foreman Bot about 1 month ago
- Fixed in Releases Katello 4.16.0 added
Updated by Markus Bucher about 1 month ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|efd860b84b7ac8395dac7599bbad64d289ada363.
Actions