Bug 1133118 - can't run capsule-certs-generate
Summary: can't run capsule-certs-generate
Keywords:
Status: CLOSED DUPLICATE of bug 1132592
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installer
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-22 19:15 UTC by Jason Montleon
Modified: 2014-08-22 21:34 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-22 21:34:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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