Bug 1100284
Summary: | [RFE]Registering a host (which is not provisioned by foreman) via rhsm should show up in foreman | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sachin Ghai <sghai> | ||||||
Component: | Content Management | Assignee: | Justin Sherrill <jsherril> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Sachin Ghai <sghai> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 6.0.3 | CC: | bbuckingham, bkearney, dcleal, jmagen, jmatthew, jsherril, sgarciam, tomckay, tsanders | ||||||
Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged | ||||||
Target Release: | Unused | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
URL: | http://projects.theforeman.org/issues/9381 | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Enhancement | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-07-27 09:09:03 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | 1081697 | ||||||||
Bug Blocks: | 1161120, 1212602 | ||||||||
Attachments: |
|
Description
Sachin Ghai
2014-05-22 12:29:47 UTC
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. I don't think Katello needs to create a Foreman host every time a content host is registered using subscription-manager. From what I understand, a content host that manages only RPM's doesn't need a Foreman host. If a content host also contains puppet modules, then the puppet master will import the facts and automatically create a Foreman (unmanaged) host after the next puppet run (every 30 minutes). If I let puppet run create Foreman host, it's created without proper Organization, Location and Environment. From my use: - or subscription-manager process registers also Foreman host - or some kind of lookup, when receiving new hosts through Puppet master, needs to be done to create Foreman host in correct Organization/Location/Environment Created redmine issue http://projects.theforeman.org/issues/9381 from this bug Upstream bug component is WebUI Upstream bug component is Content Management This was resolved as part of hot unification work for 6.2, moving to POST Verified with sat6.2 beta snap6 I registered an already provisioned host with sat6 server via rhsm and I can see that host under 'content-host' as well as 'All hosts' Installed: katello-ca-consumer-cloud-qe-15.idmqe.lab.eng.bos.redhat.com.noarch 0:1.0-1 Complete! [root@cloud-qe-9 ~]# subscription-manager register --activationkey ak_rhel7 --org Default_Organization The system has been registered with ID: f8e9a167-898a-4d0a-91c5-079c8bda2bce Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Not Subscribed Unable to find available subscriptions for all your installed products. [root@cloud-qe-9 ~]# Please see the attached screenshots from webUI for verification. Created attachment 1143744 [details]
registered host appears under content-host (cloud-qe-09)
Created attachment 1143745 [details]
registered host appears under 'all hosts' (cloud-qe-09)
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 |