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 1099960

Summary: Enable content - the processing icon not going away
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: sthirugn <sthirugn>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, cwelton, jmontleo, sthirugn
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: 2014-07-02 14:09:04 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:
Attachments:
Description Flags
Enable content_progress icon not going away none

Description sthirugn@redhat.com 2014-05-21 16:01:12 UTC
Description of problem:
Enable content - the processing icon not going away

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.8-1.el6sat.noarch
* foreman-compute-1.6.0.8-1.el6sat.noarch
* foreman-gce-1.6.0.8-1.el6sat.noarch
* foreman-libvirt-1.6.0.8-1.el6sat.noarch
* foreman-ovirt-1.6.0.8-1.el6sat.noarch
* foreman-postgresql-1.6.0.8-1.el6sat.noarch
* foreman-proxy-1.6.0.5-1.el6sat.noarch
* foreman-selinux-1.6.0-2.el6sat.noarch
* foreman-vmware-1.6.0.8-1.el6sat.noarch
* katello-1.5.0-24.el6sat.noarch
* katello-ca-1.0-1.noarch
* katello-certs-tools-1.5.5-1.el6sat.noarch
* katello-installer-0.0.40-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-plugins-0.3-1.el6sat.noarch
* pulp-nodes-common-2.4.0-0.16.beta.el6sat.noarch
* pulp-nodes-parent-2.4.0-0.16.beta.el6sat.noarch
* pulp-puppet-plugins-2.4.0-0.16.beta.el6sat.noarch
* pulp-puppet-tools-2.4.0-0.16.beta.el6sat.noarch
* pulp-rpm-plugins-2.4.0-0.16.beta.el6sat.noarch
* pulp-selinux-2.4.0-0.16.beta.el6sat.noarch
* pulp-server-2.4.0-0.16.beta.el6sat.noarch
* python-ldap-2.3.10-1.el6.x86_64
* ruby193-rubygem-ldap_fluff-0.2.2-2.el6sat.noarch
* ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch
* ruby193-rubygem-runcible-1.1.0-2.el6sat.noarch


How reproducible:
Always

Steps to Reproduce:
1. Navigate to Satellite 6 UI and import a manifest
2. Content -> Red Hat Repositories -> Try to enable any repo by clicking on the check box
Example:
 Red Hat Enterprise Linux 6 Server (Kickstart) -> Red Hat Enterprise Linux 6 Server Kickstart x86_64 6.5 

Actual results:
After clicking the check box to enable a repo, a processing icon appears (see screenshot) but it never goes away until I click the page refresh button

Expected results:
Clicking the check box to enable a repo should show a processing icon and the icon should disappear and the enabled checkbox should be shown in few second automatically.

Additional info:

Comment 1 sthirugn@redhat.com 2014-05-21 16:09:33 UTC
Created attachment 898065 [details]
Enable content_progress icon not going away

Comment 3 Brad Buckingham 2014-05-22 21:17:33 UTC
I am not currently seeing this issue on my configuration.  

Are there any errors in the logs or client console?

Comment 4 sthirugn@redhat.com 2014-05-23 13:34:01 UTC
In my firefox console:
Empty string passed to getElementById(). application-852248f822f833239bbf953e758c276b.js:16
PUT https://cloud-qe-11.idm.lab.bos.redhat.com/katello/products/180/toggle_repository 
Empty string passed to getElementById(). application-852248f822f833239bbf953e758c276b.js:16
downloadable font: invalid version tag (font-family: "Open Sans" style:normal weight:bold stretch:normal src index:0)
source: https://cloud-qe-11.idm.lab.bos.redhat.com/assets/OpenSans-Bold-webfont-c1bfe809940884da095b05ce9257b1e0.eot application-077a2fb86f5def04e057fc4ef04abf78.css
downloadable font: rejected by sanitizer (font-family: "Open Sans" style:normal weight:bold stretch:normal src index:0)
source: https://cloud-qe-11.idm.lab.bos.redhat.com/assets/OpenSans-Bold-webfont-c1bfe809940884da095b05ce9257b1e0.eot application-077a2fb86f5def04e057fc4ef04abf78.css
Empty string passed to getElementById(). application-852248f822f833239bbf953e758c276b.js:16


==> /var/log/candlepin/candlepin.log <==
2014-05-23 09:28:06,445 [req=dece8a77-6817-47d2-877d-d6598f0ec902, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/products/69
2014-05-23 09:28:06,484 [req=dece8a77-6817-47d2-877d-d6598f0ec902, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=39ms
2014-05-23 09:28:06,568 [req=83f8af46-4213-43aa-b430-3405ceb1b10d, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/owners/sthirugncorp/subscriptions
2014-05-23 09:28:07,110 [req=83f8af46-4213-43aa-b430-3405ceb1b10d, org=sthirugncorp] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=542ms
2014-05-23 09:28:07,364 [req=5984230b-eae2-4e03-9dc1-5d6245aa52f6, org=] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Request: verb=GET, uri=/candlepin/owners/sthirugncorp/subscriptions
2014-05-23 09:28:07,895 [req=5984230b-eae2-4e03-9dc1-5d6245aa52f6, org=sthirugncorp] INFO  org.candlepin.servlet.filter.logging.LoggingFilter - Response: status=200, content-type="application/json", time=531ms

Comment 5 Corey Welton 2014-05-27 14:15:27 UTC
Also seeing this in latest compose.

Comment 6 Corey Welton 2014-05-27 14:16:58 UTC
saved too soon.  Indeed, I'm seeing the 'no available queues' error in /var/log/messages

snippet:

May 27 09:58:23 cloud-qe-17 pulp: pulp.server.webservices.middleware.exception:ERROR:     return self.run(*args, **kwargs)
May 27 09:58:23 cloud-qe-17 pulp: pulp.server.webservices.middleware.exception:ERROR:   File "/usr/lib/python2.6/site-packages/pulp/server/tasks/repository.py", line 194, in publish
May 27 09:58:23 cloud-qe-17 pulp: pulp.server.webservices.middleware.exception:ERROR:     RESOURCE_REPOSITORY_TYPE, repo_id, tags=tags, kwargs=kwargs)
May 27 09:58:23 cloud-qe-17 pulp: pulp.server.webservices.middleware.exception:ERROR:   File "/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py", line 249, in apply_async_with_reservation
May 27 09:58:23 cloud-qe-17 pulp: pulp.server.webservices.middleware.exception:ERROR:     queue = _reserve_resource.apply_async((resource_id,), queue=RESOURCE_MANAGER_QUEUE).get()
May 27 09:58:23 cloud-qe-17 pulp: pulp.server.webservices.middleware.exception:ERROR:   File "/usr/lib/python2.6/site-packages/celery/result.py", line 169, in get
May 27 09:58:23 cloud-qe-17 pulp: pulp.server.webservices.middleware.exception:ERROR:     no_ack=no_ack,
May 27 09:58:23 cloud-qe-17 pulp: pulp.server.webservices.middleware.exception:ERROR:   File "/usr/lib/python2.6/site-packages/celery/backends/base.py", line 215, in wait_for
May 27 09:58:23 cloud-qe-17 pulp: pulp.server.webservices.middleware.exception:ERROR:     raise result
May 27 09:58:23 cloud-qe-17 pulp: pulp.server.webservices.middleware.exception:ERROR: NoAvailableQueues: There are no available queues in the system for reserved task work.

Comment 7 Justin Sherrill 2014-05-27 18:07:03 UTC
Caused by https://bugzilla.redhat.com/show_bug.cgi?id=1100005

Will need to wait for a pulp fix.

Comment 8 Justin Sherrill 2014-06-02 23:23:30 UTC
Moving to post as i think this is fixed with the qpid-cpp-server-linearstore dep addition

Comment 10 sthirugn@redhat.com 2014-06-05 19:55:39 UTC
Verified in recent compose.  FWIW - it took 15 seconds for the processing icon to go away and for the checked box to appear.  Definitely there is some room for improvement here.

Comment 11 sthirugn@redhat.com 2014-06-05 19:56:58 UTC
As per my comment 10 above, although it is slow, it works fine.  Marking the bug verified.

Version Tested:
* 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.13-1.el6sat.noarch
* foreman-compute-1.6.0.13-1.el6sat.noarch
* foreman-gce-1.6.0.13-1.el6sat.noarch
* foreman-libvirt-1.6.0.13-1.el6sat.noarch
* foreman-ovirt-1.6.0.13-1.el6sat.noarch
* foreman-postgresql-1.6.0.13-1.el6sat.noarch
* foreman-proxy-1.6.0.6-1.el6sat.noarch
* foreman-selinux-1.6.0-3.el6sat.noarch
* foreman-vmware-1.6.0.13-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.44-1.el6sat.noarch
* openldap-2.4.23-34.el6_5.1.x86_64
* openldap-devel-2.4.23-34.el6_5.1.x86_64
* pulp-katello-plugins-0.3-1.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

Comment 12 Bryan Kearney 2014-07-02 14:09:04 UTC
This was delivered in 6.0.3, the Beta version of Satellite 6.0

Comment 13 Bryan Kearney 2014-07-02 14:09:04 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.