| Summary: | repo status not returning status of repo that is being cloned | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
| Component: | z_other | Assignee: | Sayli Karmarkar <skarmark> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | cperry, sghai, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 24 | ||
| 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:12:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Preethi Thomas
2011-05-27 13:41:21 UTC
This is fixed:
$ sudo pulp-admin repo status --id=cars
+------------------------------------------+
Status for cars
+------------------------------------------+
Repository: cars
Number of Packages: 11
Last Sync: 2011-06-10 15:47:28-07:00
To verify this defect with build pulp 0.190, I cloned a rhel6 repo. But When I checked the sync progress using sync status, its saying
[root@dhcp201-133 ~]# pulp-admin -u admin -p admin repo clone --id rhel61 --clone_id test_clone_61
Repository [rhel61] is being cloned as [test_clone_61]
Use "repo status" to check on the progress
[root@dhcp201-133 ~]# pulp-admin -u admin -p admin repo status --id test_clone_61
+------------------------------------------+
Status for test_clone_61
+------------------------------------------+
Repository: test_clone_61
Number of Packages: 0
Last Sync: never
I tried the sync status couple of times and after around 4-5 minutes. The status was remain same. Finally when sync get finished, I got the exact status:
[root@dhcp201-133 ~]# pulp-admin -u admin -p admin repo status --id test_clone_61
+------------------------------------------+
Status for test_clone_61
+------------------------------------------+
Repository: test_clone_61
Number of Packages: 3391
Last Sync: 2011-06-14 18:11:10+05:30
I'm not sure the expected behaviour, however status should show the runtime progress, because "clone repo" throwing this message
>>Use "repo status" to check on the progress
Any comments ?
verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.226-1.fc14.noarch
[root@preethi ~]# pulp-admin -u admin -p admin repo status --id=f14_clone
+------------------------------------------+
Status for f14_clone
+------------------------------------------+
Repository: f14_clone
Number of Packages: 0
Last Sync: never
Currently cloning: 5% done (159 of 2773 packages cloned)
[root@preethi ~]# pulp-admin -u admin -p admin repo status --id=f14_clone
+------------------------------------------+
Status for f14_clone
+------------------------------------------+
Repository: f14_clone
Number of Packages: 0
Last Sync: never
Currently cloning: 100% done (2773 of 2773 packages cloned)
[root@preethi ~]#
Pulp v1.0 is released Closed Current Release. |