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 766686 - Error thrown in second line of installer; installer appears to continue cleanly?
Summary: Error thrown in second line of installer; installer appears to continue cleanly?
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Infrastructure
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-12-12 15:03 UTC by Corey Welton
Modified: 2019-09-26 13:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
katello-configure-0.1.31-2.el6.noarch katello-certs-tools-1.0.1-1.el6.noarch katello-glue-pulp-0.1.135-2.el6.x86_64 katello-httpd-ssl-key-pair-1.0-1.noarch katello-common-0.1.135-2.el6.noarch katello-cli-common-0.1.23-3.el6.noarch katello-repos-0.1.3-1.git.0.db2bd1d.el6.noarch katello-glue-candlepin-0.1.135-2.el6.x86_64 katello-trusted-ssl-cert-1.0-1.noarch katello-0.1.135-2.el6.x86_64 katello-qpid-broker-key-pair-1.0-1.noarch katello-glue-foreman-0.1.135-2.el6.x86_64 katello-cli-0.1.23-3.el6.noarch katello-all-0.1.135-2.el6.x86_64
Last Closed: 2012-08-22 18:12:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Corey Welton 2011-12-12 15:03:38 UTC
Description of problem:
When installing the 09-Dec se compose (via 'katello-configure') I get an error about certs. This doesn't seem to stop the install, however, which appears to go on w/o issue.

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


How reproducible:


Steps to Reproduce:
1.  Download and commence install via katello-configure
2.  Tail logfile
3.  Observe the second line in the log.
  
Actual results:

[root@deploy12 yum.repos.d]# tail -f /var/log/katello/katello-configure-20111212-093206/main.log
notice: /Stage[main]/Certs::Config/Exec[deploy-ssl-ca-certificate]/returns: executed successfully
err: /File[/var/www/html/pub/KATELLO-TRUSTED-SSL-CERT]: Could not evaluate: Could not retrieve information from source(s) /usr/share/katello/KATELLO-TRUSTED-SSL-CERT at /usr/share/katello/install/puppet/modules/certs/manifests/config.pp:75


Actually, this seems to appear in the installer view too:

The top-level log file is [/var/log/katello/katello-configure-20111212-093206/main.log]
err: /File[/var/www/html/pub/KATELLO-TRUSTED-SSL-CERT]: Could not evaluate: Could not retrieve information from source(s) /usr/share/katello/KATELLO-TRUSTED-SSL-CERT at /usr/share/katello/install/puppet/modules/certs/manifests/config.pp:75

Strangely enough, the install continues without further problem, which in and of itself may or may not be a problem.

Expected results:

There are several issues intertwined here:
a) why the error in the first place?  It is true that I do not apparently have the file it is looking for (at least not after install):
[root@deploy12 ~]# ls /usr/share/katello/KATELLO-TRUSTED-SSL-CERT
ls: cannot access /usr/share/katello/KATELLO-TRUSTED-SSL-CERT: No such file or directory
b) if this is not a critical error, should it be a warning?
c) if this /is/ a critical error, why can the install complete successfully w/o apparent error ("notice: Finished catalog run in 201.41 seconds")
d) are there any deps upon this action that should be set?  should anything else fail to continue if this (seemingly first) check does not work?

Additional info:

Comment 1 Lukas Zapletal 2011-12-12 15:25:12 UTC
Relevant codebase:

      exec { "deploy-ssl-ca-certificate":
        command => "rpm -qp ssl-build/$(grep noarch.rpm ssl-build/latest.txt) | xargs rpm -q; if [ $? -ne 0 ]; then rpm -Uvh ssl-build/$(grep noarch.rpm ssl-build/latest.txt); fi",
        path => "/bin:/usr/bin",
        #creates => $$katello_pub_cert,
        require => Exec["generate-ssl-ca-certificate"]
      }

      file { "/var/www/html/pub/${katello_pub_cert_name}":
        source => $katello_pub_cert,
        require => Exec["deploy-ssl-ca-certificate"]
      }

Comment 2 Lukas Zapletal 2011-12-12 15:37:17 UTC
rpm -qV katello-trusted-ssl-cert
missing     /usr/share/katello/KATELLO-TRUSTED-SSL-CERT

Comment 3 Lukas Zapletal 2011-12-12 15:45:00 UTC
The file got deleted somehow, I am not able to find what deleted it. Was searching our codebase, but nothing is writing there.

Corey, please keep tracking it and paste here everytime you run into the issue again.

Comment 4 Lukas Zapletal 2011-12-15 08:52:44 UTC
Is this still valid? I am not able to repro.

Comment 6 Corey Welton 2012-01-10 16:48:15 UTC
Seems to be ok now?  Verifying.


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