Bug 835979
Summary: | Spacecmd system_runscript Translation Exception Error | ||
---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Steve Alder <steve_alder> |
Component: | Clients | Assignee: | Milan Zázrivec <mzazrivec> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.0 | CC: | ggruner, msuchy |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | spacecmd-2.1.16-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-03-04 13:07:13 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: | 1069560 |
Description
Steve Alder
2012-06-27 17:58:01 UTC
Forwarded to upstream. Fixed in spacewalk.git master: ad5f2714428c7f6011a9ce60b90af0e767fed866 Thank you for the bug report & sorry for the big delay. Hi Milan, I have now an error with this fix. # cat testfile1.sh ls -la # spacecmd "system_runscript group:WEB -t 600 -f testfile1.sh" INFO: Connected to https://localhost/rpc/api as admin ERROR: expected string or buffer Without this commit it looks fine: spacecmd "system_runscript group:WEB -t 600 -f testfile1.sh" INFO: Connected to https://localhost/rpc/api as admin User: root Group: root Timeout: 600 seconds Start Time: 20131118T14:45:37 Script Contents --------------- ls -lh Systems ------- lnx3053.eng.zkb.ch Is this ok [y/N]: y INFO: Action ID: 4432 INFO: Scheduled: 1 system(s) Best Regards, Gregor Problem described in comment #3 fixed in: spacewalk.git master: ddcaf0a5df86f3377f2698ce4641d8df5c4b702c Thank you Gregor! Switching MODIFIED Spacewalk bugs to ON_QA before 2.1 release. Spacewalk 2.1 has been released. https://fedorahosted.org/spacewalk/wiki/ReleaseNotes21 Spacewalk 2.1 has been released. https://fedorahosted.org/spacewalk/wiki/ReleaseNotes21 |