Project

Profile

Help

Issue #1705

closed

Pulp streamer throws exception when downloading content

Added by dkliban@redhat.com about 8 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Sprint/Milestone:
-
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

Also available in: Atom PDF