Project

Profile

Help

Issue #2197

Error report for file size verification is not generated correctly

Added by ttereshc over 5 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.9.3
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

If verification of the file size failed, observe a traceback.

+----------------------------------------------------------------------+
                    Synchronizing Repository [zoo]
+----------------------------------------------------------------------+

This command may be exited via ctrl+c without affecting the request.

Downloading metadata...
[-]
... completed

Downloading repository content...
[==================================================] 100%
RPMs:       32/32 items
Delta RPMs: 0/0 items

... completed

Individual package errors encountered during sync:

2016-08-23 13:45:51,963 - ERROR - Client-side exception occurred
Traceback (most recent call last):
  File "/home/user1/devel/pulp/client_lib/pulp/client/extensions/core.py", line 474, in run
    exit_code = Cli.run(self, args)
  File "/usr/lib/python2.7/site-packages/okaara/cli.py", line 974, in run
    exit_code = command_or_section.execute(self.prompt, remaining_args)
  File "/home/user1/devel/pulp/client_lib/pulp/client/extensions/extensions.py", line 210, in execute
    return self.method(*arg_list, **clean_kwargs)
  File "/home/user1/devel/pulp/client_lib/pulp/client/commands/repo/sync_publish.py", line 140, in run
    self.poll([sync_task], kwargs)
  File "/home/user1/devel/pulp/client_lib/pulp/client/commands/polling.py", line 120, in poll
    task = self._poll_task(task)
  File "/home/user1/devel/pulp/client_lib/pulp/client/commands/polling.py", line 211, in _poll_task
    self.progress(task, running_spinner)
  File "/home/user1/devel/pulp/client_lib/pulp/client/commands/repo/sync_publish.py", line 85, in progress
    self.renderer.display_report(task.progress_report)
  File "/home/user1/devel/pulp_rpm/extensions_admin/pulp_rpm/extensions/admin/status.py", line 72, in display_report
    self.render_download_step(progress_report)
  File "/home/user1/devel/pulp_rpm/extensions_admin/pulp_rpm/extensions/admin/status.py", line 263, in render_download_step
    'name': error[constants.NAME],
KeyError: 'name'
An unexpected error has occurred. More information may be found using the -v
flag.

Associated revisions

Revision 95a752de View on GitHub
Added by ttereshc over 5 years ago

Fix error report for file size verification

closes #2197 https://pulp.plan.io/issues/2197

History

#1 Updated by ttereshc over 5 years ago

  • Status changed from ASSIGNED to POST
  • Triaged changed from No to Yes
  • Tags Easy Fix added

#2 Updated by ttereshc over 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#3 Updated by semyers over 5 years ago

  • Platform Release set to 2.9.3

#4 Updated by semyers over 5 years ago

  • Status changed from MODIFIED to 5

#5 Updated by semyers about 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#6 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF