| Summary: | Not able to clone repos that has schedules in them. | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | user-experience | Assignee: | Sayli Karmarkar <skarmark> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | cperry, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 28 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-24 20:10:41 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
commit acbfcaaf788ff5ccf3b7edc81f337e845910504e
Author: Sayli Karmarkar <skarmark>
Date: Tue Sep 13 22:50:42 2011 -0700
733508 - replaced old logic with new one to detect if sync for parent repo is in progress before starting repo clone
build: 0.231 verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.232-1.fc15.noarch
[root@katello-test ~]# pulp-admin repo list
+------------------------------------------+
List of Available Repositories
+------------------------------------------+
Id upload
Name upload
Feed URL None
Feed Type None
Content Type yum
Feed Certs CA:No Cert:No
Consumer Certs CA:No Cert:No
Architecture noarch
Sync Schedule None
Packages 0
Files 0
Distributions None
Publish True
Clones []
Groups None
Filters []
Notes {}
Id f15
Name f15
Feed URL http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-15/x86_64/
Feed Type remote
Content Type yum
Feed Certs CA:No Cert:No
Consumer Certs CA:No Cert:No
Architecture noarch
Sync Schedule 2011-01-19T09:30:00-04:00/PT1H
Packages 18
Files 0
Distributions None
Publish True
Clones []
Groups None
Filters []
Notes {}
[root@katello-test ~]# pulp-admin repo clone --id=f15 --clone_id=f15-clone -F
Repository [f15] is being cloned as [f15-clone]
Clone: Finished
Item Details:
Rpms: 18/18
[root@katello-test ~]# pulp-admin repo clone --id=f15 --clone_id=f15-clone2 --feed=origin -F
Repository [f15] is being cloned as [f15-clone2]
Clone: Finished
Item Details:
Rpms: 18/18
Pulp v1.0 is released Closed Current Release. |
Description of problem: If the repo that you are trying to clone has a sync schedule set, clone just waits saying sync for parent repository already in progress. [root@pulp-f15 ~]# pulp-admin repo clone --id=pulp-f14 --clone_id=pulp-f14-clone -F Sync for parent repository pulp-f14 already in progress Waiting - ^C [root@pulp-f15 ~]# pulp-admin repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Id pulp-f14 Name pulp-f14 Feed URL http://repos.fedorapeople.org/repos/pulp/pulp/fedora-14/x86_64/ Feed Type remote Content Type yum Feed Certs CA:No Cert:No Consumer Certs CA:No Cert:No Architecture noarch Sync Schedule P1DT1H5M Packages 15 Files 0 Distributions None Publish True Clones [] Groups None Filters [] Notes {}