Bug 1315820
Summary: | Provide separate puppet module for Insights to use on Capsules | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Lindani Phiri <lphiri> | ||||
Component: | RH Cloud - Insights | Assignee: | Lindani Phiri <lphiri> | ||||
Status: | CLOSED ERRATA | QA Contact: | jcallaha | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | Unspecified | CC: | abalakht, andrew.schofield, bbuckingham, bkearney, daniele, ehelms, jcallaha, jentrena, lphiri, nobody, rankumar, rjerrido, sauchter, sthirugn | ||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | redhat-access-insights-puppet-0.0.8-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1315844 1405511 (view as bug list) | Environment: | |||||
Last Closed: | 2017-01-26 10:48:21 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: | |||||||
Bug Blocks: | 1315844, 1405511 | ||||||
Attachments: |
|
Description
Lindani Phiri
2016-03-08 17:03:23 UTC
Hi, There is another related problem to availaibility of insights in the capsules. The environment is not switched, as it is done instead in the clients attached to the capsule. Taken from: https://groups.google.com/forum/#!topic/foreman-users/Oc9O3TqRX5E [root@capsule ~]# puppet master --configprint modulepath --environment production [root@capsule ~]# puppet master --configprint modulepath --environment KT_V_TS_QA_RHEL7_Rolling_7 /etc/puppet/environments/KT_V_TS_QA_RHEL7_Rolling_7/modules:/etc/puppet/environments/common:/etc/puppet/modules:/usr/share/puppet/modules [root@capsule ~]# The modulepath is empty, and that is imo the problem. Is maybe the problem linked to: http://projects.theforeman.org/issues/7277 Even if the version of puppet seems not affected: [root@capsule ~]# rpm -q puppet puppet-3.6.2-4.el7sat.noarch [root@capsule ~]# *** Bug 1332672 has been marked as a duplicate of this bug. *** Builds for RPM are in brew: https://brewweb.engineering.redhat.com/brew/packageinfo?packageID=53018 Verified in Satellite 6.2.7 Snap 2. The package redhat-access-insights-puppet is now provided by the Satellite Capsule repo. Below you can see it installed on the capsule as well as a successful registration to insights from a client that is registered to the capsule. Also see the attached screenshot of the client successfully showing up in the UI. Capsule ------- -bash-4.2# yum install redhat-access-insights-puppet Loaded plugins: product-id, search-disabled-repos, subscription-manager Default_Organization_627_rhel7_capsule | 2.1 kB 00:00:00 rhel-7-server-optional-rpms | 2.0 kB 00:00:00 rhel-7-server-rh-common-rpms | 2.1 kB 00:00:00 rhel-7-server-rpms | 2.0 kB 00:00:00 Resolving Dependencies --> Running transaction check ---> Package redhat-access-insights-puppet.noarch 0:0.0.8-1.el7sat will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================== Package Arch Version Repository Size ============================================================================================================================================================================================== Installing: redhat-access-insights-puppet noarch 0.0.8-1.el7sat Default_Organization_627_rhel7_capsule 5.9 k Transaction Summary ============================================================================================================================================================================================== Install 1 Package Total download size: 5.9 k Installed size: 7.9 k Is this ok [y/d/N]: y Downloading packages: redhat-access-insights-puppet-0.0.8-1.el7sat.noarch.rpm | 5.9 kB 00:00:02 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : redhat-access-insights-puppet-0.0.8-1.el7sat.noarch 1/1 Verifying : redhat-access-insights-puppet-0.0.8-1.el7sat.noarch 1/1 Installed: redhat-access-insights-puppet.noarch 0:0.0.8-1.el7sat Complete! Client registered to capsule ---------------------------- [root@cloud-qe-20 ~]# redhat-access-insights --register Successfully registered cloud-qe-20.idmqe.lab.eng.bos.redhat.com Automatic daily scheduling for Insights has been enabled. Starting to collect Insights data Uploading Insights data, this may take a few minutes Upload completed successfully! [root@cloud-qe-20 ~]# cat /etc/rhsm/rhsm.conf | grep ytt hostname = yttrium.idmqe.lab.eng.bos.redhat.com baseurl= https://yttrium.idmqe.lab.eng.bos.redhat.com/pulp/repos Created attachment 1243029 [details]
verification screenshot
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-2017:0197 |