Bug 1133118

Summary: can't run capsule-certs-generate
Product: Red Hat Satellite Reporter: Jason Montleon <jmontleo>
Component: InstallationAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.4CC: mmccune
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-22 21:34:20 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:

Description Jason Montleon 2014-08-22 19:15:49 UTC
Description of problem:
When running capsule-certs-generate, for example, " capsule-certs-generate --capsule-fqdn "test.internal-el7.satellite.lab.eng.rdu2.redhat.com" --certs-tar "test.internal-el7.satellite.lab.eng.rdu2.redhat.com-certs.tar"" I get an error, "Could not find dependency Package[pulp-server] for File[/etc/pki/pulp/nodes] at /usr/share/katello-installer/modules/certs/manifests/pulp_parent.pp:61"

Version-Release number of selected component (if applicable):
GA Snap 6

How reproducible:
Seems always. Same issue on a RHEL 6 and 7 test system

Steps to Reproduce:
1. Install Satellite 6 GA Snap 6
2. run capsule-certs-generate

Actual results:
"Could not find dependency Package[pulp-server] for File[/etc/pki/pulp/nodes] at /usr/share/katello-installer/modules/certs/manifests/pulp_parent.pp:61"

Expected results:
Should generate certs

Additional info:
Commenting out the require for pulp-server on line 60 of usr/share/katello-installer/modules/certs/manifests/pulp_parent.pp it at least runs, but it still spits out a number of errors:
 Could not set 'present' on ensure: No such file or directory - /etc/pki/katello-certs-tools/certs/katello-default-ca.crt at 166:/usr/share/katello-installer/modules/certs/manifests/init.pp
 Could not set 'present' on ensure: No such file or directory - /etc/pki/katello-certs-tools/certs/katello-default-ca.crt at 166:/usr/share/katello-installer/modules/certs/manifests/init.pp
 /Stage[main]/Certs/Ca[katello-server-ca]/ensure: change from absent to present failed: Could not set 'present' on ensure: No such file or directory - /etc/pki/katello-certs-tools/certs/katello-default-ca.crt at 166:/usr/share/katello-installer/modules/certs/manifests/init.pp

Comment 2 Mike McCune 2014-08-22 21:34:20 UTC

*** This bug has been marked as a duplicate of bug 1132592 ***