Bug 1103277 - Capsule: Puppet content doesn't appear to be published to /etc/puppet/environments on capsule
Summary: Capsule: Puppet content doesn't appear to be published to /etc/puppet/envir...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Proxy
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Corey Welton
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-30 15:05 UTC by Brad Buckingham
Modified: 2019-09-25 20:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 14:05:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 6008 0 None None None 2016-04-22 14:59:03 UTC

Description Brad Buckingham 2014-05-30 15:05:57 UTC
Description of problem:

When content is synced from Satellite 6 to Capsule, it doesn't appear that the puppet content from the Satellite is making its way to the Capsule (i.e. /etc/puppet/environments)

Version-Release number of selected component (if applicable):
katello-1.5.0-25.el6sat.noarch

How reproducible:
always

Steps to Reproduce:
1. install/configure sat6
2. install/configure capsule (in my case, it is on a separate machine from the sat6)

on the sat6 server:
3. sync some rhel content (e.g. 6Server)
4. create a custom repo and import some puppet modules
5. create a content view
6. add the content from 3 & 4 to the content view
7. publish a content view version

8. associate the capsule (from 2) with the Library using the cli, e.g.
   capsule content add-lifecycle-environment --id 4 --environment-id 1
9. sync the content to the capsule, e.g.
   capsule content synchronize --id 4

Actual results:

Satellite 6:  /etc/puppet/environments has content (e.g. KT_ACME_Corporation_Library_WordPress__Application_3)
Capsule: /etc/puppet/environments is empty

Expected results:

Capsule: /etc/puppet/environments should have the same environments that were in 

Additional info:

Comment 2 Ivan Necas 2014-06-02 11:54:23 UTC
Created redmine issue http://projects.theforeman.org/issues/6008 from this bug

Comment 3 Ivan Necas 2014-06-02 12:09:39 UTC
Proposed fix is at https://github.com/Katello/katello/pull/4192

Comment 4 Ivan Necas 2014-06-03 06:29:24 UTC
https://github.com/Katello/katello/pull/4192

Comment 6 Corey Welton 2014-06-10 18:30:02 UTC
This seems to be fixed in Satellite-6.0.3-RHEL-6-20140605.0, i am seeing environments show up in $directory now.

Comment 7 Bryan Kearney 2014-07-02 14:05:36 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.


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