Description of problem: When running script rhn-clone-errata.py 0.9.2, script tries to update ErrataDetails issue_date and update_date, cloned from rhn, but it throws exceptions - Can't Update Errata Details! failed to set issue_date: <Fault 2801: 'redstone.xmlrpc.XmlRpcFault: Invalid argument(s): issue_date'> Can't Update Errata Details! failed to set update_date: <Fault 2801: 'redstone.xmlrpc.XmlRpcFault: Invalid argument(s): update_date'> When checked api (1.7 and 1.8 both) specification for setDetails method on http://spacewalk.redhat.com/documentation/api/1.8/handlers/ErrataHandler.html#setDetails, I havent found any issue_date nor update_date arguments, which might be some sort of inconsistency to original rhn satelite errata structure. Version-Release number of selected component (if applicable): Spacewalk 1.7 Spacewalk 1.8 (most probably - when i compare the api link specification it looks same) rhn-clone-errata.py 0.9.2 RHEL 5.8 How reproducible: /usr/local/bin/rhn-clone-errata.py -f "/etc/spacewalk-errata-clone" --proxy="138.35.24.153:8088" --no-spw-proxy --ignore-missing-packages --src-channel=rhel-i386-server-5 --begin-date=20120301 Steps to Reproduce: 1. it happens for all new erratas, most probably introduced in 0.9.2 https://fedorahosted.org/spacewalk/changeset/b0524cc7fa1de90398e8b7d3762555324dd5c4f5/scripts/clone-errata/rhn-clone-errata.py Actual results: Expected results: From the API specification it looks like the API doesnt have the arguments (issue_date + update_date) defined for calling the method. For example when I compare it to getDetails, it has such attributes defined in errata structure returned by API. Additional info:
Please, check Spacewalk 1.9 API documentation: http://spacewalk.redhat.com/documentation/api/1.9/handlers/ErrataHandler.html#setDetails * dateTime.iso8601 "issue_date" * dateTime.iso8601 "update_date" are supported We do not maintain scripts directory for all released Spacewalk versions. In case the scripts do not work with latest released Spacewalk version, please, open a BZ. I'm closing this one as NOTABUG.
This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug.