Bug 668087
| Summary: | Repo sync --timeout help doesn't indicate the units | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Jay Dobies <jason.dobies> |
| Component: | z_other | Assignee: | Sayli Karmarkar <skarmark> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | cperry, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 22 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 13:59:24 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 | ||
|
Description
Jay Dobies
2011-01-07 20:46:17 UTC
Fixed bug and api docs.
$ sudo pulp-admin repo sync --help
Usage: pulp-admin <options> repo sync <options>
Options:
-h, --help show this help message and exit
--id=ID repository id (required)
--timeout=TIMEOUT sync timeout in <units>:<value> format (e.g. hours:2
valid units: seconds, minutes, hours, days, weeks
--no-packages skip packages from the sync process
--no-errata skip errata from the sync process
--no-distribution skip distributions from the sync process
-F, --foreground synchronize repository in the foreground
$ sudo pulp-admin repo sync --id=mytest1 --timeout=seconds:5 -F
Sync for repository mytest1 started
Sync: Timed Out
Item Details:
in pulp.log:
2011-03-22 21:45:01,209 [INFO][Dummy-5] sync() @ repositories.py:543 - sync timeout passed : 0:00:05
Build: 0.158 verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.173-1.fc14.noarch
[root@preethi ~]# pulp-admin repo sync --help
Usage: pulp-admin <options> repo sync <options>
Options:
-h, --help show this help message and exit
--id=ID repository id (required)
--timeout=TIMEOUT sync timeout in <units>:<value> format (e.g. hours:2
valid units: seconds, minutes, hours, days, weeks
--no-packages skip packages from the sync process
--no-errata skip errata from the sync process
--no-distribution skip distributions from the sync process
-F, --foreground synchronize repository in the foreground
--limit=LIMIT limit download bandwidth per thread to value in KB/sec
--threads=THREADS number of threads to use for downloading content
Closing with Community Release 15 pulp-0.0.223-4. |