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 1106576

Summary: Package installation on RHEL 5 clients via the UI does not trigger any processes
Product: Red Hat Satellite Reporter: Og Maciel <omaciel>
Component: katello-agentAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: sthirugn <sthirugn>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: cwelton, jmontleo, jortel, jsherril, mmccune
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1107782 (view as bug list) Environment:
Last Closed: 2014-07-02 14:14:26 UTC Type: Bug
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: 1107782    
Attachments:
Description Flags
No task was triggered
none
Task is pending
none
Dynflow console for pending task
none
package installation never completed none

Description Og Maciel 2014-06-09 15:50:51 UTC
Created attachment 904773 [details]
No task was triggered

Description of problem:

Having registered a RHEL 5.10 Server x86_64 client against my Satellite 6 server via an activation key with access to 'base OS' rpms and the katello-agent, I manually installed the agent and started goferd in the client. Then, using my Sat6 web ui I attempted to install the firefox package but there was no task triggered in the UI. I also watched all logs in both server and client and didn't see anything in the client's /var/log/messages

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

* apr-util-ldap-1.3.9-3.el6_0.1.x86_64
* candlepin-0.9.7-1.el6_5.noarch
* candlepin-scl-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-selinux-0.9.7-1.el6_5.noarch
* candlepin-tomcat6-0.9.7-1.el6_5.noarch
* elasticsearch-0.90.10-4.el6sat.noarch
* foreman-1.6.0.14-1.el6sat.noarch
* foreman-compute-1.6.0.14-1.el6sat.noarch
* foreman-gce-1.6.0.14-1.el6sat.noarch
* foreman-libvirt-1.6.0.14-1.el6sat.noarch
* foreman-ovirt-1.6.0.14-1.el6sat.noarch
* foreman-postgresql-1.6.0.14-1.el6sat.noarch
* foreman-proxy-1.6.0.6-1.el6sat.noarch
* foreman-selinux-1.6.0-4.el6sat.noarch
* foreman-vmware-1.6.0.14-1.el6sat.noarch
* katello-1.5.0-25.el6sat.noarch
* katello-ca-1.0-1.noarch
* katello-certs-tools-1.5.5-1.el6sat.noarch
* katello-installer-0.0.45-1.el6sat.noarch
* openldap-2.4.23-32.el6_4.1.x86_64
* pulp-katello-0.3-3.el6sat.noarch
* pulp-nodes-common-2.4.0-0.18.beta.el6sat.noarch
* pulp-nodes-parent-2.4.0-0.18.beta.el6sat.noarch
* pulp-puppet-plugins-2.4.0-0.18.beta.el6sat.noarch
* pulp-puppet-tools-2.4.0-0.18.beta.el6sat.noarch
* pulp-rpm-plugins-2.4.0-0.18.beta.el6sat.noarch
* pulp-selinux-2.4.0-0.18.beta.el6sat.noarch
* pulp-server-2.4.0-0.18.beta.el6sat.noarch
* python-ldap-2.3.10-1.el6.x86_64
* ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch
* ruby193-rubygem-runcible-1.1.0-2.el6sat.noarch
* rubygem-hammer_cli-0.1.1-2.el6sat.noarch
* rubygem-hammer_cli_foreman-0.1.1-8.el6sat.noarch
* rubygem-hammer_cli_foreman_tasks-0.0.3-2.el6sat.noarch
* rubygem-hammer_cli_katello-0.0.4-5.el6sat.noarch

How reproducible:


Steps to Reproduce:
1. Register a RHEL 5 x86_64 client to an organization that can provide base OS and katello-agent rpms
2. Install the katello-agent and make sure that goferd is running
3. Use the web ui to install a package to your client

Actual results:

No tasks are created in the UI (see attached screenshot)

Expected results:

A task should be triggered and the package should be installed in the client


Additional info:

Comment 3 Og Maciel 2014-06-09 16:03:12 UTC
Created attachment 904781 [details]
Task is pending

I saw the following under Monitor > Tasks

Comment 5 Og Maciel 2014-06-09 16:05:05 UTC
Created attachment 904783 [details]
Dynflow console for pending task

Comment 6 Jeff Ortel 2014-06-09 20:46:26 UTC
This is an issue with python 2.4 comparability.  The goferd syslog handler is raising an exception which causes the python logging.Logger.exception() on el5 to hanging.  Cannot do anything about Logger.exception() hanging but will fix the python 2.4 comparability issue in the goferd syslog handler.  Expected to be included in gofer 1.2.1.

Comment 7 Jeff Ortel 2014-06-09 21:35:32 UTC
The gofer product bug: https://bugzilla.redhat.com/show_bug.cgi?id=1107244

Comment 11 sthirugn@redhat.com 2014-06-24 21:48:43 UTC
Failed. Performed the steps mentioned in bug description. This time the UI is showing a progress bar for installation but it never completed. (see screenshot)  I had to manually stop the task since it did not complete.

Version Tested:
* apr-util-ldap-1.3.9-3.el6_0.1.x86_64
* candlepin-0.9.19-1.el6_5.noarch
* candlepin-scl-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-selinux-0.9.19-1.el6_5.noarch
* candlepin-tomcat6-0.9.19-1.el6_5.noarch
* elasticsearch-0.90.10-4.el6sat.noarch
* foreman-1.6.0.18-1.el6sat.noarch
* foreman-compute-1.6.0.18-1.el6sat.noarch
* foreman-gce-1.6.0.18-1.el6sat.noarch
* foreman-libvirt-1.6.0.18-1.el6sat.noarch
* foreman-ovirt-1.6.0.18-1.el6sat.noarch
* foreman-postgresql-1.6.0.18-1.el6sat.noarch
* foreman-proxy-1.6.0.8-1.el6sat.noarch
* foreman-selinux-1.6.0-4.el6sat.noarch
* foreman-vmware-1.6.0.18-1.el6sat.noarch
* katello-1.5.0-26.el6sat.noarch
* katello-ca-1.0-1.noarch
* katello-certs-tools-1.5.5-1.el6sat.noarch
* katello-installer-0.0.49-1.el6sat.noarch
* openldap-2.4.23-32.el6_4.1.x86_64
* openldap-devel-2.4.23-32.el6_4.1.x86_64
* pulp-katello-0.3-3.el6sat.noarch
* pulp-nodes-common-2.4.0-0.21.beta.el6sat.noarch
* pulp-nodes-parent-2.4.0-0.21.beta.el6sat.noarch
* pulp-puppet-plugins-2.4.0-0.21.beta.el6sat.noarch
* pulp-puppet-tools-2.4.0-0.21.beta.el6sat.noarch
* pulp-rpm-plugins-2.4.0-0.21.beta.el6sat.noarch
* pulp-selinux-2.4.0-0.21.beta.el6sat.noarch
* pulp-server-2.4.0-0.21.beta.el6sat.noarch
* python-ldap-2.3.10-1.el6.x86_64
* ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch
* ruby193-rubygem-runcible-1.1.0-2.el6sat.noarch

Comment 12 sthirugn@redhat.com 2014-06-24 21:49:09 UTC
Created attachment 911887 [details]
package installation never completed

Comment 13 Jeff Ortel 2014-06-25 02:19:38 UTC
What version of gofer is installed on the consumer?

Comment 14 sthirugn@redhat.com 2014-06-25 03:16:13 UTC
(In reply to Jeff Ortel from comment #13)
> What version of gofer is installed on the consumer?

gofer-1.3.0-1.el5sat
python-gofer-1.3.0-1.el5sat
python-gofer-qpid-1.3.0-1.el5sat
gofer-package-0.66.1-2.el5
python-qpid-0.18-4.el5
PyPAM-0.5.0-11.1.el5
katello-agent-1.5.3-4.el5sat

FWIW - this is the repo which I used to install katello-agent in the client
http://satellite6.lab.eng.rdu2.redhat.com/devel/candidate-trees/Satellite/Satellite-6.0.3-RHEL-5-20140619.0/compose/rhcommon/x86_64/os/Packages/

Comment 15 Mike McCune 2014-06-25 04:38:56 UTC
1) Does 'yum repolist' show any errors about checksums, eg:

DemoOrg_Red_Hat_Common_rh-common-5Server/primary                                                                                                                                                          | 6.5 kB     00:00     
https://sat-perf-05.idm.lab.bos.redhat.com/pulp/repos/DemoOrg/DEV2/rh-comon-5server/custom/Red_Hat_Common/rh-common-5Server/repodata/d799670818fe426e309f77d5d6ec496c8f2c234b9b6b5517149d32cdc5b770c4-primary.xml.gz: [Errno -3] Error performing checksum
Trying other mirror.

2) If you do get the above errors, do you have python-hashlib installed?

I tried this and it worked fine, installed/removed packages via the WEBUI against a RHEL5 system without errors.

Can I get login info to your sat+client to debug?

Comment 16 sthirugn@redhat.com 2014-06-25 16:31:00 UTC
It looks like the yum issue in the rhel 5 box. 

@Mike McCune did the following to clear that.

# /bin/rm /var/lib/rpm/__db.*
# cd /var/cache/yum
# /bin/rm -rf *
# yum clean all
# yum update

Now I am able to install packages from UI with no problems.  Marking the bug verified.

Version Tested:
* apr-util-ldap-1.3.9-3.el6_0.1.x86_64
* candlepin-0.9.19-1.el6_5.noarch
* candlepin-scl-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-selinux-0.9.19-1.el6_5.noarch
* candlepin-tomcat6-0.9.19-1.el6_5.noarch
* elasticsearch-0.90.10-4.el6sat.noarch
* foreman-1.6.0.18-1.el6sat.noarch
* foreman-compute-1.6.0.18-1.el6sat.noarch
* foreman-gce-1.6.0.18-1.el6sat.noarch
* foreman-libvirt-1.6.0.18-1.el6sat.noarch
* foreman-ovirt-1.6.0.18-1.el6sat.noarch
* foreman-postgresql-1.6.0.18-1.el6sat.noarch
* foreman-proxy-1.6.0.8-1.el6sat.noarch
* foreman-selinux-1.6.0-4.el6sat.noarch
* foreman-vmware-1.6.0.18-1.el6sat.noarch
* katello-1.5.0-26.el6sat.noarch
* katello-ca-1.0-1.noarch
* katello-certs-tools-1.5.5-1.el6sat.noarch
* katello-installer-0.0.49-1.el6sat.noarch
* openldap-2.4.23-32.el6_4.1.x86_64
* openldap-devel-2.4.23-32.el6_4.1.x86_64
* pulp-katello-0.3-3.el6sat.noarch
* pulp-nodes-common-2.4.0-0.21.beta.el6sat.noarch
* pulp-nodes-parent-2.4.0-0.21.beta.el6sat.noarch
* pulp-puppet-plugins-2.4.0-0.21.beta.el6sat.noarch
* pulp-puppet-tools-2.4.0-0.21.beta.el6sat.noarch
* pulp-rpm-plugins-2.4.0-0.21.beta.el6sat.noarch
* pulp-selinux-2.4.0-0.21.beta.el6sat.noarch
* pulp-server-2.4.0-0.21.beta.el6sat.noarch
* python-ldap-2.3.10-1.el6.x86_64
* ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch
* ruby193-rubygem-runcible-1.1.0-2.el6sat.noarch

Comment 17 Bryan Kearney 2014-07-02 14:08:59 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.

Comment 18 Bryan Kearney 2014-07-02 14:08:59 UTC
This was delivered in 6.0.3, the Beta version of Satellite 6.0

Comment 19 Bryan Kearney 2014-07-02 14:08:59 UTC
This was delivered in 6.0.3, the Beta version of Satellite 6.0

Comment 20 Bryan Kearney 2014-07-02 14:14:26 UTC
This was delivered in the Satellite 6 Beta (6.0.3)