Story #764
closedAs a user, I can use the Pulp API to upload distribution content units
Added by dgregor@redhat.com over 9 years ago. Updated over 5 years ago.
0%
Description
I would like to be able to upload a kickstart tree into pulp. Please add the necessary support to enable this.
Related issues
Updated by bmbouter over 9 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
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?
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.
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.
Updated by mhrivnak over 9 years ago
- Blocked by Refactor #874: Convert pulp_rpm to use MongoEngine Models added
Updated by mhrivnak over 9 years ago
- Description updated (diff)
- Groomed changed from No to Yes
Updated by jcline@redhat.com over 8 years ago
- Blocked by Story #1769: As a user, I would like to be able to sync distribution trees added
Updated by bmbouter over 8 years ago
- Has duplicate Story #1807: As a user, I can use pulp-admin to upload a distribution added
Updated by bmbouter over 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
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.