Project

Profile

Help

Issue #1705

Pulp streamer throws exception when downloading content

Added by dkliban@redhat.com almost 5 years ago. Updated almost 2 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

Associated revisions

Revision 2f000107 View on GitHub
Added by ipanova@redhat.com almost 5 years ago

1705 - Pulp streamer throws exception when downloading content.

Make 'working_dir' configurable.

closes #1705 https://pulp.plan.io/issues/1705

Revision 2f000107 View on GitHub
Added by ipanova@redhat.com almost 5 years ago

1705 - Pulp streamer throws exception when downloading content.

Make 'working_dir' configurable.

closes #1705 https://pulp.plan.io/issues/1705

Revision f5adbb84 View on GitHub
Added by bmbouter almost 5 years ago

Streamer code explicitly sets /tmp as the temp folder

re #1705 https://pulp.plan.io/issues/1705

Revision f5adbb84 View on GitHub
Added by bmbouter almost 5 years ago

Streamer code explicitly sets /tmp as the temp folder

re #1705 https://pulp.plan.io/issues/1705

History

#1 Updated by mhrivnak almost 5 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

#2 Updated by ipanova@redhat.com almost 5 years ago

  • Priority changed from High to Normal
  • Severity changed from 3. High to 2. Medium
  • Triaged changed from Yes to No

#3 Updated by ipanova@redhat.com almost 5 years ago

  • Priority changed from Normal to High
  • Severity changed from 2. Medium to 3. High
  • Triaged changed from No to Yes

#4 Updated by bmbouter almost 5 years ago

Opening a PR built off of Ina's work: https://github.com/pulp/pulp/pull/2442

#5 Updated by bmbouter almost 5 years ago

  • Status changed from ASSIGNED to POST

#6 Updated by ipanova@redhat.com almost 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#7 Updated by dkliban@redhat.com almost 5 years ago

  • Status changed from MODIFIED to 5

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

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#9 Updated by bmbouter almost 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF