Bug 746353

Summary: "Error: closed stream" at the end of katello-configure
Product: Red Hat Satellite Reporter: Steve Reichard <sreichar>
Component: InfrastructureAssignee: Dmitri Dolguikh <dmitri>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: cperry, scollier, sghai
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: 2012-08-22 18:01:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 747354    

Description Steve Reichard 2011-10-14 21:40:48 UTC
Description of problem:

It looks like the katello-configure ran with out any issue until the end which output the Error statement.

++++
...
notice: /Stage[main]/Katello::Config/Exec[katello_seed_db]/returns: executed successfully
notice: /Stage[main]/Katello::Service/Service[katello-jobs]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Katello::Service/Service[katello]/ensure: ensure changed 'stopped' to 'running'
notice: /Stage[main]/Apache2/Exec[reload-apache2]: Triggered 'refresh' from 3 events
notice: Finished catalog run in 58.96 seconds
Error: closed stream

---

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

Red Hat Enterprise Linux Server release 6.1 (Santiago)
Linux cf-se1.cloud.lab.eng.bos.redhat.com 2.6.32-131.17.1.el6.x86_64 #1 SMP Thu Sep 29 10:24:25 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
PyYAML-3.09-5.el6.x86_64
epel-release-6-5.noarch
facter-1.6.0-2.el6.noarch
js-1.70-12.el6.x86_64
mongodb-1.6.4-3.el6.x86_64
mongodb-server-1.6.4-3.el6.x86_64
puppet-2.6.6-1.el6.noarch
pymongo-1.9-6.el6.x86_64
katello-0.1.92-1.git.50.022b7af.el6.noarch
katello-all-0.1.92-1.git.50.022b7af.el6.noarch
katello-cli-0.1.10-1.git.707.758d5ff.el6.noarch
katello-configure-0.1.6-1.git.5.76ba627.el6.noarch
katello-repos-0.1.3-1.git.0.db2bd1d.el6.noarch




How reproducible:

has happened each time I've tried it (4+)

Steps to Reproduce:
1. follow steps at: https://fedorahosted.org/katello/wiki/Install - for rhel 6
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Clifford Perry 2011-11-09 16:07:51 UTC
This was fixed during various installer changes by Jan. One change landed a wek before the other. Once the 2nd patch was applied I have never since seen this.

Moving to ON_QA.

Comment 2 Clifford Perry 2011-11-09 16:09:09 UTC
FYI - http://git.fedorahosted.org/git/?p=katello.git;a=commitdiff;h=da65e86be54af14503143ec859f05f974fdc42d9 Is commit I was thinking off.

Cliff

Comment 3 Sachin Ghai 2011-12-28 10:10:15 UTC
I installed latest build of katello on rhel6.1 and ran katello-configure. Katello-configure was executed successfully. So the reported issue is no longer reproducible.

[root@dhcp201-184 ~]# katello-configure 
Starting Katello configuration
The top-level log file is [/var/log/katello/katello-configure-20111228-152728/main.log]

main.log:
============

[root@dhcp201-184 ~]# tail -f /var/log/katello/katello-configure-20111228-152728/main.log 
notice: /File[/etc/pki/katello/keystore]/seluser: seluser changed 'unconfined_u' to 'system_u'
notice: /File[/etc/pki/katello/nssdb/]/ensure: created
debug: Exec[create-nss-db](provider=posix): Executing '/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''
debug: Executing '/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''
notice: /Stage[main]/Certs::Config/Exec[create-nss-db]/returns: executed successfully
debug: Finishing transaction 70358681322080
debug: Storing state
info: Creating state file /var/lib/puppet/state/state.yaml
debug: Stored state in 0.02 seconds
notice: Finished catalog run in 200.41 seconds
                              
[root@dhcp201-184 ~]# tail -f /var/log/katello/katello-configure/db_seed.log 
** Invoke db:seed (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
** Execute db:seed


verified with:

atello-glue-pulp-0.1.155-1.el6.noarch
katello-configure-0.1.48-1.el6.noarch
katello-trusted-ssl-cert-1.0-1.noarch
katello-cli-common-0.1.31-1.el6.noarch
katello-glue-foreman-0.1.155-1.el6.noarch
katello-common-0.1.155-1.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch
katello-0.1.155-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-repos-0.1.4-1.el6.noarch
katello-cli-0.1.31-1.el6.noarch
katello-glue-candlepin-0.1.155-1.el6.noarch
katello-all-0.1.155-1.el6.noarch
katello-certs-tools-1.0.1-1.el6.noarch

Comment 6 Mike McCune 2013-08-16 18:20:43 UTC
getting rid of 6.0.0 version since that doesn't exist