Project

Profile

Help

Story #764

closed

As a user, I can use the Pulp API to upload distribution content units

Added by dgregor@redhat.com almost 10 years ago. Updated over 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
High
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

I would like to be able to upload a kickstart tree into pulp. Please add the necessary support to enable this.


Related issues

Has duplicate RPM Support - Story #1807: As a user, I can use pulp-admin to upload a distributionCLOSED - DUPLICATE

Actions
Blocked by RPM Support - Refactor #874: Convert pulp_rpm to use MongoEngine ModelsCLOSED - CURRENTRELEASEbmbouter

Actions
Blocked by RPM Support - Story #1769: As a user, I would like to be able to sync distribution treesCLOSED - WONTFIX

Actions
Actions #1

Updated by bmbouter almost 10 years ago

  • Tracker changed from Issue to Story
  • Subject changed from RFE: apis for uploading distribution content units to As a user, I can use the Pulp API to upload distribution content units
Actions #2

Updated by mhrivnak over 9 years ago

  • Groomed set to No
  • Sprint Candidate set to No

Would this be the treeinfo file and everything it references?

Assuming that's true, you could make this work now with a local sync, either from a local filesystem, or a locally-accessible http server. I don't think you'd even need the repodata dir or any XML metadata. Just the treeinfo file and the stuff it references.

As you know, our current upload implementation is not very performant for lots of files, so we would probably need a lot of improvement there to make this practical.

Or do you think it would be reasonable to tar it all up and just upload the tarball? Would that get excessively large?

Actions #3

Updated by dgregor@redhat.com over 9 years ago

mhrivnak wrote:

Would this be the treeinfo file and everything it references?

Assuming that's true, you could make this work now with a local sync, either from a local filesystem, or a locally-accessible http server. I don't think you'd even need the repodata dir or any XML metadata. Just the treeinfo file and the stuff it references.

When Pulp syncs a kickstart repo from cdn.redhat.com, the repodata and all of the RPMs as well, correct? I am pretty sure we would need everything.

As you know, our current upload implementation is not very performant for lots of files, so we would probably need a lot of improvement there to make this practical.

Or do you think it would be reasonable to tar it all up and just upload the tarball? Would that get excessively large?

A tarball could work. It would be roughly the same size as an installation DVD, and we upload those to Pulp regularly.

Actions #4

Updated by dgregor@redhat.com over 9 years ago

Hi Michael. Based on the conversation we had today, here is a suggestion for how this could be implemented. The distribution is uploaded as a single tarball. Pulp untars the file into the working directory. It then does a sync against this local location to pull the content into pulp. Finally it removes the temp repo and "disconnects" the sync source.

Actions #5

Updated by mhrivnak over 9 years ago

  • Sprint Candidate changed from No to Yes
Actions #6

Updated by mhrivnak over 9 years ago

  • Blocked by Refactor #874: Convert pulp_rpm to use MongoEngine Models added
Actions #7

Updated by mhrivnak over 9 years ago

  • Description updated (diff)
  • Groomed changed from No to Yes
Actions #8

Updated by mhrivnak over 9 years ago

  • Priority changed from Normal to High
Actions #11

Updated by jcline@redhat.com almost 9 years ago

  • Blocked by Story #1769: As a user, I would like to be able to sync distribution trees added
Actions #12

Updated by bmbouter over 8 years ago

  • Parent issue set to #1683
Actions #13

Updated by bmbouter over 8 years ago

  • Has duplicate Story #1807: As a user, I can use pulp-admin to upload a distribution added
Actions #14

Updated by mhrivnak over 8 years ago

  • Sprint Candidate changed from Yes to No
Actions #15

Updated by bmbouter over 7 years ago

  • Tags RCM added
Actions #16

Updated by bmbouter over 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #17

Updated by bmbouter over 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #18

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added
Actions #19

Updated by bmbouter over 5 years ago

  • Tags deleted (RCM)

Also available in: Atom PDF