Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1139260 - [RFE] Lost link between host and content-host
[RFE] Lost link between host and content-host
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Content Management (Show other bugs)
6.0.4
Unspecified Unspecified
unspecified Severity low (vote)
: Beta
: Unused
Assigned To: satellite6-bugs
Sachin Ghai
http://projects.theforeman.org/issues...
: FutureFeature, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-08 09:36 EDT by Pavel Studeník
Modified: 2016-07-27 05:11 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-27 05:11:15 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
host is available under content-hosts (70.62 KB, image/png)
2016-04-15 05:23 EDT, Sachin Ghai
no flags Details
host is available under all hosts and details page shows a new tab 'content' that provides the linking (59.58 KB, image/png)
2016-04-15 05:25 EDT, Sachin Ghai
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 9380 None None None 2016-04-22 10:57 EDT
Red Hat Product Errata RHBA-2016:1501 normal SHIPPED_LIVE Red Hat Satellite 6.2 Capsule and Server 2016-07-27 08:28:58 EDT

  None (edit)
Description Pavel Studeník 2014-09-08 09:36:00 EDT
Description of problem:
I registered system to satellite 6 by subscription-manager and then I created new host by puppet (existed host). If I look at page with detail of host I can see only:

Properties
=====================================
Subscription status: 	Not available 

But system is subscribed.

Version-Release number of selected component (if applicable):
Version 6.0.4

How reproducible:
always

Steps to Reproduce:
1. register system as content-host (subscription-manager register ...)
2. create new host by puppet (puppet client)
3. try to find link between host and content-host

Actual results:
without correct connection between katello and foreman

Expected results:
detail of content-host and host are linked
Comment 1 RHEL Product and Program Management 2014-09-08 09:43:28 EDT
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
Comment 3 Pavel Studeník 2014-09-09 12:56:40 EDT
At first I created new host by puppet, then I registered system as content-host (by subscription-manager) and links exist on detail pages.

But If I make it the other way around, then detail pages are without links. Order of steps is important.

1. subscription-manager register ...
2. create new host by puppet agent
3. check details of host and content-host
Comment 4 Brad Buckingham 2014-12-09 15:35:51 EST
This one is similar to bug 1100284.
Comment 5 Tom McKay 2015-02-13 15:41:21 EST
Created redmine issue http://projects.theforeman.org/issues/9380 from this bug
Comment 6 Bryan Kearney 2015-08-25 14:07:33 EDT
Upstream bug component is Content Management
Comment 7 Bryan Kearney 2016-02-05 15:34:04 EST
Upstream bug component is Content Management
Comment 8 Brad Buckingham 2016-03-07 10:49:43 EST
Satellite 6.2 includes a feature referred to as 'host unification'.  With that feature, this behavior should no longer occur. 

Moving bug to ON_QA for verification.
Comment 10 Sachin Ghai 2016-04-15 05:21:29 EDT
Verified sat6.2 beta snap8.1

The reported issue has been addressed as part if host unification feature. When you register a host via subscription-manager, the registered host entry populated under contents host as well as under all hosts.

here how I registered a host

cloud-qe-12.idmqe. ~]# subscription-manager register --activationkey ak_rhel7 --org Default_Organization
The system has been registered with ID: d5ea9cb7-35be-48b1-9a48-3571476ec63e 

Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status:       Not Subscribed

Unable to find available subscriptions for all your installed products.


In webUI, this host is available under contents host as well as under all hosts and both are linked.
Comment 11 Sachin Ghai 2016-04-15 05:23 EDT
Created attachment 1147557 [details]
host is available under content-hosts
Comment 12 Sachin Ghai 2016-04-15 05:25 EDT
Created attachment 1147558 [details]
host is available under all hosts and details page shows a new tab 'content' that provides the linking
Comment 14 errata-xmlrpc 2016-07-27 05:11:15 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501

Note You need to log in before you can comment on or make changes to this bug.