Project

Profile

Help

Story #191

[RFE] The ISOImporter should not download ISOs that are already downloaded in other repos

Added by rbarlow almost 7 years ago. Updated almost 3 years ago.

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

0%

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

Description

++ This bug was initially created as a clone of Bugzilla Bug #965769 ++

Description of problem:

The ISOImporter does not check to see if ISOs are already downloaded in other repos, but only if they are already downloaded in the currently syncing repo.

We should check if the needed ISOs are in other repos, and import them instead of downloading them.

--- Additional comment from at 11/25/2014 20:17:36 ---

https://github.com/pulp/pulp_rpm/pull/601

--- Additional comment from at 11/25/2014 20:18:31 ---

Also see https://bugzilla.redhat.com/show_bug.cgi?id=972880

--- Additional comment from at 12/23/2014 20:52:37 ---

fixed in pulp 2.6.0-0.2.beta

--- Additional comment from at 01/29/2015 14:44:40 ---

verified
[root@cloud-qe-4 ~]# rpm -qa pulp-server
pulp-server-2.6.0-0.5.beta.el7.noarch
[root@cloud-qe-4 ~]#

[root@cloud-qe-4 ~]# pulp-admin iso repo create --repo-id iso --feed https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_file_repo/
Successfully created repository [iso]

[root@cloud-qe-4 ~]#
[root@cloud-qe-4 ~]#
[root@cloud-qe-4 ~]#
[root@cloud-qe-4 ~]# pulp-admin iso repo sync run --repo-id iso
--------------------------------------------------------------------
Synchronizing Repository [iso]
--------------------------------------------------------------------

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

Downloading the Pulp Manifest...
The Pulp Manifest was downloaded successfully.

Downloading 3 ISOs...
[==================================================] 100%
ISOs: 3/3 Data: 10.2 MB/10.2 MB Avg: 3.4 MB/s

Successfully downloaded 3 ISOs.

Task Succeeded

The repository was successfully published.

Task Succeeded

[root@cloud-qe-4 ~]# pulp-admin iso repo create --repo-id iso-2 --feed https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_file_repo/
Successfully created repository [iso-2]

[root@cloud-qe-4 ~]# pulp-admin iso repo sync run --repo-id iso-2+----------------------------------------------------------------------+
Synchronizing Repository [iso-2]
--------------------------------------------------------------------

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

Downloading the Pulp Manifest...
The Pulp Manifest was downloaded successfully.

There are no ISOs that need to be downloaded.

Task Succeeded

The repository was successfully published.

Task Succeeded

History

#1 Updated by rbarlow almost 7 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#3 Updated by bmbouter almost 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF