Project

Profile

Help

Issue #552

404 during distribution sync causes pulp-admin to fail

Added by mhrivnak almost 7 years ago. Updated almost 3 years ago.

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

Description

from server_calls.log

Description of problem:
If files are not found during an rpm sync's distribution step, pulp-admin fails.

The attached file shows what the server returned.

This is the traceback:

$ cat ~/.pulp/admin.log
2014-09-26 12:55:11,928 - ERROR - Client-side exception occurred
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pulp/client/extensions/core.py", line 478, in run
exit_code = Cli.run(self, args)
File "/usr/lib/python2.6/site-packages/okaara/cli.py", line 974, in run
exit_code = command_or_section.execute(self.prompt, remaining_args)
File "/usr/lib/python2.6/site-packages/pulp/client/extensions/extensions.py", line 224, in execute
return self.method(*arg_list, **clean_kwargs)
File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/sync_publish.py", line 101, in run
status.display_group_status(self.context, self.renderer, task_group_id)
File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 64, in display_group_status
_display_status(context, renderer, task_list)
File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 96, in _display_status
_display_task_status(context, renderer, task.task_id, quiet_waiting=quiet_waiting)
File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 123, in _display_task_status
renderer.display_report(response.response_body.progress)
File "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py", line 77, in display_report
self.render_distribution_sync_step(progress_report)
File "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py", line 160, in render_distribution_sync_step
'message' : error[1]['error_message'],

Version-Release number of selected component (if applicable):
2.3.1

How reproducible:
probably always

Steps to Reproduce:
1. use pulp-admin to sync a repo where the treeinfo file references files that don't exist

+ This bug was cloned from Bugzilla Bug #1147078 +

dba67cd405e703681bd64ef360ade5d9 (4.58 KB) dba67cd405e703681bd64ef360ade5d9 mhrivnak, 02/28/2015 11:36 PM

History

#3 Updated by bmbouter almost 7 years ago

  • Severity changed from Medium to 2. Medium

#4 Updated by bcourt almost 7 years ago

  • Status changed from MODIFIED to 5

#5 Updated by pthomas@redhat.com almost 7 years ago

  • Status changed from 5 to 6

verified
[root@cloud-qe-12 ~]# rpm -qa pulp-server
pulp-server-2.6.1-0.2.beta.el6.noarch
[root@cloud-qe-12 ~]#


[root@cloud-qe-12 ~]# 
[root@cloud-qe-12 ~]# pulp-admin rpm repo sync run --repo-id centos
+----------------------------------------------------------------------+
                   Synchronizing Repository [centos]
+----------------------------------------------------------------------+

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

Downloading metadata...
[\]
... completed

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

... completed

Downloading distribution files...
[=====================================             ] 75%
Distributions: 3/4 items

Errors encountered during distribution sync:

File:
http://qe-blade-10.idmqe.lab.eng.bos.redhat.com/pulp/repos/pub/scientific/6.6/x8
6_64/images/boot.iso
Error Code:   None
Error Message: None

Importing errata...
[-]
... completed

Importing package groups/categories...
[-]
... completed

Task Succeeded

Initializing repo metadata
[-]
... completed

Publishing Distribution files
[-]
... completed

Publishing RPMs
[==================================================] 100%
6665 of 6665 items
... completed

Publishing Delta RPMs
... skipped

Publishing Errata
[==================================================] 100%
2474 of 2474 items
... completed

Publishing Comps file
[-]
... completed

Publishing Metadata.
[-]
... completed

Closing repo metadata
[-]
... completed

Generating sqlite files
... skipped

Publishing files to web
[-]
... completed

Writing Listings File
[-]
... completed

Task Succeeded

<\pre>

#7 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#9 Updated by bmbouter almost 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF