Project

Profile

Help

Issue #2029

closed

Cryptic error messages

Added by tmlcoch almost 8 years ago. Updated about 5 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Pulp fails with cryptic error message when trying to sync an inconsistent repository that has different set of packages in metadata files (e.g. primary.xml and other.xml).

The error message provided by Pulp is:

'\\xff\\xff\\xff\\xff\\xb0!\\x99\\x07'

Whole error:

Sync Incomplete 

PLP0000: Importer indicated a failed response

     {"yum_importer"=>
       {"content"=>
         {"size_total"=>5681420084,
          "items_left"=>10,
          "items_total"=>64,
          "state"=>"FAILED",
          "size_left"=>1486145600,
          "details"=>
           {"rpm_total"=>64, "rpm_done"=>54, "drpm_total"=>0, "drpm_done"=>0},
          "error"=>"'\\xff\\xff\\xff\\xff\\xb0!\\x99\\x07'",
          "error_details"=>[]},
        "comps"=>{"state"=>"NOT_STARTED"},
        "purge_duplicates"=>{"state"=>"NOT_STARTED"},
        "distribution"=>
         {"items_total"=>0,
          "state"=>"NOT_STARTED",
          "error_details"=>[],
          "items_left"=>0},
        "errata"=>{"state"=>"NOT_STARTED"},
        "metadata"=>{"state"=>"FINISHED"}}},

Please fix Pulp to provide some meaningful error messages.


Related issues

Is duplicate of RPM Support - Issue #1932: More gracefully handle KeyError when an rpm has no data in filelists.xml nor in other.xmlCLOSED - DUPLICATEActions

Also available in: Atom PDF