Bug 1399151 - spacecmd should output RHN Satellite System IDs with system name in lists
Summary: spacecmd should output RHN Satellite System IDs with system name in lists
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 2.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 1428757 space27
TreeView+ depends on / blocked
 
Reported: 2016-11-28 12:35 UTC by Oliver Ilian
Modified: 2017-09-27 19:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1428757 (view as bug list)
Environment:
Last Closed: 2017-09-27 19:28:15 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.