Project

Profile

Help

Story #304

closed

Directly import an exported ISO

Added by dgregor@redhat.com over 7 years ago. Updated over 3 years ago.

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

100%

Estimated time:
Platform Release:
2.7.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
May 2015
Quarter:

Description

I would like to be able to take an ISO generated from an export of an rpm repo (or repo group) and have it imported into an iso repo. Currently, I need to download the ISOs from the pulp server and then import them into the iso repo. This should be done completely on the server side.

Actions #1

Updated by ipanova@redhat.com over 7 years ago

  • Tracker changed from Issue to Story
  • Subject changed from [RFE] Directly import an exported ISO to Directly import an exported ISO
Actions #2

Updated by mhrivnak over 7 years ago

This will be difficult without major changes to pulp. The good news is that we want to make many of those changes, but the bad news is that it will take time.

How about this as a middle-ground: if the yum export created a PULP_MANIFEST file, the iso importer could do a sync right from the same pulp server. That would be very convenient to script up, and it would be an easy change for you to backport into your 2.5 fork. Would that work for your use case?

Actions #3

Updated by mhrivnak over 7 years ago

  • Tags Sprint Candidate added
Actions #4

Updated by bmbouter over 7 years ago

  • Sprint Candidate set to Yes
  • Tags deleted (Sprint Candidate)
Actions #5

Updated by bmbouter over 7 years ago

  • Groomed set to No
Actions #6

Updated by mhrivnak over 7 years ago

  • Groomed changed from No to Yes

The team is accepting this as groomed as described in comment 2

Actions #7

Updated by mhrivnak over 7 years ago

  • Priority changed from Normal to High
Actions #8

Updated by mhrivnak over 7 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to mhrivnak
Actions #9

Updated by acarter@redhat.com over 7 years ago

Just wanted to confirm that the middle ground solution proposed above would be workable for RCM to unblock our Satellite ISO work. That would need to be available on the version of Pulp running in prod.

Actions #10

Updated by mhrivnak over 7 years ago

  • Status changed from ASSIGNED to POST
  • % Done changed from 0 to 90
Actions #11

Updated by mhrivnak over 7 years ago

  • Sprint/Milestone set to 16
  • Platform Release set to 2.7.0
Actions #12

Updated by mhrivnak over 7 years ago

  • Status changed from POST to MODIFIED
Actions #13

Updated by mhrivnak over 7 years ago

  • % Done changed from 90 to 100
Actions #14

Updated by dkliban@redhat.com over 7 years ago

  • Status changed from MODIFIED to 5
Actions #17

Updated by ipanova@redhat.com about 7 years ago

  • Status changed from 5 to 6

Tested in 2.7.0-0.3.beta

1) export rpm repo into iso with manifest option
2) create iso repo and sync from directory iso was exported

Sync and autopublish succeded

# pulp-admin -u admin -p admin iso repo sync run --repo-id test-ccc
+----------------------------------------------------------------------+
                  Synchronizing Repository [test-ccc]
+----------------------------------------------------------------------+

This command may be exited via ctrl+c without affecting the request.

The Pulp Manifest was downloaded successfully.

Downloading 1 ISOs...
[==================================================] 100%
ISOs: 1/1    Data: 440.0 kB/440.0 kB    Avg: 440.0 kB/s

Successfully downloaded 1 ISOs.

Task Succeeded

The repository was successfully published.

Task Succeeded
Actions #18

Updated by rbarlow over 6 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #20

Updated by bmbouter over 4 years ago

  • Sprint set to May 2015
Actions #21

Updated by bmbouter over 4 years ago

  • Sprint/Milestone deleted (16)
Actions #22

Updated by bmbouter over 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF