Project

Profile

Help

Story #764

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

Added by dgregor@redhat.com over 5 years ago. Updated over 1 year 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.


Checklist


Related issues

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

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by RPM Support - Refactor #874: Convert pulp_rpm to use MongoEngine ModelsCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by RPM Support - Story #1769: As a user, I would like to be able to sync distribution treesCLOSED - WONTFIX

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by bmbouter over 5 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

#2 Updated by mhrivnak over 5 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?

#3 Updated by dgregor@redhat.com over 5 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.

#4 Updated by dgregor@redhat.com over 5 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.

#5 Updated by mhrivnak over 5 years ago

  • Sprint Candidate changed from No to Yes

#6 Updated by mhrivnak over 5 years ago

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

#7 Updated by mhrivnak over 5 years ago

  • Checklist item changed from to [ ] kickstart tree can be uploaded as a tarball, [ ] consider both the "treeinfo" file and "pulp_manifest.xml", [ ] add pulp-admin support if reasonable, [ ] documentation, [ ] release note
  • Description updated (diff)
  • Groomed changed from No to Yes

#8 Updated by mhrivnak over 5 years ago

  • Priority changed from Normal to High

#9 Updated by ipanova@redhat.com over 5 years ago

  • Checklist item changed from [ ] kickstart tree can be uploaded as a tarball to [x] kickstart tree can be uploaded as a tarball

#10 Updated by ipanova@redhat.com over 5 years ago

  • Checklist item changed from [x] kickstart tree can be uploaded as a tarball to [ ] kickstart tree can be uploaded as a tarball

#11 Updated by jcline@redhat.com over 4 years ago

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

#12 Updated by bmbouter over 4 years ago

  • Parent task set to #1683

#13 Updated by bmbouter over 4 years ago

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

#14 Updated by mhrivnak over 4 years ago

  • Sprint Candidate changed from Yes to No

#15 Updated by bmbouter over 3 years ago

  • Tags RCM added

#16 Updated by bmbouter over 1 year ago

  • Status changed from NEW to CLOSED - WONTFIX

#17 Updated by bmbouter over 1 year 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.

#18 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

#19 Updated by bmbouter over 1 year ago

  • Tags deleted (RCM)

Please register to edit this issue

Also available in: Atom PDF