Actions
Issue #1705
closedPulp streamer throws exception when downloading content
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
When I execute
pulp-admin repo download --repo-id zoo
I see the following in the streamer logs.
: [-] Starting factory <twisted.web.server.Site instance at 0x3e98f38>
pulp.streamer.server:ERROR: (6231-51296) An unexpected error occurred while handling the request.
pulp.streamer.server:ERROR: (6231-51296) Traceback (most recent call last):
pulp.streamer.server:ERROR: (6231-51296) File "/usr/lib/python2.7/site-packages/pulp/streamer/server.py", line 184
pulp.streamer.server:ERROR: (6231-51296) self._download(catalog_entry, request, responder)
pulp.streamer.server:ERROR: (6231-51296) File "/usr/lib/python2.7/site-packages/pulp/streamer/server.py", line 214
pulp.streamer.server:ERROR: (6231-51296) **catalog_entry.data)
pulp.streamer.server:ERROR: (6231-51296) File "/usr/lib/python2.7/site-packages/pulp/plugins/importer.py", line 35
pulp.streamer.server:ERROR: (6231-51296) nectar_config = importer_config_to_nectar_config(config.flatten())
pulp.streamer.server:ERROR: (6231-51296) File "/usr/lib/python2.7/site-packages/pulp/plugins/util/nectar_config.py
pulp.streamer.server:ERROR: (6231-51296) download_config_kwargs = {'working_dir': common_utils.get_working_direc
pulp.streamer.server:ERROR: (6231-51296) File "/usr/lib/python2.7/site-packages/pulp/server/managers/repo/_common.
pulp.streamer.server:ERROR: (6231-51296) raise RuntimeError("Working Directory requested outside of asynchronous
pulp.streamer.server:ERROR: (6231-51296) RuntimeError: Working Directory requested outside of asynchronous task.
[-] 127.0.0.1 - - [19/Feb/2016:17:02:48 +0000] "GET /var/lib/pulp/content/units/rpm/76/78177c241777af22235092f21c393
Initial suspicion is that this related to this commit[0] in nectar.
[0] https://github.com/pulp/nectar/commit/78334d22c941f96191430ab2ca5dbcb7cb5aa351
Updated by mhrivnak almost 9 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
- Priority changed from Normal to High
- Severity changed from 2. Medium to 3. High
- Triaged changed from No to Yes
Added by ipanova@redhat.com almost 9 years ago
Added by ipanova@redhat.com almost 9 years ago
Revision 2f000107 | View on GitHub
1705 - Pulp streamer throws exception when downloading content.
Make 'working_dir' configurable.
Updated by ipanova@redhat.com almost 9 years ago
- Priority changed from High to Normal
- Severity changed from 3. High to 2. Medium
- Triaged changed from Yes to No
Updated by ipanova@redhat.com almost 9 years ago
- Priority changed from Normal to High
- Severity changed from 2. Medium to 3. High
- Triaged changed from No to Yes
Updated by bmbouter almost 9 years ago
Opening a PR built off of Ina's work: https://github.com/pulp/pulp/pull/2442
Added by bmbouter almost 9 years ago
Revision f5adbb84 | View on GitHub
Streamer code explicitly sets /tmp as the temp folder
Added by bmbouter almost 9 years ago
Revision f5adbb84 | View on GitHub
Streamer code explicitly sets /tmp as the temp folder
Updated by ipanova@redhat.com almost 9 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp:pulp|2f000107d81c278ed694b49cd923aad5bf79b96d.
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from MODIFIED to 5
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Actions
1705 - Pulp streamer throws exception when downloading content.
Make 'working_dir' configurable.
closes #1705 https://pulp.plan.io/issues/1705