Bug 1485929 - Red Hat AI log into customer portal dialog keep refreshes doesnt allow to enter credentials for Org Admin User
Summary: Red Hat AI log into customer portal dialog keep refreshes doesnt allow to ent...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: RH Cloud - Insights
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Nikhil Kathole
URL:
Whiteboard:
Depends On:
Blocks: 1373844
TreeView+ depends on / blocked
 
Reported: 2017-08-28 13:04 UTC by Jitendra Yejare
Modified: 2019-09-26 15:38 UTC (History)
5 users (show)

Fixed In Version: rubygem-foreman-redhat_access-2.0.6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 13:39:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot of UI (48.33 KB, image/png)
2017-09-26 06:53 UTC, Nikhil Kathole
no flags Details

Description Jitendra Yejare 2017-08-28 13:04:09 UTC
Description of problem:
While logged in as Org Admin user, RHAI log into customer portal dialog keep on refreshes that don't allow enter credentials and log in.

Version-Release number of selected component (if applicable):
Satellite 6.3.0 Snap 13

How reproducible:
Always

Steps to Reproduce:
1. Create org admin role by cloning Organization Admin default role
2. Create new user and assign above cloned role
3. Login with new user in satellite
4. Go to 'Red Hat Access' -> '' 

Actual results:
Dialog to enter the credentials of Customer Portal displays that refresh continuously doesn't allow to enter the credentials

Expected results:
Dialog to enter the credentials of Customer Portal should be steady that allows the user to enter credentials.

Additional info:
This issue doesn't appear with Admin user.


Logs /var/log/foreman/production.log:
2017-08-28 09:02:08 a9064de7 [app] [I] Started GET "/users/login" for 10.67.116.38 at 2017-08-28 09:02:08 -0400
2017-08-28 09:02:08 a9064de7 [app] [I] Processing by UsersController#login as HTML
2017-08-28 09:02:08 a9064de7 [app] [I] Redirected to https://qeblade36.rhq.lab.eng.bos.redhat.com/redhat_access/case/list
2017-08-28 09:02:08 a9064de7 [app] [I] Filter chain halted as :verify_active_session rendered or redirected
2017-08-28 09:02:08 a9064de7 [app] [I] Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
2017-08-28 09:02:08 9433fdf9 [app] [I] Started GET "/redhat_access/case/list" for 10.67.116.38 at 2017-08-28 09:02:08 -0400
2017-08-28 09:02:09 9433fdf9 [app] [I] Processing by RedhatAccess::RedhatAccessController#index as HTML
2017-08-28 09:02:09 9433fdf9 [app] [I]   Parameters: {"path"=>"case/list"}
2017-08-28 09:02:09 9433fdf9 [app] [I] Current user: user7 (regular user)
2017-08-28 09:02:09 9433fdf9 [app] [I]   Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/redhat_access-2.0.5/app/views/redhat_access/redhat_access/index.html.erb within layouts/application (0.7ms)
2017-08-28 09:02:09 9433fdf9 [app] [I]   Rendered layouts/_application_content.html.erb (0.4ms)
2017-08-28 09:02:09 9433fdf9 [app] [I]   Rendered home/_submenu.html.erb (2.7ms)
2017-08-28 09:02:09 9433fdf9 [app] [I]   Rendered home/_user_dropdown.html.erb (2.1ms)
2017-08-28 09:02:09 9433fdf9 [app] [I] Read fragment views/tabs_and_title_records-12 (0.1ms)
2017-08-28 09:02:09 9433fdf9 [app] [I]   Rendered home/_topbar.html.erb (16.8ms)
2017-08-28 09:02:09 9433fdf9 [app] [I]   Rendered layouts/base.html.erb (18.9ms)
2017-08-28 09:02:09 9433fdf9 [app] [I] Completed 200 OK in 48ms (Views: 20.3ms | ActiveRecord: 6.2ms)
2017-08-28 09:02:09 edf184ce [app] [I] Started GET "/assets/redhat_access/application-ce8d31f77bdb7dacff68edfd3ca874a49a8d7cdc676c1cebf06ad61e7bc04d2a.css" for 10.67.116.38 at 2017-08-28 09:02:09 -0400
2017-08-28 09:02:09 5c433a1f [app] [I] Started GET "/assets/redhat_access/application-a8c6370f96036e4dd5b0ddb49558202d097d3c51967fa481ab3019682d8eccf9.js" for 10.67.116.38 at 2017-08-28 09:02:09 -0400
2017-08-28 09:02:10 9bbf09b0 [app] [I] Started GET "/redhat_access/notification_recipients" for 10.67.116.38 at 2017-08-28 09:02:10 -0400
2017-08-28 09:02:10 9bbf09b0 [app] [I] Processing by RedhatAccess::RedhatAccessController#index as JSON
2017-08-28 09:02:10 9bbf09b0 [app] [I]   Parameters: {"path"=>"notification_recipients"}
2017-08-28 09:02:10 9bbf09b0 [app] [I] Current user: user7 (regular user)
2017-08-28 09:02:10 9bbf09b0 [app] [I]   Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/redhat_access-2.0.5/app/views/redhat_access/redhat_access/index.html.erb within layouts/application (0.7ms)
2017-08-28 09:02:10 9bbf09b0 [app] [I]   Rendered layouts/_application_content.html.erb (0.3ms)
2017-08-28 09:02:10 9bbf09b0 [app] [I]   Rendered home/_submenu.html.erb (2.9ms)
2017-08-28 09:02:10 9bbf09b0 [app] [I]   Rendered home/_user_dropdown.html.erb (2.2ms)
2017-08-28 09:02:10 9bbf09b0 [app] [I] Read fragment views/tabs_and_title_records-12 (0.1ms)
2017-08-28 09:02:10 9bbf09b0 [app] [I]   Rendered home/_topbar.html.erb (17.3ms)
2017-08-28 09:02:10 9bbf09b0 [app] [I]   Rendered layouts/base.html.erb (19.4ms)
2017-08-28 09:02:10 9bbf09b0 [app] [I] Completed 200 OK in 46ms (Views: 20.8ms | ActiveRecord: 6.3ms)
2017-08-28 09:02:10 55c8caae [app] [I] Started GET "/redhat_access/strata/rs/users/current?redhat_client=foreman_plugin_satellite_2.0.5" for 10.67.116.38 at 2017-08-28 09:02:10 -0400
2017-08-28 09:02:10 55c8caae [app] [I] Processing by RedhatAccess::Api::StrataProxyController#call as application/vnd.redhat.user+json
2017-08-28 09:02:10 55c8caae [app] [I]   Parameters: {"redhat_client"=>"foreman_plugin_satellite_2.0.5", "path"=>"rs/users/current"}
2017-08-28 09:02:10 55c8caae [app] [I] Current user: user7 (regular user)
2017-08-28 09:02:10 55c8caae [app] [I] Filter chain halted as :authorize rendered or redirected
2017-08-28 09:02:10 55c8caae [app] [I] Completed 403 Forbidden in 32ms (Views: 0.2ms | ActiveRecord: 6.6ms)
2017-08-28 09:02:10 8f5f917b [app] [I] Started GET "/redhat_access/strata/rs/groups?redhat_client=foreman_plugin_satellite_2.0.5" for 10.67.116.38 at 2017-08-28 09:02:10 -0400
2017-08-28 09:02:10 8f5f917b [app] [I] Processing by RedhatAccess::Api::StrataProxyController#call as JSON
2017-08-28 09:02:10 8f5f917b [app] [I]   Parameters: {"redhat_client"=>"foreman_plugin_satellite_2.0.5", "path"=>"rs/groups"}
2017-08-28 09:02:10 8f5f917b [app] [I] Current user: user7 (regular user)
2017-08-28 09:02:10 8f5f917b [app] [I] Filter chain halted as :authorize rendered or redirected
2017-08-28 09:02:10 8f5f917b [app] [I] Completed 403 Forbidden in 31ms (Views: 0.2ms | ActiveRecord: 6.0ms)
2017-08-28 09:02:11 c78c46e9 [app] [I] Started GET "/users/login" for 10.67.116.38 at 2017-08-28 09:02:11 -0400
2017-08-28 09:02:11 c78c46e9 [app] [I] Processing by UsersController#login as HTML
2017-08-28 09:02:11 c78c46e9 [app] [I] Redirected to https://qeblade36.rhq.lab.eng.bos.redhat.com/redhat_access/case/list
2017-08-28 09:02:11 c78c46e9 [app] [I] Filter chain halted as :verify_active_session rendered or redirected
2017-08-28 09:02:11 c78c46e9 [app] [I] Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
2017-08-28 09:02:11 129c1993 [app] [I] Started GET "/redhat_access/case/list" for 10.67.116.38 at 2017-08-28 09:02:11 -0400
2017-08-28 09:02:11 129c1993 [app] [I] Processing by RedhatAccess::RedhatAccessController#index as HTML
2017-08-28 09:02:11 129c1993 [app] [I]   Parameters: {"path"=>"case/list"}
2017-08-28 09:02:11 129c1993 [app] [I] Current user: user7 (regular user)
2017-08-28 09:02:11 129c1993 [app] [I]   Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/redhat_access-2.0.5/app/views/redhat_access/redhat_access/index.html.erb within layouts/application (0.7ms)
2017-08-28 09:02:11 129c1993 [app] [I]   Rendered layouts/_application_content.html.erb (0.4ms)
2017-08-28 09:02:11 129c1993 [app] [I]   Rendered home/_submenu.html.erb (2.6ms)
2017-08-28 09:02:11 129c1993 [app] [I]   Rendered home/_user_dropdown.html.erb (2.2ms)
2017-08-28 09:02:11 129c1993 [app] [I] Read fragment views/tabs_and_title_records-12 (0.1ms)
2017-08-28 09:02:11 129c1993 [app] [I]   Rendered home/_topbar.html.erb (16.4ms)
2017-08-28 09:02:11 129c1993 [app] [I]   Rendered layouts/base.html.erb (18.4ms)
2017-08-28 09:02:11 129c1993 [app] [I] Completed 200 OK in 47ms (Views: 19.8ms | ActiveRecord: 6.6ms)
2017-08-28 09:02:12 15283735 [app] [I] Started GET "/assets/redhat_access/application-ce8d31f77bdb7dacff68edfd3ca874a49a8d7cdc676c1cebf06ad61e7bc04d2a.css" for 10.67.116.38 at 2017-08-28 09:02:12 -0400
2017-08-28 09:02:12 2823a5aa [app] [I] Started GET "/assets/redhat_access/application-a8c6370f96036e4dd5b0ddb49558202d097d3c51967fa481ab3019682d8eccf9.js" for 10.67.116.38 at 2017-08-28 09:02:12 -0400
2017-08-28 09:02:14 ea07023a [app] [I] Started GET "/redhat_access/notification_recipients" for 10.67.116.38 at 2017-08-28 09:02:14 -0400
2017-08-28 09:02:14 ea07023a [app] [I] Processing by RedhatAccess::RedhatAccessController#index as JSON
2017-08-28 09:02:14 ea07023a [app] [I]   Parameters: {"path"=>"notification_recipients"}
2017-08-28 09:02:14 ea07023a [app] [I] Current user: user7 (regular user)
2017-08-28 09:02:14 ea07023a [app] [I]   Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/redhat_access-2.0.5/app/views/redhat_access/redhat_access/index.html.erb within layouts/application (0.8ms)
2017-08-28 09:02:14 ea07023a [app] [I]   Rendered layouts/_application_content.html.erb 2017-08-28 09:02:14 ea07023a [app] [I]   Rendered home/_submenu.html.erb (2.9ms)
2017-08-28 09:02:14 ea07023a [app] [I]   Rendered home/_user_dropdown.html.erb (2.3ms)
2017-08-28 09:02:14 ea07023a [app] [I] Read fragment views/tabs_and_title_records-12 (0.2ms)
2017-08-28 09:02:14 ea07023a [app] [I]   Rendered home/_topbar.html.erb (17.3ms)
2017-08-28 09:02:14 ea07023a [app] [I]   Rendered layouts/base.html.erb (19.3ms)
2017-08-28 09:02:14 ea07023a [app] [I] Completed 200 OK in 46ms (Views: 20.9ms | ActiveRecord: 5.3ms)
(0.3ms)

Comment 6 Nikhil Kathole 2017-09-26 06:52:20 UTC
VERIFIED

Version Tested:
Satellite-6.3 Snap 17

# rpm -qa | grep tfm-rubygem-foreman-redhat_access
tfm-rubygem-foreman-redhat_access-2.0.6-1.el7sat.noarch


steps:

1. Created role org_admin with clone of default Organization Admin
2. Created user with org_admin role
3. Login with new user
4. Navigate to Red Hat Access

Dialogue for credentials displayed and found steady to enter credentials.

Comment 7 Nikhil Kathole 2017-09-26 06:53:23 UTC
Created attachment 1330889 [details]
screenshot of UI


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