Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 765813

Summary: Puppet: create-nss-db fails on RHEL 6.2
Product: Red Hat Satellite Reporter: Lukas Zapletal <lzap>
Component: PackagingAssignee: Lukas Zapletal <lzap>
Status: CLOSED CURRENTRELEASE QA Contact: Garik Khachikyan <gkhachik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: bkearney, gkhachik, mkoci, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:12:08 UTC Type: ---
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: 747354    

Description Lukas Zapletal 2011-12-09 14:09:34 UTC
# katello-configure
Starting Katello configuration
The top-level log file is [/var/log/katello/katello-configure-20111209-091609/main.log] err: /Stage[main]/Certs::Config/Exec[create-nss-db]/returns: change from notrun to 0 failed: /bin/rm -f /etc/pki/katello/nssdb//*; certutil -N -d '/etc/pki/katello/nssdb/' -f '/etc/katello/nss_db_password-file'; certutil -A -d '/etc/pki/katello/nssdb/' -n 'ca' -t 'TCu,Cu,Tuw' -a -i '/usr/share/katello/KATELLO-TRUSTED-SSL-CERT'; certutil -A -d '/etc/pki/katello/nssdb/' -n 'broker' -t ',,' -a -i '/etc/pki/tls/certs/qpid-broker.crt'; certutil -A -d '/etc/pki/katello/nssdb/' -n 'tomcat' -t ',,' -a -i '/etc/pki/tls/certs/httpd-ssl.crt' returned 255 instead of one of [0] at /usr/share/katello/install/puppet/modules/certs/manifests/config.pp:184

katello-0.1.135-2.el6.x86_64
katello-all-0.1.135-2.el6.x86_64
katello-certs-tools-1.0.1-2.el6.noarch
katello-cli-0.1.23-3.el6.noarch
katello-cli-common-0.1.23-3.el6.noarch
katello-common-0.1.135-2.el6.noarch
katello-configure-0.1.31-2.el6.noarch
katello-glue-candlepin-0.1.135-2.el6.x86_64
katello-glue-foreman-0.1.135-2.el6.x86_64
katello-glue-pulp-0.1.135-2.el6.x86_64
katello-qpid-broker-key-pair-1.0-1.noarch
katello-trusted-ssl-cert-1.0-1.noarch

Comment 2 Lukas Zapletal 2011-12-09 14:11:38 UTC
2678cbb 765813 - Puppet: create-nss-db fails on RHEL 6.2 [TEMP FIX]

Comment 3 Lukas Zapletal 2011-12-20 16:26:23 UTC
Fedora release 15 - nss-tools-3.12.10-6.fc15.x86_64
EL 6.1 - nss-tools-3.12.9-9.el6.x86_64
EL 6.2 - nss-tools-3.12.10-16.el6.x86_64

I tried on EL 6.2 again today with reverted fix 2678cbb and it worked. I am thinking about turning this on and then trying to follow when it fails for somebody...

Comment 5 Lukas Zapletal 2011-12-21 10:50:11 UTC
@Mike - Garik confirms it works. Report here if you enconuter any problems.

Comment 6 Garik Khachikyan 2011-12-21 10:52:23 UTC
# VERIFIED

starts to WFM on:
:: [   INFO   ] :: katello-0.1.151-1.git.0.acb9f28.el6.noarch
:: [   INFO   ] :: katello-cli-0.1.30-1.git.0.7b8087d.el6.noarch
:: [   INFO   ] :: candlepin-0.5.8-1.el6.noarch
:: [   INFO   ] :: pulp-0.0.255-1.el6.noarch
:: [   INFO   ] :: katello-configure-0.1.43-1.git.0.0b38c9a.el6.noarch

redhat-release: Red Hat Enterprise Linux Server release 6.2 (Santiago)
kernel: 2.6.32-220.el6.x86_64