Issue #889
closedKeyError in client_lib/pulp/client/commands/status.py
Description
Hi, I ran into an issue when running `pulp-admin rpm repo publish run --repo-id $MY_REPO`.
I've attached admin.log and curated server_calls.log for analysis.
I managed to get past this though, with a one line patch guided by the traceback in the admin.log (pull request under way, in case you want that..:).
Not sure if it is the right thing to do, but it seemed to work..
```
diff --git a/client_lib/pulp/client/commands/repo/status.py b/client_lib/pulp/client/commands/repo/status.py
index 9ce69c9..e200b87 100644
--- a/client_lib/pulp/client/commands/repo/status.py
+++ b/client_lib/pulp/client/commands/repo/status.py
@ -83,7 +83,7
@ class PublishStepStatusRenderer(StatusRenderer):
return
step.processed = step_details[reporting_constants.PROGRESS_NUM_PROCESSED_KEY]
- step.details = step_details[reporting_constants.PROGRESS_DETAILS_KEY]
+ step.details = step_details.get(reporting_constants.PROGRESS_DETAILS_KEY, None)
if not step.details:
step.details = None
```
Files
Updated by kaos about 9 years ago
Pull request on github: https://github.com/pulp/pulp/pull/1788
Updated by mhrivnak about 9 years ago
- Assignee set to kaos
- Severity changed from 2. Medium to 1. Low
- Triaged changed from No to Yes
Updated by mhrivnak over 8 years ago
- Platform Release changed from master to 2.8.0
Updated by dkliban@redhat.com about 8 years ago
- Status changed from MODIFIED to 5
Updated by dkliban@redhat.com about 8 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE