| Summary: | rhn-clone-errata.py exception on errata importing with missing packages | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | helfman |
| Component: | Clients | Assignee: | Michael Mráka <mmraka> |
| Status: | CLOSED EOL | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.8 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | noarch | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-07-18 09:31:56 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: | |
Spacewalk 2.8 (and older) has already reached it's End Of Life. Thank you for reporting this issue and we are sorry that we were not able to fix it before end of life. If you would still like to see this bug fixed and are able to reproduce it against current version of Spacewalk 2.9, you are encouraged change the 'version' and re-open it. |
Description of problem: Importing errata on non-existing packages fails unexpectedly. Version-Release number of selected component (if applicable): rhn-clone-errata.py git commit is 98a72d90238ccd2feb615adb392f8a9ce66debb4 How reproducible: I was able to do this on Red Hat Enterprise Linux Server release 5.10 Steps to Reproduce: 1. ./rhn-clone-errata.py -f /etc/rhn-clone.cfg -b `date --date="-30days" +%Y%m%d` -c rhel-x86_64-server-6 -iI Actual results: [helfman@myserver ~]$ sudo ./rhn-clone-errata.py -f /etc/rhn-clone.cfg -b `date --date="-30days" +%Y%m%d` -c rhel-x86_64-server-6 -iI RHSA-2013:1764 Errata Already Exists. RHSA-2013:1764:R6-64 RHBA-2013:1758 Ignoring missing package(s) and continuing... 11/25/13 - tuna bug fix update Errata Created: 110 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'> Error Publishing Errata! Traceback (most recent call last): File "./rhn-clone-errata.py", line 873, in ? main() File "./rhn-clone-errata.py", line 849, in main spwPublish = mySPW.errataPublish (spwErrataName, [chanMap[chan]], 0) File "./rhn-clone-errata.py", line 490, in errataPublish errata = self.server.errata.publish(self.rhnSession,name,channels) File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request verbose=self.__verbose File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request return self._parse_response(h.getfile(), sock) File "/usr/lib/python2.4/xmlrpclib.py", line 1286, in _parse_response return u.close() File "/usr/lib/python2.4/xmlrpclib.py", line 744, in close raise Fault(**self._stack[0]) xmlrpclib.Fault: <Fault 1201: 'redstone.xmlrpc.XmlRpcFault: Invalid channel label'> Expected results: Errata should be imported Additional info: I already have valid errata, as you can see from the output, however new errata is not being published due to an invalid issue date but notes in addition that I have an invalid channel label. I don't believe this is user error, however if there is something that I have setup incorrectly, I am willing to test another configuration or argument to import the errata properly. Feel free to move this to a non-urgent bug, however I have put this as such because it is due to an error in importing the errata, itself. Here are the relevant parts of my configuration information on the channel noted in this bug: [ChanMap] rhel-x86_64-server-6 = rhel6-x86-64-november [ChanSuffixMap] rhel-x86_64-server-6 = R6-64 Thanks! -jgh