Bug 672573
| Summary: | repo status produces a zero division error | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | dgao |
| Component: | z_other | Assignee: | Jason Connor <jconnor> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | mmccune |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 12:07:26 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 647488 | ||
Fixed in 0.132. [root@preethi ~]# rpm -q pulp
pulp-0.0.134-1.fc14.noarch
[root@preethi ~]# pulp-admin repo status --id=f14-update
+------------------------------------------+
Status for f14-update
+------------------------------------------+
Repository: f14-update
Number of Packages: 5932
Last Sync: 2011-02-03 18:51:57
Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |
201101251012:35.023 - FINE: ssh root.redhat.com pulp-admin repo status --id=auto_relative_test_repo (com.redhat.qe.tools.SSHCommandRunner.run) 201101251012:35.517 - FINE: Stdout: +------------------------------------------+ Status for auto_relative_test_repo +------------------------------------------+ Repository: auto_relative_test_repo Number of Packages: 0 Last Sync: never Currently syncing: (com.redhat.qe.tools.SSHCommandRunner.runCommandAndWait) 201101251012:35.519 - FINE: Stderr: Traceback (most recent call last): File "/usr/bin/pulp-admin", line 147, in <module> admin.main() File "/usr/lib/python2.6/site-packages/pulp/client/cli/base.py", line 98, in main command.main(args[1:]) File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 118, in main action.main(args[1:]) File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 229, in main self.run() File "/usr/lib/python2.6/site-packages/pulp/client/core/repo.py", line 287, in run percent = (bytes_total - bytes_left) / bytes_total ZeroDivisionError: float division