Bug 787633

Summary: Getting "404: Route does not exist: promotions/images/spinner.gif" in production.logs
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Jason E. Rist <jrist>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: 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: Environment:
Last Closed: 2012-02-09 17:37:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
After promotion, empty 'packages' list in test env none

Description Sachin Ghai 2012-02-06 11:21:11 UTC
Description of problem:
No error on UI, however production.log is updating with "404: Route does not exist: promotions/images/spinner.gif"


Version-Release number of selected component (if applicable):
candlepin-tomcat6-0.5.16-1.el6.noarch
katello-glue-candlepin-0.1.211-2.el6.noarch
candlepin-0.5.16-1.el6.noarch
katello-glue-pulp-0.1.211-2.el6.noarch
katello-0.1.211-2.el6.noarch
pulp-0.0.263-1.el6.noarch
katello-cli-0.1.44-2.el6.noarch

How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:
"404: Route does not exist: promotions/images/spinner.gif" in production.log


Expected results:
shouldn't be any error in production.log. 

Additional info:

Started GET "/katello/promotions/images/spinner.gif" for 10.65.193.48 at Mon Feb 06 11:18:07 -0500 2012
  Processing by ErrorsController#routing as HTML
  Parameters: {"a"=>"promotions/images/spinner.gif"}
Rendering 404: Route does not exist: promotions/images/spinner.gif
Rendered layouts/_org.haml (2.0ms)
Rendered layouts/_header.haml (13.4ms)
Rendered layouts/_footer.haml (1.3ms)
Rendered common/_config.html.haml (0.8ms)
Rendered layouts/_ajax_notices.haml (5.8ms)
Rendered layouts/_notification.haml (0.3ms)
Rendered common/_common_i18n.html.haml (0.7ms)
Rendered common/_edit_i18n.html.haml (1.5ms)
Rendered common/404.html.haml within layouts/katello (598.9ms)
Completed 404 Not Found in 606ms (Views: 558.7ms | ActiveRecord: 42.5ms)

Comment 1 Sachin Ghai 2012-02-06 11:30:20 UTC
I further tested aand found the exact cause. 

The another issue is related to this is when we promote the product to next env say from 'Locker ==> test', product is promoted successfully. However when traverse to "products ==> rhel62 ==> packages" there is no packages on UI in test env. 

And this "404 Route doesn't exist" message generates while clicking the 'packages' on left pane in 'test' env.

This is appearing in Firefox 3.6.22

Comment 2 Sachin Ghai 2012-02-06 11:32:13 UTC
Created attachment 559618 [details]
After promotion, empty 'packages' list in test env

Comment 3 Sachin Ghai 2012-02-06 11:46:49 UTC
This happens only when you promote the product for the first time. The re-promote of same product in same env works and also lists the packages in next env.

Comment 4 Sachin Ghai 2012-02-07 09:52:52 UTC
Again recreated this issue while promoting RHEL products:

Started GET "/katello/promotions/images/spinner.gif" for 10.65.193.48 at Tue Feb 07 09:23:01 +0530 2012
  Processing by ErrorsController#routing as HTML
  Parameters: {"a"=>"promotions/images/spinner.gif"}
Rendering 404: Route does not exist: promotions/images/spinner.gif
Rendered layouts/_org.haml (1.7ms)
Rendered layouts/_header.haml (215.2ms)
Rendered layouts/_footer.haml (0.8ms)
Rendered common/_config.html.haml (0.5ms)
Rendered layouts/_ajax_notices.haml (3.2ms)
Rendered layouts/_notification.haml (0.2ms)
Rendered common/_common_i18n.html.haml (0.4ms)
Rendered common/_edit_i18n.html.haml (130.3ms)
Rendered common/404.html.haml within layouts/katello (730.6ms)
Completed 404 Not Found in 735ms (Views: 702.2ms | ActiveRecord: 29.9ms)

Comment 5 Mike McCune 2012-02-09 17:37:10 UTC

*** This bug has been marked as a duplicate of bug 755028 ***

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