Project

Profile

Help

Task #3698

closed

Story #3693: Lazy for Pulp3

Make the streamer download using a configured downloader, configured by the correct remote.

Added by dkliban@redhat.com over 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 46
Quarter:

Description

The inbound request is mapped to a RemoteArtifact just like the Content app does. After that it gets the url and remote from there. It then can:

  • forward headers first, then stream data
  • Header injection requirements from squid (see old streamer)
  • asyncio not twisted

Related issues

Blocks Pulp - Task #3699: Make the streamer create an Artifact and update ContentArtifact with the foreign keyCLOSED - CURRENTRELEASEbmbouter

Actions
Actions #1

Updated by bmbouter over 6 years ago

  • Description updated (diff)
Actions #2

Updated by dkliban@redhat.com over 6 years ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
Actions #3

Updated by dkliban@redhat.com over 6 years ago

  • Sprint set to Sprint 41
Actions #4

Updated by dkliban@redhat.com over 6 years ago

  • Related to Task #3699: Make the streamer create an Artifact and update ContentArtifact with the foreign key added
Actions #5

Updated by dkliban@redhat.com over 6 years ago

  • Related to deleted (Task #3699: Make the streamer create an Artifact and update ContentArtifact with the foreign key)
Actions #6

Updated by dkliban@redhat.com over 6 years ago

  • Blocks Task #3699: Make the streamer create an Artifact and update ContentArtifact with the foreign key added
Actions #7

Updated by CodeHeeler over 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to CodeHeeler
Actions #8

Updated by rchan over 6 years ago

  • Sprint changed from Sprint 41 to Sprint 42
Actions #9

Updated by rchan about 6 years ago

  • Sprint changed from Sprint 42 to Sprint 43
Actions #10

Updated by rchan about 6 years ago

  • Sprint changed from Sprint 43 to Sprint 44
Actions #11

Updated by CodeHeeler about 6 years ago

  • Assignee changed from CodeHeeler to bmbouter
Actions #12

Updated by rchan about 6 years ago

  • Sprint changed from Sprint 44 to Sprint 45
Actions #13

Updated by bmbouter about 6 years ago

  • Status changed from ASSIGNED to POST

The github.com/bmbouter/pulp_streamer/ master branch currently does this so I'm moving to POST.

We can move to MODIFIED once the repo is moved to the Pulp organization pending a bigger review/test.

Actions #14

Updated by rchan about 6 years ago

  • Sprint changed from Sprint 45 to Sprint 46

Added by bmbouter almost 6 years ago

Revision 8219efd5 | View on GitHub

Adds the content app to pulpcore.content

The Settings can be a lot simpler now that the architecture no longer required redirection. It does need to account for the content being served on a different HOST. This PR handles that.

Since the settings are now single values, they are much easier to override using Dynaconf, which is great.

The content app can be removed now that the streamer code is handling it all.

This PR is a prototype and has no docs. Use Pulp as normal , but run the streamer from github.com/bmbouter/pulp_streamer/ and run the streamer with:

gunicorn pulpcore.streamer:server --bind localhost:8080 --worker-class aiohttp.GunicornWebWorker -w 2

This PR needs pulp-smash changes from pulp_file so it requires the PR below:

Required PR: https://github.com/pulp/pulp_file/pull/140

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

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

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

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

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

Added by bmbouter almost 6 years ago

Revision 8219efd5 | View on GitHub

Adds the content app to pulpcore.content

The Settings can be a lot simpler now that the architecture no longer required redirection. It does need to account for the content being served on a different HOST. This PR handles that.

Since the settings are now single values, they are much easier to override using Dynaconf, which is great.

The content app can be removed now that the streamer code is handling it all.

This PR is a prototype and has no docs. Use Pulp as normal , but run the streamer from github.com/bmbouter/pulp_streamer/ and run the streamer with:

gunicorn pulpcore.streamer:server --bind localhost:8080 --worker-class aiohttp.GunicornWebWorker -w 2

This PR needs pulp-smash changes from pulp_file so it requires the PR below:

Required PR: https://github.com/pulp/pulp_file/pull/140

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

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

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

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

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

Actions #16

Updated by bmbouter almost 6 years ago

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

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #18

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #19

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF