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 1336748 - Navigating "All containers" raises error: undefined method `authorized?' for #<#<Class:0x007fd3ce1f7968>:0x007fd3d7b9a2c8>
Summary: Navigating "All containers" raises error: undefined method `authorized?' for ...
Keywords:
Status: CLOSED DUPLICATE of bug 1333805
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Container Management
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Sachin Ghai
URL:
Whiteboard:
Depends On:
Blocks: 1323077
TreeView+ depends on / blocked
 
Reported: 2016-05-17 11:48 UTC by Sachin Ghai
Modified: 2016-05-18 16:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-18 16:39:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
webUI raises error Oops, we're sorry but something went wrong undefined method `authorized?' on accessing "All containers" (17.08 KB, image/png)
2016-05-17 11:48 UTC, Sachin Ghai
no flags Details

Description Sachin Ghai 2016-05-17 11:48:16 UTC
Created attachment 1158246 [details]
webUI raises error Oops, we're sorry but something went wrong undefined method `authorized?' on accessing "All containers"

Description of problem:
I was trying to create a container on atomic host using docker hub. Container was created but when I navigate to "All Containers", I got following error:

 2016-05-17 07:40:58 [app] [I] Started GET "/containers" for 10.65.223.218 at 2016-05-17 07:40:58 -0400
2016-05-17 07:40:58 [app] [I] Processing by ContainersController#index as HTML
2016-05-17 07:40:58 [app] [I]   Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_docker-2.0.1.6/app/views/containers/index.html.erb within layouts/application (132.4ms)
2016-05-17 07:40:58 [app] [W] Action failed
 | NoMethodError: undefined method `authorized?' for #<#<Class:0x007fd3ce1f7968>:0x000000072e01b0>
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_docker-2.0.1.6/app/views/containers/index.html.erb:3:in `_ccda569ad88e5e6fb016e2fe08e1d3e7'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/actionview-4.1.5/lib/action_view/template.rb:145:in `block in render'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/notifications.rb:161:in `instrument'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/actionview-4.1.5/lib/action_view/template.rb:339:in `instrument'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/actionview-4.1.5/lib/action_view/template.rb:143:in `render'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/deface-1.0.2/lib/deface/action_view_extensions.rb:41:in `render'
 | /opt/rh/rh-ror41/root/usr/share/gems/gems/actionview-4.1.5/lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'


Version-Release number of selected component (if applicable):
sat6.2 GA snap11.0

How reproducible:


Steps to Reproduce:
1. create a container ( in my case, I created on atomic host)
2. navigate 'All containers"
3.

Actual results:
error: undefined method `authorized?' for #<#<Class:0x007fd3ce1f7968>:0x007fd3d7b9a2c8>

Expected results:


Additional info:

Comment 2 Brad Buckingham 2016-05-18 16:39:47 UTC

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


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