I tried this just now with a yum repo with pulp master (future 2.11). I created a very small filesystem, mounted it to /var/cache/pulp/, and made sure the apache user had permission to write to it. I then restarted all pulp services and tried to sync a pulp 2.9 repo.
I saw this in the terminal, which happened quickly:
$ pulp-admin rpm repo sync run --repo-id=pulp29
+----------------------------------------------------------------------+
Synchronizing Repository [pulp29]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Downloading metadata...
[|]
... completed
Downloading repository content...
[==================================================] 100%
RPMs: 59/59 items
Delta RPMs: 0/0 items
Task Failed
Importer indicated a failed response
and lots of this is the log:
Aug 09 13:16:31 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-78656) [Errno 28] No space left on device: u'/var/cache/pulp/reserved_resource_worker-0@dev/6b6a4755-6196-4eb1-acf5-c235a81af8e5/tmpKIc5KW/python-pymongo-debuginfo-3.2-1.el7.x86_64.rpm'
Aug 09 13:16:31 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-78656) Traceback (most recent call last):
Aug 09 13:16:31 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-78656) File "/usr/lib/python2.7/site-packages/nectar/downloaders/threaded.py", line 229, in _fetch
Aug 09 13:16:31 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-78656) file_handle = request.initialize_file_handle()
Aug 09 13:16:31 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-78656) File "/usr/lib/python2.7/site-packages/nectar/request.py", line 46, in initialize_file_handle
Aug 09 13:16:31 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-78656) self._file_handle = open(self.destination, 'wb') # cache the handle
Aug 09 13:16:31 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-78656) IOError: [Errno 28] No space left on device: u'/var/cache/pulp/reserved_resource_worker-0@dev/6b6a4755-6196-4eb1-acf5-c235a81af8e5/tmpKIc5KW/python-pymongo-debuginfo-3.2-1.el7.x86_64.rpm'
Aug 09 13:16:31 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-64224) [Errno 28] No space left on device: u'/var/cache/pulp/reserved_resource_worker-0@dev/6b6a4755-6196-4eb1-acf5-c235a81af8e5/tmpKIc5KW/python-pymongo-gridfs-3.2-1.el7.x86_64.rpm'
Aug 09 13:16:31 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-64224) Traceback (most recent call last):
Aug 09 13:16:31 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-64224) File "/usr/lib/python2.7/site-packages/nectar/downloaders/threaded.py", line 229, in _fetch
Aug 09 13:16:31 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-64224) file_handle = request.initialize_file_handle()
Aug 09 13:16:31 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-64224) File "/usr/lib/python2.7/site-packages/nectar/request.py", line 46, in initialize_file_handle
Aug 09 13:16:31 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-64224) self._file_handle = open(self.destination, 'wb') # cache the handle
Aug 09 13:16:31 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-64224) IOError: [Errno 28] No space left on device: u'/var/cache/pulp/reserved_resource_worker-0@dev/6b6a4755-6196-4eb1-acf5-c235a81af8e5/tmpKIc5KW/python-pymongo-gridfs-3.2-1.el7.x86_64.rpm'
Aug 09 13:16:32 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-78816) [Errno 28] No space left on device: u'/var/cache/pulp/reserved_resource_worker-0@dev/6b6a4755-6196-4eb1-acf5-c235a81af8e5/tmpKIc5KW/python-pulp-oid_validation-2.9.1-1.el7.noarch.rpm'
Aug 09 13:16:32 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-78816) Traceback (most recent call last):
Aug 09 13:16:32 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-78816) File "/usr/lib/python2.7/site-packages/nectar/downloaders/threaded.py", line 229, in _fetch
Aug 09 13:16:32 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-78816) file_handle = request.initialize_file_handle()
Aug 09 13:16:32 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-78816) File "/usr/lib/python2.7/site-packages/nectar/request.py", line 46, in initialize_file_handle
Aug 09 13:16:32 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-78816) self._file_handle = open(self.destination, 'wb') # cache the handle
Aug 09 13:16:32 dev pulp[19105]: nectar.downloaders.threaded:ERROR: (19105-78816) IOError: [Errno 28] No space left on device: u'/var/cache/pulp/reserved_resource_worker-0@dev/6b6a4755-6196-4eb1-acf5-c235a81af8e5/tmpKIc5KW/python-pulp-oid_validation-2.9.1-1.el7.noarch.rpm'
Aug 09 13:16:32 dev pulp[19105]: pulp_rpm.plugins.importers.yum.repomd.alternate:INFO: The content container reported: {'downloads': {'___/primary/___': {'total_failed': 57, 'total_succeeded': 2}}, 'total_sources': 0} for base URL: https://repos.fedorapeople.org/repos/pulp/pulp/stable/2.9/7/x86_64/
Aug 09 13:16:32 dev pulp[19105]: pulp_rpm.plugins.importers.yum.sync:ERROR: (19105-86400) 'error_code'
Aug 09 13:16:32 dev pulp[19105]: pulp_rpm.plugins.importers.yum.sync:ERROR: (19105-86400) Traceback (most recent call last):
Aug 09 13:16:32 dev pulp[19105]: pulp_rpm.plugins.importers.yum.sync:ERROR: (19105-86400) File "/home/vagrant/devel/pulp_rpm/plugins/pulp_rpm/plugins/importers/yum/sync.py", line 224, in run
Aug 09 13:16:32 dev pulp[19105]: pulp_rpm.plugins.importers.yum.sync:ERROR: (19105-86400) self.update_content(metadata_files, url)
Aug 09 13:16:32 dev pulp[19105]: pulp_rpm.plugins.importers.yum.sync:ERROR: (19105-86400) File "/home/vagrant/devel/pulp_rpm/plugins/pulp_rpm/plugins/importers/yum/sync.py", line 493, in update_content
Aug 09 13:16:32 dev pulp[19105]: pulp_rpm.plugins.importers.yum.sync:ERROR: (19105-86400) if error[constants.ERROR_CODE] == constants.ERROR_SIGNATURE_VERIFICATION:
Aug 09 13:16:32 dev pulp[19105]: pulp_rpm.plugins.importers.yum.sync:ERROR: (19105-86400) KeyError: 'error_code'
Aug 09 13:16:32 dev pulp[19105]: pulp.server.async.tasks:INFO: Task failed : [6b6a4755-6196-4eb1-acf5-c235a81af8e5]
Aug 09 13:16:32 dev pulp[19015]: celery.worker.job:ERROR: (19015-86400) Task pulp.server.managers.repo.sync.sync[6b6a4755-6196-4eb1-acf5-c235a81af8e5] raised unexpected: PulpExecutionException('Importer indicated a failed response',)
Aug 09 13:16:32 dev pulp[19015]: celery.worker.job:ERROR: (19015-86400) Traceback (most recent call last):
Aug 09 13:16:32 dev pulp[19015]: celery.worker.job:ERROR: (19015-86400) File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
Aug 09 13:16:32 dev pulp[19015]: celery.worker.job:ERROR: (19015-86400) R = retval = fun(*args, **kwargs)
Aug 09 13:16:32 dev pulp[19015]: celery.worker.job:ERROR: (19015-86400) File "/home/vagrant/devel/pulp/server/pulp/server/async/tasks.py", line 488, in __call__
Aug 09 13:16:32 dev pulp[19015]: celery.worker.job:ERROR: (19015-86400) return super(Task, self).__call__(*args, **kwargs)
Aug 09 13:16:32 dev pulp[19015]: celery.worker.job:ERROR: (19015-86400) File "/home/vagrant/devel/pulp/server/pulp/server/async/tasks.py", line 103, in __call__
Aug 09 13:16:32 dev pulp[19015]: celery.worker.job:ERROR: (19015-86400) return super(PulpTask, self).__call__(*args, **kwargs)
Aug 09 13:16:32 dev pulp[19015]: celery.worker.job:ERROR: (19015-86400) File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__
Aug 09 13:16:32 dev pulp[19015]: celery.worker.job:ERROR: (19015-86400) return self.run(*args, **kwargs)
Aug 09 13:16:32 dev pulp[19015]: celery.worker.job:ERROR: (19015-86400) File "/home/vagrant/devel/pulp/server/pulp/server/controllers/repository.py", line 810, in sync
Aug 09 13:16:32 dev pulp[19015]: celery.worker.job:ERROR: (19015-86400) raise pulp_exceptions.PulpExecutionException(_('Importer indicated a failed response'))
Aug 09 13:16:32 dev pulp[19015]: celery.worker.job:ERROR: (19015-86400) PulpExecutionException: Importer indicated a failed response