[Pulp-list] pulp_deb issues with "Unable to find global header" on trusty-updates and trusty-security ubuntu repos

Brian Bouterse bbouters at redhat.com
Wed Jun 13 13:49:37 UTC 2018


I don't have advice on a resolution, but perhaps you've discovered a
pulp_deb bug. Consider filing a bug report about it here:
https://pulp.plan.io/projects/pulp_deb/issues/new

On Thu, Jun 7, 2018 at 12:15 PM, Jacob Evans <
jacobdevansconsulting at gmail.com> wrote:

> Hey All, I'm  having some strange issues getting trusty to sync, FWIW I
> can sync xenial, precise, and bionic without an issue, as well as the main
> trusty os repo. Any ideas or direction would be much appreciated!!
>
>
> sync run error is 'Unable to find global header' and journal shows this:
> (also as a gist for readability https://gist.github.com/JakeDEvans/
> 3dcb0f88738877601ab2c96d29733acf )
>
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
> Exception caught from plugin during publish for repo [trusty-updates]
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
> Traceback (most recent call last):
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py",
> line 1258, in _do_publish
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
>  publish_report = publish_repo(transfer_repo, conduit, call_config)
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 737,
> in wrap_f
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
>  return f(*args, **kwargs)
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py",
> line 80, in publish_repo
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
>  return self._publisher.process_lifecycle()
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py",
> line 572, in process_lifecycle
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
>  super(PluginStep, self).process_lifecycle()
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py",
> line 163, in process_lifecycle
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
>  step.process()
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py",
> line 256, in process
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
>  self._process_block()
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py",
> line 303, in _process_block
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
>  self.process_main()
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py",
> line 329, in process_main
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
>  with_symlinks=True)
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/debpkgr/aptrepo.py", line 477, in create
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
>  component=component, architecture=architecture)
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/debpkgr/aptrepo.py", line 448, in
> add_packages
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
>  pkg = debpkg.DebPkg.from_file(filename, Size=sz)
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/debpkgr/debpkg.py", line 416, in
> from_file
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
>  debpkg = debfile.DebFile(filename=path)
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/debian/debfile.py", line 272, in
> __init__
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
>  ArFile.__init__(self, filename, mode, fileobj)
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/debian/arfile.py", line 67, in __init__
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
>  self.__index_archive()
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/debian/arfile.py", line 79, in
> __index_archive
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
>  raise ArError("Unable to find global header")
>  pulp.server.controllers.repository:ERROR: [fd535452] (1746-71072)
> ArError: Unable to find global header
>  pulp.server.async.tasks:INFO: [fd535452] Task failed :
> [fd535452-e040-4f94-8865-1b7d68dcf383]
>  celery.app.trace:ERROR: [fd535452] (1746-71072) Task
> pulp.server.managers.repo.publish.publish[fd535452-e040-4f94-8865-1b7d68dcf383]
> raised unexpected: ArError('Unable to find global header',)
>  celery.app.trace:ERROR: [fd535452] (1746-71072) Traceback (most recent
> call last):
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 367, in
> trace_task
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     R = retval =
> fun(*args, **kwargs)
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 529,
> in __call__
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     return super(Task,
> self).__call__(*args, **kwargs)
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 107,
> in __call__
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     return
> super(PulpTask, self).__call__(*args, **kwargs)
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 622, in
> __protected_call__
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     return
> self.run(*args, **kwargs)
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py",
> line 1109, in publish
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     result =
> check_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit,
> call_config)
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py",
> line 1206, in check_publish
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     result =
> _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit,
> call_config)
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py",
> line 1258, in _do_publish
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     publish_report =
> publish_repo(transfer_repo, conduit, call_config)
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 737,
> in wrap_f
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     return f(*args,
> **kwargs)
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py",
> line 80, in publish_repo
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     return
> self._publisher.process_lifecycle()
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py",
> line 572, in process_lifecycle
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     super(PluginStep,
> self).process_lifecycle()
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py",
> line 163, in process_lifecycle
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     step.process()
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py",
> line 256, in process
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     self._process_block()
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py",
> line 303, in _process_block
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     self.process_main()
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/pulp_deb/plugins/distributors/distributor.py",
> line 329, in process_main
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     with_symlinks=True)
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/debpkgr/aptrepo.py", line 477, in create
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     component=component,
> architecture=architecture)
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/debpkgr/aptrepo.py", line 448, in
> add_packages
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     pkg =
> debpkg.DebPkg.from_file(filename, Size=sz)
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/debpkgr/debpkg.py", line 416, in
> from_file
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     debpkg =
> debfile.DebFile(filename=path)
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/debian/debfile.py", line 272, in
> __init__
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     ArFile.__init__(self,
> filename, mode, fileobj)
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/debian/arfile.py", line 67, in __init__
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     self.__index_archive()
>  celery.app.trace:ERROR: [fd535452] (1746-71072)   File
> "/usr/lib/python2.7/site-packages/debian/arfile.py", line 79, in
> __index_archive
>  celery.app.trace:ERROR: [fd535452] (1746-71072)     raise ArError("Unable
> to find global header")
>  celery.app.trace:ERROR: [fd535452] (1746-71072) ArError: Unable to find
> global header
>
>
>
>
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20180613/1cf49004/attachment.htm>


More information about the Pulp-list mailing list