Bug 1552537
Summary: | KeyError: 'severity' caught when exporting channel with rhn-satellite-exporter | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Jiří Dostál <jdostal> |
Component: | Server | Assignee: | Jiří Dostál <jdostal> |
Status: | CLOSED ERRATA | QA Contact: | Lukáš Hellebrandt <lhellebr> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 580 | CC: | jhutar, lhellebr, ogajduse, satqe-list, tkasparek, tlestach |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | spacewalk-backend-2.5.3-166 | Doc Type: | Release Note |
Doc Text: |
If this bug requires documentation, please select an appropriate Doc Type value.
|
Story Points: | --- |
Clone Of: | 1550001 | Environment: | |
Last Closed: | 2018-05-15 21:46:38 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: | 1550001 | ||
Bug Blocks: | 1450111 |
Description
Jiří Dostál
2018-03-07 10:03:46 UTC
Failed with spacewalk-java-2.5.14-118 , spacewalk-backend-2.5.3-165. rhn-satellite exporter exports the errata with severity_id=0 (i.e., Critical) as if they had empty severity_id. spacewalk c5166c10584fb5ff3797527f7147b27e775fc4fd Verified with spacewalk-backend-2.5.3-166. Followed the steps from OP. Then: # mail [Log without traceback] # find /tmp/satexport/errata/ | wc -l 3004 On different Sat: # satellite-sync -m satexport -c rhel-x86_64-server-7 -c rhn-tools-rhel-x86_64-server-7 [...] # echo $? 0 ... errata succesfully imported. Furthermore, checked that severities of errata imported from the export file are indeed correct. Tested both with RH channels and custom channel. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:1565 |