Bug 795758

Summary: Katello jobs does not log anything in the production mode
Product: Red Hat Satellite Reporter: Lukas Zapletal <lzap>
Component: Content ManagementAssignee: Lukas Zapletal <lzap>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: omaciel
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:28:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Lukas Zapletal 2012-02-21 13:20:53 UTC
We ignore KATELLO_LOGGING setting for delayed_jobs.

Would be very hard to track errors there.

Comment 1 Lukas Zapletal 2012-02-21 16:02:11 UTC
e36bbd0 795758 - new logging class also for delayed jobs

Comment 4 Og Maciel 2012-02-23 17:39:02 UTC
Re-opened as per instruction from developer.

Comment 5 Lukas Zapletal 2012-02-24 08:21:15 UTC
I apologize, Og. It is working, just did not tell you two important things:

1) You need to restart katello-jobs to see something:

service katello-jobs restart

2) If this is UPGRADED installation it will not work unless you edit your production.rb and sysconfig and init.d configuration files. I higly recommend to do clean installation for this - can be quite difficult. If you want to do it see those changes:

http://git.fedorahosted.org/git/?p=katello.git;a=commitdiff;h=e36bbd0ee7501fd082cd4e68f3db5915d74dc6f2;hp=fad3a89dd63471a3b233097079a2e709c208d9a2

Some files gets replaced during upgrade, some not (and files are saved as .rpmnew), diff it then. Again, new installation is recommended.

Comment 6 Og Maciel 2012-02-24 14:29:19 UTC
Validated:
* candlepin-0.5.22-1.el6.noarch
* candlepin-tomcat6-0.5.22-1.el6.noarch
* katello-0.1.300-1.el6.noarch
* katello-all-0.1.300-1.el6.noarch
* katello-certs-tools-1.0.2-2.el6.noarch
* katello-cli-0.1.100-2.el6.noarch
* katello-cli-common-0.1.100-2.el6.noarch
* katello-common-0.1.300-1.el6.noarch
* katello-configure-0.1.100-7.el6.noarch
* katello-glue-candlepin-0.1.300-1.el6.noarch
* katello-glue-foreman-0.1.300-1.el6.noarch
* katello-glue-pulp-0.1.300-1.el6.noarch
* katello-httpd-ssl-key-pair-1.0-1.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-repos-0.1.5-1.el6.noarch
* katello-selinux-0.1.7-1.el6.noarch
* katello-trusted-ssl-cert-1.0-1.noarch
* pulp-0.0.267-2.el6.noarch
* pulp-admin-0.0.267-2.el6.noarch
* pulp-client-lib-0.0.267-2.el6.noarch
* pulp-common-0.0.267-2.el6.noarch
* pulp-selinux-server-0.0.267-2.el6.noarch