Bug 695657
| Summary: | rhn-satellite-exporter - KeyError caught in dump_errata. | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Jiri Kastner <jkastner> |
| Component: | Server | Assignee: | Michael Mráka <mmraka> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 1.4 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | spacewalk-backend-1.5.4-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-21 14:43:47 UTC | Type: | --- |
| 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: | 695242 | ||
This is an error introduced by updateinfo patch.
It's been fixed by
commit cc93aa352c85543a00e33a24269842d330e189f7
fixed errata export / import
fixing
Exception type <type 'exceptions.KeyError'>
...
File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/exporter/exportLi
SimpleDumper(self._writer, 'rhn-erratum-bug-href', self._row['bug_href']),
KeyError: 'bug_href'
introduced in 307d2c5606ab10561acbfa3fda89b5c0a2671233
commit 015d3e740336d3a994d3062c7159311521d01e0e
fixed errata_from export
fixing
Exception type <type 'exceptions.KeyError'>
...
arr.append(SimpleDumper(self._writer, k, self._row[v] or "", b))
KeyError: 'errata_from'
introduced in 307d2c5606ab10561acbfa3fda89b5c0a2671233
This bugzilla is currently MODIFIED, so we believe the fix is in the Spacewalk nightly yum repository at http://spacewalk.redhat.com/yum/nightly/ Therefore, moving ON_QA. Spacewalk 1.5 was released. |
Description of problem: not able export erratas, rhn-satellite-exporter produces only "KeyError caught in dump_errata." message/traceback during export, and then satellite-sync fails with traceback (see attachment). Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. cerate channel 2. create packages and push them to channel from step 1. 3. create erratas for packages from step2. 4. publish errata 5. rhn-satellite-exporter -d /tmp/XXXX -c channel-from-step-1 6. KeyError caught in dump_errata. Actual results: 10:36:17 Exporting errata... ____________________ Exporting: 10:36:17 KeyError caught in dump_errata. Expected results: 10:36:17 Exporting errata... ____________________ Exporting: #################### - Done! 10:33:37 Number of errata exported: 1 10:33:37 Exporting kickstart data... ____________________ Exporting: #################### - Done! 10:33:37 Amount of kickstart data exported: 0 10:33:37 Exporting kickstart files... ____________________ Exporting: #################### - Done! 10:33:37 Number of kickstart files exported: 0 Additional info: