Project

Profile

Help

Issue #2197

closed

Error report for file size verification is not generated correctly

Added by ttereshc over 8 years ago. Updated over 5 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.

Also available in: Atom PDF