Bug 1428384

Summary: spacecmd system_details - when specifying system by ID, its Name is displayed as its ID rather that actual name
Product: Red Hat Satellite 5 Reporter: Lukáš Hellebrandt <lhellebr>
Component: ServerAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacecmd-2.5.0-8-sat Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 12:08:16 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:
Bug Depends On:    
Bug Blocks: 1358815    

Description Lukáš Hellebrandt 2017-03-02 13:15:34 UTC
Description of problem:
When I call system_details and specify the system using ID, it shows "Name: <ID>" rather than "Name: <Name>"

How reproducible:
Deterministic

Steps to Reproduce:

spacecmd {SSM:0}> system_details abcd
Name:          abcd
System ID:     1000010057
[...]
spacecmd {SSM:0}> system_details 1000010057
Name:          1000010057
System ID:     1000010057
[...]



Actual results:
ID displayed instead of name

Expected results:
Name should be displayed

Comment 1 Tomáš Kašpárek 2017-03-02 13:59:34 UTC
spacewalk.git(master): 2d147c700a74b2f0359b3500ca82797ae2e8e75c

Comment 4 Lukáš Hellebrandt 2017-03-07 09:53:54 UTC
Verified with spacecmd-2.5.0-9.