Bug 1399151

Summary: spacecmd should output RHN Satellite System IDs with system name in lists
Product: [Community] Spacewalk Reporter: Oliver Ilian <oliver>
Component: ServerAssignee: Tomáš Kašpárek <tkasparek>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.5CC: eherget, msuchy, tkasparek, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1428757 (view as bug list) Environment:
Last Closed: 2017-09-27 19:28:15 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:
Bug Depends On:    
Bug Blocks: 1428757, 1484117    

Description Oliver Ilian 2016-11-28 12:35:27 UTC
Description of problem:
There are several spacecmd commands that do only output the system name. To identify a system 100% the RHN Satellite System ID would be needed. Satellite 5 allows a system to re-register with the same name, but a different system ID. Thereofr the system name will appear (maybe twice), but it is not clear which system is meant.

Version-Release number of selected component (if applicable):
spacecmd-2.5.8-1.el7.noarch

Steps to Reproduce:
1. run: spacecmd package_listinstalledsystems <packagename>
2. run: spacecmd system_list

Actual results:
outout is a list of system names

Expected results:
output is a list of system names and IDs

Additional info:
The RHN Satellite System ID is a unique identifier for a system, so this should be used in outputs instead of just the system name which can be appear several times.

Comment 1 Miroslav Suchý 2016-11-29 08:54:43 UTC
Moving to upstream

Comment 2 Tomáš Kašpárek 2017-03-03 09:38:22 UTC
Both package_listinstalledsystems and system_list calls now print system_name and it's id in output. If you manage to find some other calls which should also print systemdid, please let me know.

spacewalk.git(master): 40d59db9c8ed73e34185de005b985e4b9e1eac0d

Comment 3 Eric Herget 2017-09-27 19:28:15 UTC
Spacewalk 2.7 has been released.

https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes27