Bug 1550001 - KeyError: 'severity' caught when exporting channel with rhn-satellite-exporter
Summary: KeyError: 'severity' caught when exporting channel with rhn-satellite-exporter
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 2.7
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jiří Dostál
QA Contact: Ondrej Gajdusek
URL:
Whiteboard:
Depends On:
Blocks: 1552537
TreeView+ depends on / blocked
 
Reported: 2018-02-28 09:28 UTC by Ondrej Gajdusek
Modified: 2018-04-20 12:31 UTC (History)
0 users

Fixed In Version:
Clone Of:
: 1552537 (view as bug list)
Environment:
Last Closed: 2018-04-20 12:31:08 UTC
Embargoed:


Attachments (Terms of Use)
directory structure of the dump (2.53 MB, application/octet-stream)
2018-02-28 09:34 UTC, Ondrej Gajdusek
no flags Details

Description Ondrej Gajdusek 2018-02-28 09:28:15 UTC
Created attachment 1401700 [details]
email-with-traceback

Description of problem:
I was trying to verify that Spacewalk is able to export channel which contains info about errata severity to the dump using rhn-satellite-exporter. Dumps seem to be exported successfully. In the current situation, I don't see a reason to sync this dump back as there were some errors. I consider this as a blocker in the whole process of exporting and reimporting it back to the Spacewalk.

Version-Release number of selected component (if applicable):
spacewalk-admin-2.8.4-1.el6.noarch
spacewalk-backend-2.8.47-1.el6.noarch
spacewalk-schema-2.8.17-1.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1.sync the channels using cdn-sync: cdn-sync -c rhel-x86_64-server-7 -c rhn-tools-rhel-x86_64-server-7
2.export these two channels using rhn-satellite-exporter: rhn-satellite-exporter --verbose --dir=/tmp/satexport/ -c rhel-x86_64-server-7 -c rhn-tools-rhel-x86_64-server-7 --email

Actual results:
Exporting these channels result in traceback.

Expected results:
Export should exit without traceback.

Additional info:
I'm attaching two attachments:
output of: tree /tmp/satexport/
email sent by rhn-satellite-exporter.

Comment 1 Ondrej Gajdusek 2018-02-28 09:34:32 UTC
Created attachment 1401707 [details]
directory structure of the dump

Comment 2 Jiří Dostál 2018-03-01 08:41:35 UTC
177cede178a600957e254945b20b94f68c0a1a88

Comment 3 Jiří Dostál 2018-03-26 12:16:27 UTC
Moving ON_QA

Comment 4 Ondrej Gajdusek 2018-03-26 12:47:29 UTC
Verified some weeks ago with spacewalk-backend-2.8.52-1. 
I was able to sync content via cdn-sync, export it via rhn-satellite-exporter and sync it back via satellite-sync.

Comment 5 Jiří Dostál 2018-04-20 12:31:08 UTC
Spacewalk 2.8 has been released.
https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes28


Note You need to log in before you can comment on or make changes to this bug.