Description of problem: Some spacecmd calls that support specifying a system both by ID and Name can not successfully find a system when its name is a number. This is related to bz 1427905 but is different because the system's name does not need to be an existing system's ID - it merely needs to be a number. How reproducible: Deterministic Steps to Reproduce: # system_installpackage 123 gvim Start Time [now]: WARNING: Can't find system ID for 123 Actual results: The call has not been applied to system with name "123" Expected results: It should have been
*** Bug 1427905 has been marked as a duplicate of this bug. ***
spacewalk.git(master): a242a6133359f9eb5b100d3df132ea40d736656b
please ignore comment#2 correct commit is: spacewalk.git(master): 610e73d45f052dc0cabd5881ef0f4fb1d969bf24
Verified with spacecmd-2.5.0-9.el6sat.noarch. spacecmd {SSM:0}> system_installpackage 123 rhnmd Start Time [now]: 123: rhnmd-5.3.18-2.el6sat.noarch Start Time: 20170306T10:22:20 Install these packages [y/N]: y INFO: Scheduled 1 system(s)