Description of problem: spacecmd system_deletepackageprofile throws a warning, and does not delete the specified package profile, as so: # spacecmd system_listpackageprofiles WARNING: Cached credentials are invalid INFO: Spacewalk Username: admin Spacewalk Password: INFO: Connected to https://localhost/rpc/api as admin appora-dev.fnal.gov-2011-11-23 [...] wcs-2011-11-23 # spacecmd system_deletepackageprofile wcs-2011-11-23 INFO: Connected to https://localhost/rpc/api as admin Delete this profile [y/N]: y WARNING: 'wcs-2011-11-23' is not a valid profile # Version-Release number of selected component (if applicable):spacecmd-1.6.9-1. Note: we are using this with Red Hat Satellite 5.4.1. How reproducible: With the appropriate environment, just spacecmd system_deletepackageprofile a valid package profile name (as provided by spacecmd system_listpackageprofiles) and you'll receive the warning, and the package profile won't be deleted. Steps to Reproduce: See above. Actual results: WARNING: 'wcs-2011-11-23' is not a valid profile Expected results: Package profile deleted. Additional info: This has been vetted by engineering per RH Case 00575421.
Taking....
Fixed in Spacewalk master, 8f64e289ce2d9d8bb40686bd2d321fa1fe4428bc.
Spacewalk 1.7 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes17