Bug 1229384

Summary: Cannot create partition table with one symbol in name
Product: Red Hat Satellite Reporter: Oleksandr Shtaier <oshtaier>
Component: ProvisioningAssignee: Katello Bug Bin <katello-bugs>
Status: CLOSED ERRATA QA Contact: Jitendra Yejare <jyejare>
Severity: medium Docs Contact:
Priority: high    
Version: 6.1.0CC: abalakht, bbuckingham, bkearney, erezende, jyejare, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 08:52:29 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
WebUI Error
none
[Verified] Screenshot Attached none

Description Oleksandr Shtaier 2015-06-08 15:00:56 UTC
Created attachment 1036408 [details]
WebUI Error

Description of problem:
When I try to create partition table with one letter in name, I get:

WebUI:
"can't contain trailing white spaces" error

API:
422 Client Error: Unprocessable Entity:
"error": {"full_messages":["Name can't contain trailing white spaces."]}

CLI:
Could not create the partition table:
    Name can't contain trailing white spaces.

Version-Release number of selected component (if applicable):
Sat 6.1 GA snap 7

How reproducible:
Always


Steps to Reproduce:
1. Try to create new partition table using one symbol (for example "T") as its name

Actual results:
Partition table is not created and error message is thrown


Expected results:
Partition table created successfully


Additional info:

Comment 2 Bryan Kearney 2015-12-18 16:15:10 UTC
This is fixed upstream, verified this on 1.11 devel.

Comment 3 sthirugn@redhat.com 2016-01-29 15:42:03 UTC
Moving to POST as the fix is still in upstream only.

Comment 6 Jitendra Yejare 2016-04-01 08:59:49 UTC
Created attachment 1142480 [details]
[Verified] Screenshot Attached

Comment 7 Jitendra Yejare 2016-04-01 09:00:07 UTC
Verified this issue in Sat 6.2 snap 6.0

The bug is no more reproducible.

I see the partition table is created with symbol/letter as mentioned in description of bug. [Screenshot Attached]

So moving the bug as Verified.

Comment 9 errata-xmlrpc 2016-07-27 08:52:29 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/RHBA-2016:1500