Story #304
closed
Directly import an exported ISO
Status:
CLOSED - CURRENTRELEASE
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.
- Tracker changed from Issue to Story
- Subject changed from [RFE] Directly import an exported ISO to Directly import an exported ISO
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?
- Tags Sprint Candidate added
- Sprint Candidate set to Yes
- Tags deleted (
Sprint Candidate)
- Groomed changed from No to Yes
The team is accepting this as groomed as described in comment 2
- Priority changed from Normal to High
- Status changed from NEW to ASSIGNED
- Assignee set to mhrivnak
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.
- Status changed from ASSIGNED to POST
- % Done changed from 0 to 90
- Sprint/Milestone set to 16
- Platform Release set to 2.7.0
- Status changed from POST to MODIFIED
- % Done changed from 90 to 100
- Status changed from MODIFIED to 5
- 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
- Status changed from 6 to CLOSED - CURRENTRELEASE
- Sprint/Milestone deleted (
16)
Also available in: Atom
PDF