[Pulp-list] Problems syncing RHEL 7 source
Paul Jochum
paul.jochum at alcatel-lucent.com
Tue Feb 17 13:37:59 UTC 2015
Message: 2 Date: Fri, 13 Feb 2015 14:16:01 -0500 From: Randy Barlow
<rbarlow at redhat.com>
Importer Type Id: iso_importer
> I think this is the problem: the repo is not an RPM repo, it's an ISO
> repo. It looked like you left off the "rpm" part of the create
> command? Try again with this:
>
> pulp-admin rpm repo create \
> --proxy-host=https://ih.proxy.lucent.com --proxy-port=8000 \
> --repo-id=rhel-x86_64-server-7-source \
> -
Hi Randy:
Yes, you are correct, this was my problem. I deleted the repo, and
recreated it correctly as an "rpm" repo. But, now I am back to the
original problem, when I try to sync it, it fails (always on the
"Importing errata..." step:
-sh-4.1# pulp-admin -u admin -p admin rpm repo sync run --repo-id=$i
+----------------------------------------------------------------------+
Synchronizing Repository [rhel-x86_64-server-7-source]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Downloading metadata...
[\]
... completed
Downloading repository content...
[==================================================] 100%
RPMs: 0/0 items
Delta RPMs: 0/0 items
... completed
Downloading distribution files...
[==================================================] 100%
Distributions: 0/0 items
... completed
Importing errata...
[-]
... failed
Task Failed
Importer indicated a failed response
***********************************
I am having the same problem for the repo: rhel-x86_64-server-common-7
In /var/log/messages I see:
Feb 17 07:32:13 lss-pulp02 pulp: celery.worker.strategy:INFO: Received
task:
pulp.server.async.tasks._reserve_resource[8ad687f5-cb21-4ce8-916d-53b905f68185]
Feb 17 07:32:13 lss-pulp02 pulp: celery.worker.job:INFO: Task
pulp.server.async.tasks._reserve_resource[8ad687f5-cb21-4ce8-916d-53b905f68185]
succeeded in 0.0392876050028s:
u'reserved_resource_worker-7 at lss-pulp02.ih.lucent.com.dq'
Feb 17 07:32:13 lss-pulp02 pulp: celery.worker.strategy:INFO: Received
task:
pulp.server.tasks.repository.sync_with_auto_publish[a2cfbe9a-a9bb-451c-b7f1-54fa1285d107]
Feb 17 07:32:13 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:INFO: Downloading metadata from
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/source/SRPMS/.
Feb 17 07:32:13 lss-pulp02 pulp:
requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS
connection (1): cdn.redhat.com
Feb 17 07:32:15 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:INFO: Parsing metadata.
Feb 17 07:32:15 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:INFO: Downloading metadata files.
Feb 17 07:32:15 lss-pulp02 pulp:
requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS
connection (1): cdn.redhat.com
Feb 17 07:32:15 lss-pulp02 pulp:
requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS
connection (1): cdn.redhat.com
Feb 17 07:32:15 lss-pulp02 pulp:
requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS
connection (1): cdn.redhat.com
Feb 17 07:32:15 lss-pulp02 pulp:
requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS
connection (1): cdn.redhat.com
Feb 17 07:32:28 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:INFO: Generating metadata databases.
Feb 17 07:32:36 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:INFO: Determining which units need
to be downloaded.
Feb 17 07:32:45 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:INFO: Downloading 0 RPMs.
Feb 17 07:32:47 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.repomd.alternate:INFO: The content
container reported: {'downloads': {}, 'total_sources': 0} for base URL:
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/source/SRPMS/
Feb 17 07:32:47 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:INFO: Downloading additional units.
Feb 17 07:32:47 lss-pulp02 pulp:
requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS
connection (1): cdn.redhat.com
Feb 17 07:32:49 lss-pulp02 pulp:
requests.packages.urllib3.connectionpool:INFO: Starting new HTTPS
connection (1): cdn.redhat.com
Feb 17 07:32:51 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:ERROR: sync failed
Feb 17 07:32:51 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:ERROR: Traceback (most recent call
last):
Feb 17 07:32:51 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:ERROR: File
"/usr/lib/python2.6/site-packages/pulp_rpm/plugins/importers/yum/sync.py",
line 135, in run
Feb 17 07:32:51 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:ERROR: self.get_errata(metadata_files)
Feb 17 07:32:51 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:ERROR: File
"/usr/lib/python2.6/site-packages/pulp_rpm/plugins/importers/yum/sync.py",
line 472, in get_errata
Feb 17 07:32:51 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:ERROR:
updateinfo.process_package_element, additive_type=True)
Feb 17 07:32:51 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:ERROR: File
"/usr/lib/python2.6/site-packages/pulp_rpm/plugins/importers/yum/sync.py",
line 552, in save_fileless_units
Feb 17 07:32:51 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:ERROR: for model in
package_info_generator:
Feb 17 07:32:51 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:ERROR: File
"/usr/lib/python2.6/site-packages/pulp_rpm/plugins/importers/yum/repomd/packages.py",
line 53, in package_list_generator
Feb 17 07:32:51 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:ERROR: for event, element in
xml_iterator:
Feb 17 07:32:51 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:ERROR: File "<string>", line 68,
in __iter__
Feb 17 07:32:51 lss-pulp02 pulp:
pulp_rpm.plugins.importers.yum.sync:ERROR: SyntaxError: no element
found: line 3758, column 0
Feb 17 07:32:51 lss-pulp02 pulp: celery.worker.job:ERROR: Task
pulp.server.tasks.repository.sync_with_auto_publish[a2cfbe9a-a9bb-451c-b7f1-54fa1285d107]
raised unexpected: PulpExecutionException('Importer indicated a failed
response',)
Feb 17 07:32:51 lss-pulp02 pulp: celery.worker.job:ERROR: Traceback
(most recent call last):
Feb 17 07:32:51 lss-pulp02 pulp: celery.worker.job:ERROR: File
"/usr/lib/python2.6/site-packages/celery/app/trace.py", line 240, in
trace_task
Feb 17 07:32:51 lss-pulp02 pulp: celery.worker.job:ERROR: R = retval
= fun(*args, **kwargs)
Feb 17 07:32:51 lss-pulp02 pulp: celery.worker.job:ERROR: File
"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py", line 316,
in __call__
Feb 17 07:32:51 lss-pulp02 pulp: celery.worker.job:ERROR: return
super(Task, self).__call__(*args, **kwargs)
Feb 17 07:32:51 lss-pulp02 pulp: celery.worker.job:ERROR: File
"/usr/lib/python2.6/site-packages/celery/app/trace.py", line 437, in
__protected_call__
Feb 17 07:32:51 lss-pulp02 pulp: celery.worker.job:ERROR: return
self.run(*args, **kwargs)
Feb 17 07:32:51 lss-pulp02 pulp: celery.worker.job:ERROR: File
"/usr/lib/python2.6/site-packages/pulp/server/tasks/repository.py", line
210, in sync_with_auto_publish
Feb 17 07:32:51 lss-pulp02 pulp: celery.worker.job:ERROR: sync_result =
managers.repo_sync_manager().sync(repo_id, sync_config_override=overrides)
Feb 17 07:32:51 lss-pulp02 pulp: celery.worker.job:ERROR: File
"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py",
line 113, in sync
Feb 17 07:32:51 lss-pulp02 pulp: celery.worker.job:ERROR: raise
PulpExecutionException(_('Importer indicated a failed response'))
Feb 17 07:32:51 lss-pulp02 pulp: celery.worker.job:ERROR:
PulpExecutionException: Importer indicated a failed response
Please let me know if you need any other type of log files.
thanks,
Paul
More information about the Pulp-list
mailing list