Bug 1685437

Summary: [webUI, Repo-Discovery]- Failed to discover the repository from Repo Discovery Page
Product: Red Hat Satellite Reporter: Omkar Khatavkar <okhatavk>
Component: RepositoriesAssignee: Partha Aji <paji>
Status: CLOSED ERRATA QA Contact: Omkar Khatavkar <okhatavk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5.0CC: egolov, ltran, mhulan, sghai
Target Milestone: 6.5.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-3.10.0.33-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-14 12:40:24 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
Error on console none

Description Omkar Khatavkar 2019-03-05 08:18:15 UTC
Created attachment 1540866 [details]
Error on console

Description of problem:
Failed to discover the repo from Repo Discovery. Getting an error 'An invalid form control with name='upstreamUsername' is not focusable.' error on JS console.  

Version-Release number of selected component (if applicable):
Satellite 6.5 Snap 18 (try chrome)

How reproducible:
Always 

Steps to Reproduce:
1. Navigate to Products-> Discover Repositories
2. Add Url 'https://inecas.fedorapeople.org/fakerepos/zoo/'
3. Click on Discover button.
4. See the error on console log (try chrome)

Actual results:
Discover repo fails with an error in the console log as 'An invalid form control with name='upstreamUsername' is not focusable.'

Expected results:
Repo should be discovered, records should be shown in Discovery Repository column.

Additional info:
Error displayed in console log 

An invalid form control with name='upstreamPassword' is not focusable.
120Refused to load the font '<URL>' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'font-src' was not explicitly set, so 'default-src' is used as a fallback

Comment 5 Sachin Ghai 2019-03-05 13:58:23 UTC
I confirmed with QE folks, this issue is appears only w/ snap18. With snap17.1, the repo discovery is working.

Comment 6 Partha Aji 2019-03-05 20:26:48 UTC
Connecting redmine issue https://projects.theforeman.org/issues/26251 from this bug

Comment 7 Bryan Kearney 2019-03-06 01:03:46 UTC
Upstream bug assigned to paji

Comment 8 Bryan Kearney 2019-03-06 01:03:47 UTC
Upstream bug assigned to paji

Comment 9 jcallaha 2019-03-13 15:59:27 UTC
*** Bug 1688333 has been marked as a duplicate of this bug. ***

Comment 10 Bryan Kearney 2019-03-19 20:04:07 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26251 has been resolved.

Comment 11 Omkar Khatavkar 2019-03-25 13:28:01 UTC
This is resolved and verified in Satellite 6.5 with snap 19.

Comment 14 errata-xmlrpc 2019-05-14 12:40:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:1222