Project

Profile

Help

Issue #1705

closed

Pulp streamer throws exception when downloading content

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

Actions #1

Updated by mhrivnak almost 7 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 7 years ago

Revision 2f000107

1705 - Pulp streamer throws exception when downloading content.

Make 'working_dir' configurable.

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

Added by ipanova@redhat.com almost 7 years ago

Revision 2f000107

1705 - Pulp streamer throws exception when downloading content.

Make 'working_dir' configurable.

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

Actions #2

Updated by ipanova@redhat.com almost 7 years ago

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

Updated by ipanova@redhat.com almost 7 years ago

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

Updated by bmbouter almost 7 years ago

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

Actions #5

Updated by bmbouter almost 7 years ago

  • Status changed from ASSIGNED to POST

Added by bmbouter almost 7 years ago

Revision f5adbb84

Streamer code explicitly sets /tmp as the temp folder

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

Added by bmbouter almost 7 years ago

Revision f5adbb84

Streamer code explicitly sets /tmp as the temp folder

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

Actions #6

Updated by ipanova@redhat.com almost 7 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #7

Updated by dkliban@redhat.com almost 7 years ago

  • Status changed from MODIFIED to 5
Actions #8

Updated by dkliban@redhat.com over 6 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #9

Updated by bmbouter over 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF