https://pulp.plan.io/issues/2772#note-15
On Wed, Aug 29, 2018, 16:03 Alejandro Falcon <[email protected]> wrote: > Thanks a lot for the quick reply. I'll submit the bug then. > > On Wed, Aug 29, 2018 at 3:58 PM Kodiak Firesmith <[email protected]> > wrote: > >> Hi Alejandro, >> I don't know the specific answer to your question but it appears to be >> dying while trying to parse the repomd file in Amazon S3 space: >> >> https://graylog2-package-repository.s3.amazonaws.com/el/stable/2.4/x86_64/repodata/repomd.xml >> >> Pulp 2.9.x is very old and many, many updates related to metadata parsing >> have happened between your version and the current version. All of that >> said, I was able to reproduce the same problem with both graylog 2.4 and >> the prior stable version 2.3 >> >> There appears to be something in that particular product's YUM repodata >> that is tickling some sort of bug in Pulp, even using the latest release of >> Pulp. You'll probably want to submit an issue on the bug tracker. ( >> https://pulp.plan.io/issues?set_filter=1) >> >> On Wed, Aug 29, 2018 at 3:43 PM Alejandro Falcon < >> [email protected]> wrote: >> >>> Hi, I'm trying to sync the following repository: >>> >>> https://packages.graylog2.org/el/stable/2.4/x86_64 >>> >>> But I get the following error when syncing: >>> >>> Aug 29 19:39:23 pulp01 pulp: pulp.server.async.tasks:INFO: Task failed : >>> [7aa74f5e-dcfd-4e3a-ad91-d770da000645] >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) Task >>> pulp.server.managers.repo.sync.sync[7aa74f5e-dcfd-4e3a-ad91-d770da000645] >>> raised unexpected: SyntaxError('mismatched tag: line 20, column 2',) >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) >>> Traceback (most recent call last): >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) File >>> "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in >>> trace_task >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) R >>> = retval = fun(*args, **kwargs) >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) File >>> "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 484, in >>> __call__ >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) >>> return super(Task, self).__call__(*args, **kwargs) >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) File >>> "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 103, in >>> __call__ >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) >>> return super(PulpTask, self).__call__(*args, **kwargs) >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) File >>> "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 437, in >>> __protected_call__ >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) >>> return self.run(*args, **kwargs) >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) File >>> "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", >>> line 760, in sync >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) >>> sync_report = sync_repo(transfer_repo, conduit, call_config) >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) File >>> "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 669, in >>> wrap_f >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) >>> return f(*args, **kwargs) >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) File >>> "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/importer.py", >>> line 82, in sync_repo >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) >>> report = self._current_sync.run() >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) File >>> "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", >>> line 200, in run >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) if >>> not self.sync_feed: >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) File >>> "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", >>> line 106, in sync_feed >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) >>> self.check_metadata(repo_url_slash) >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) File >>> "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", >>> line 333, in check_metadata >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) >>> metadata_files.parse_repomd() >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) File >>> "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/repomd/metadata.py", >>> line 164, in parse_repomd >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) >>> for event, element in xml_iterator: >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) File >>> "<string>", line 91, in next >>> Aug 29 19:39:24 pulp01 pulp: celery.worker.job:ERROR: (856-88224) >>> Exception: mismatched tag: line 20, column 2 >>> >>> The repo seems ok when used directly to install packages on the server. >>> Any ideas what could be the issue? >>> >>> Thanks, >>> Alejandro. >>> >>> -- >>> >>> _______________________________________________ >>> Pulp-list mailing list >>> [email protected] >>> https://www.redhat.com/mailman/listinfo/pulp-list >> >> > > -- > >
_______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
