Bug 2230145

Summary: Repo discovery failed with error 'Validation failed: Label cannot contain characters other than ascii alpha numerals, '_', '-'. "
Product: Red Hat Satellite Reporter: mithun kalyat <mkalyat>
Component: RepositoriesAssignee: satellite6-bugs <satellite6-bugs>
Status: NEW --- QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.13.3Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description mithun kalyat 2023-08-08 19:08:59 UTC
Description of problem:

While performing the yum repository creation after discovering, it fails with the following error.

"Validation failed: Label cannot contain characters other than ascii alpha numerals, '_', '-'. , Label must contain at least 1 character, Name must contain at least 1 character"

Steps to Reproduce:

  Discover the repository https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/

  Content --> Products --> Repo Discovery -->  URL to Discover : https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/  --> Discover --> Select the repositories --> Create selected  --> Run Repository creation

Looks like the debug repository created successfully.


Additional info:

Attaching the screenshots showing the issue.