Actions
Issue #1689
closedNectar fails to handle a full device gracefully.
Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Nectar:
master
Platform Release:
Target Release - Nectar:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
Syncing a large repository (or many large repositories) until the disk fills up earns you thousands upon thousands of tracebacks (see below). Given that disk space is unlikely to magically appear in between downloads, this is probably not the correct behaviour (although maybe not all queued downloads have destinations on the full disk).
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: requests.packages.urllib3.connectionpool:INFO: Starting new HTTP connection (1212): cdn.rcm-internal.redhat.com
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-36736) [Errno 28] No space left on device: u'/var/cache/pulp/reserved_resource_worker-1@upstream-pulp-server.os1.phx2.redhat.com/7beb56b5-9a86-4fcd-8d29-d8982abf38bf/tmpaW8Kem/libmspack-0.5-0.4.alpha.el7.x86_64.rpm'
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-36736) Traceback (most recent call last):
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-36736) File "/usr/lib/python2.7/site-packages/nectar/downloaders/threaded.py", line 248, in _fetch
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-36736) file_handle = request.initialize_file_handle()
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-36736) File "/usr/lib/python2.7/site-packages/nectar/request.py", line 46, in initialize_file_handle
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-36736) self._file_handle = open(self.destination, 'wb') # cache the handle
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-36736) IOError: [Errno 28] No space left on device: u'/var/cache/pulp/reserved_resource_worker-1@upstream-pulp-server.os1.phx2.redhat.com/7beb56b5-9a86-4fcd-8d29-d8982abf38bf/tmpaW8Kem/libmspack-0.5-0.4.alpha.el7.x86_64.rpm'
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-65952) [Errno 28] No space left on device
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-65952) Traceback (most recent call last):
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-65952) File "/usr/lib/python2.7/site-packages/nectar/downloaders/threaded.py", line 262, in _fetch
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-65952) file_handle.write(chunk)
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-65952) IOError: [Errno 28] No space left on device
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-83776) [Errno 28] No space left on device
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-83776) Traceback (most recent call last):
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-83776) File "/usr/lib/python2.7/site-packages/nectar/downloaders/threaded.py", line 262, in _fetch
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-83776) file_handle.write(chunk)
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-83776) IOError: [Errno 28] No space left on device
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-44032) [Errno 28] No space left on device
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-44032) Traceback (most recent call last):
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-44032) File "/usr/lib/python2.7/site-packages/nectar/downloaders/threaded.py", line 262, in _fetch
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-44032) file_handle.write(chunk)
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: nectar.downloaders.threaded:ERROR: (29364-44032) IOError: [Errno 28] No space left on device
Feb 18 14:09:33 upstream-pulp-server.os1.phx2.redhat.com pulp[29364]: requests.packages.urllib3.connectionpool:INFO: Starting new HTTP connection (1213): cdn.rcm-internal.redhat.com
Actions