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 1094633 - Content view: Failed to display in Content Dashboard
Summary: Content view: Failed to display in Content Dashboard
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Brad Buckingham
QA Contact: Tazim Kolhar
URL: http://projects.theforeman.org/issues...
Whiteboard:
: 1105343 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-06 07:59 UTC by gaoshang
Modified: 2019-09-26 18:15 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 14:07:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Content Dashboard (64.84 KB, image/png)
2014-06-20 13:11 UTC, Tazim Kolhar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 5955 0 None None None 2016-04-22 15:54:41 UTC

Description gaoshang 2014-05-06 07:59:04 UTC
Description of problem:
Content views can not display in Monitor-->Content Dashboard, it shows "No content views found.", please see logs pasted.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

==> /var/log/foreman/production.log <==
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_subscriptions.haml (114.9ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_entry.html.haml (115.6ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_ajax_entry.html.haml (0.6ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_ajax_entry.html.haml (0.4ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_ajax_entry.html.haml (0.5ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_ajax_entry.html.haml (0.4ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_ajax_entry.html.haml (0.4ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_ajax_entry.html.haml (0.4ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_ajax_entry.html.haml (0.4ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/index.html.haml within katello/layouts/katello (172.5ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/common/_common_i18n.html.haml (0.7ms)
  Rendered home/_user_dropdown.html.erb (0.9ms)
Read fragment views/tabs_and_title_records-1 (0.1ms)
  Rendered home/_topbar.html.erb (1.5ms)
  Rendered layouts/base.html.erb (2.3ms)
Completed 200 OK in 196ms (Views: 166.3ms | ActiveRecord: 12.2ms)
Served asset /alchemy/icons/action-icons.png - 304 Not Modified (0ms)
Served asset /alchemy/icons/spinner.gif - 304 Not Modified (2ms)
Processing by Katello::DashboardController#notices as */*
  Parameters: {"undefined"=>"-1"}
Processing by Katello::DashboardController#sync as */*
  Parameters: {"undefined"=>"-1"}
Processing by Katello::DashboardController#subscriptions_totals as */*
  Parameters: {"undefined"=>"-1"}
Processing by Katello::DashboardController#system_groups as */*
  Parameters: {"undefined"=>"-1"}
Processing by Katello::DashboardController#content_views as */*
  Parameters: {"undefined"=>"-1"}
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_system_group_item.html.haml (1.9ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_system_groups.html.haml (7.1ms)
Completed 200 OK in 15ms (Views: 6.0ms | ActiveRecord: 2.4ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_content_views.haml (6.2ms)
Completed 200 OK in 19ms (Views: 4.6ms | ActiveRecord: 7.4ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_notices.html.haml (6.1ms)
Completed 200 OK in 31ms (Views: 5.9ms | ActiveRecord: 3.1ms)
Processing by Katello::DashboardController#promotions as */*
  Parameters: {"undefined"=>"-1"}

Comment 1 RHEL Program Management 2014-05-06 08:25:29 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Brad Buckingham 2014-05-27 17:22:42 UTC
Created redmine issue http://projects.theforeman.org/issues/5955 from this bug

Comment 4 Brad Buckingham 2014-06-06 12:49:45 UTC
*** Bug 1105343 has been marked as a duplicate of this bug. ***

Comment 5 Brad Buckingham 2014-06-13 19:50:51 UTC
fix proposed in  PR:
   https://github.com/Katello/katello/pull/4269

Comment 9 gaoshang 2014-06-20 07:02:57 UTC
This bug have been verified in Satellite 6 Beta Snap 10, thanks!

Comment 10 Tazim Kolhar 2014-06-20 07:46:55 UTC
FailedQA

No content views found

]# tail -f /var/log/foreman/production.log
Completed 200 OK in 26ms (Views: 5.1ms | ActiveRecord: 4.1ms)
Processing by Katello::DashboardController#host_collections as */*
  Parameters: {"undefined"=>"-1"}
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_host_collections.html.haml (2.4ms)
Completed 200 OK in 20ms (Views: 3.2ms | ActiveRecord: 2.5ms)
Connecting to database specified by database.yml
Processing by Katello::DashboardController#subscriptions_totals as */*
  Parameters: {"undefined"=>"-1"}
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/dashboard/_subscriptions_totals.haml (177.1ms)
Completed 200 OK in 410ms (Views: 178.7ms | ActiveRecord: 2.6ms)
Creating scope :roots. Overwriting existing method Hostgroup.roots.
Creating scope :ancestors_of. Overwriting existing method Hostgroup.ancestors_of.
Creating scope :children_of. Overwriting existing method Hostgroup.children_of.
Creating scope :descendants_of. Overwriting existing method Hostgroup.descendants_of.
Creating scope :subtree_of. Overwriting existing method Hostgroup.subtree_of.
Creating scope :siblings_of. Overwriting existing method Hostgroup.siblings_of.
Creating scope :ordered_by_ancestry. Overwriting existing method Hostgroup.ordered_by_ancestry.
Creating scope :ordered_by_ancestry_and. Overwriting existing method Hostgroup.ordered_by_ancestry_and.
Creating scope :before_depth. Overwriting existing method Hostgroup.before_depth.
Creating scope :to_depth. Overwriting existing method Hostgroup.to_depth.
Creating scope :at_depth. Overwriting existing method Hostgroup.at_depth.
Creating scope :from_depth. Overwriting existing method Hostgroup.from_depth.
Creating scope :after_depth. Overwriting existing method Hostgroup.after_depth.

Comment 11 Brad Buckingham 2014-06-20 13:04:34 UTC
On the machine where this failed, it looks like the issue may be that there were no content views published/promoted.  As a result, the history was empty.  Moving back to ON_QA for verification.

Comment 12 Tazim Kolhar 2014-06-20 13:11:00 UTC
Created attachment 910772 [details]
Content Dashboard

VERIFIED

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


Note You need to log in before you can comment on or make changes to this bug.