Bug 1401519

Summary: Request-URI Too Long on accessing architecture with name too long
Product: Red Hat Satellite Reporter: Roman Plevka <rplevka>
Component: HostsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WORKSFORME QA Contact: Roman Plevka <rplevka>
Severity: low Docs Contact:
Priority: low    
Version: 6.3.0CC: bbuckingham, bkearney, inecas, jcallaha, oshtaier, rplevka, tbrisker
Target Milestone: UnspecifiedKeywords: Triaged
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: 2017-05-10 12:36:14 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:

Description Roman Plevka 2016-12-05 13:46:23 UTC
Description of problem:
There seems to be no name-length limit for Architectures.
Creating with name too long logically triggers Request-URI too long (since its name is appended to the url as a part of the GET request)

the same issue is reproducible using CLI when --name is used. (or API with applying search by name).


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
no length limit for architecture name

Expected results:
length restriction takes place (max 255 chars as for other entities)

Additional info:

Comment 1 Roman Plevka 2016-12-05 13:47:40 UTC
version: 6.3.0 snap6

Comment 6 Bryan Kearney 2017-12-19 14:57:56 UTC
setting flag based on request from Og to kick off automation.