Description of problem:
When users configure capsules as their puppet master/puppet ca, content is still pulled from main sat to populate new VMs. This is because the content source on the sat itself is, for the most part, hardcoded to the path on the sat. There is no way to point this to capsule.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create and sync content to a capsule
2. Create a hostgroup, etc., pointing to your capsule for puppet master/ca
3. Try to create a new libvirt host using the hostgroup above
Notification in main sat logs:
D, [2014-06-09T21:38:46.592955 #23661] DEBUG -- : Starting task (total: 0): /usr/bin/wget --timeout=10 --tries=3 --no-check-certificate -nv -c http://ibm-x3550m3-07.lab.eng.brq.redhat.com/pulp/repos/ACME_Corporation/dev/6ServerAndSatTake2/content/dist/rhel/server/6/6Server/x86_64/kickstart//images/pxeboot/vmlinuz -O "/var/lib/tftpboot//boot/RedHat-6.5-x86_64-vmlinuz"
D, [2014-06-09T21:38:46.660651 #23661] DEBUG -- : Starting task (total: 0): /usr/bin/wget --timeout=10 --tries=3 --no-check-certificate -nv -c http://ibm-x3550m3-07.lab.eng.brq.redhat.com/pulp/repos/ACME_Corporation/dev/6ServerAndSatTake2/content/dist/rhel/server/6/6Server/x86_64/kickstart//images/pxeboot/initrd.img -O "/var/lib/tftpboot//boot/RedHat-6.5-x86_64-initrd.img"
Content being pulled from capsule instead of main sat.
This is due to the fact that the content sources (As created when publishing/promoting a content view and thus getting installation media) are hard-coded to the satellite itself:
ACME_Corporation/dev/6ServerAndSatTake2 RedHat Server 6.5 x86_64
There is no way to point to capsule content as a source for kickstarts. In theory it might be possible to manually do so, but that is ugly -- not to mention if a user has a dozen capsules with a bunch of content sources, it will quickly become unwieldy.
Assigning to Joseph as his work to associate capsule to host and hostgroup (for pulp feature) should address this.
Connecting redmine issue http://projects.theforeman.org/issues/6145 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/6145 has been closed
Verified in Satellite-6.0.3-RHEL-6-20140626.1. Woohoo!
This was delivered with 6.0.3, which is the Satellite 6 Beta.