Bug 668087 - Repo sync --timeout help doesn't indicate the units
Summary: Repo sync --timeout help doesn't indicate the units
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: Sprint 22
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-01-07 20:46 UTC by Jay Dobies
Modified: 2015-03-23 01:10 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 13:59:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Jay Dobies 2011-01-07 20:46:17 UTC
From `pulp-admin repo sync --help`:

  --timeout=TIMEOUT  synchronization timeout

The help doesn't indicate the units TIMEOUT is in.

Comment 1 Sayli Karmarkar 2011-03-23 04:51:36 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

Comment 2 Jeff Ortel 2011-03-29 17:32:38 UTC
Build: 0.158

Comment 3 Preethi Thomas 2011-05-05 18:58:53 UTC
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

Comment 4 Preethi Thomas 2011-08-16 13:59:24 UTC
Closing with Community Release 15

pulp-0.0.223-4.


Note You need to log in before you can comment on or make changes to this bug.