Bug #14218
guest subscriptions have incorrect link to hypervisor
Description
When a subscription type is of the form "Guests of hypervisor-name", the hypervisor-name is a link to the hypervisor itself. The link is broken since it is still including they candlepin uuid rather than the host id.
The subscriptions UI pages on other pages (content host and activation keys) are also broken and need fixing.
Related issues
Associated revisions
History
#1
Updated by Thomas McKay almost 5 years ago
- Bugzilla link set to 1318028
#2
Updated by Thomas McKay almost 5 years ago
- Blocks Bug #12533: Subscriptions Tracker added
#3
Updated by Eric Helms over 4 years ago
- Legacy Backlogs Release (now unused) set to 144
#4
Updated by Eric Helms over 4 years ago
- Legacy Backlogs Release (now unused) deleted (
144)
#5
Updated by Justin Sherrill over 4 years ago
- Assignee set to John Mitsch
- Difficulty set to easy
#6
Updated by John Mitsch over 4 years ago
I can confirm this is still a bug. Looking into it now
#7
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6147 added
#8
Updated by Justin Sherrill over 4 years ago
- Priority changed from High to Normal
- Legacy Backlogs Release (now unused) set to 162
#9
Updated by John Mitsch over 4 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|6eaa32d8a1567c14daf3e6259976fc460005ff53.
Fixes #14218 - Uses id not uuid, for host link with virtual sub (#6147)
When attaching a VDC subscription to a physical host, a link appears
for the guest subscription, "Guests of foo.example.com" This link is
broken as it is still using the candlepin id instead of the active
record id. This commit changes the link to use the proper id, and also
changes the JSON returned. All places in the UI that are using a
subscription's host id should be updated.