Bug 709488 - AttributeError when using timeout value in repo sync
Summary: AttributeError when using timeout value in repo sync
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Sprint 25
Assignee: James Slagle
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: pulp-verified
TreeView+ depends on / blocked
 
Reported: 2011-05-31 19:46 UTC by Preethi Thomas
Modified: 2011-08-16 14:01 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 14:01:04 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2011-05-31 19:46:22 UTC
Description of problem:

AttributeError when using timeout value in repo sync

[root@preethi ~]# rpm -q pulp
pulp-0.0.181-1.fc14.noarch


[root@preethi ~]# pulp-admin repo sync --id=f15 --timeout=minutes:10 -F
error: operation failed: AttributeError: 'datetime.timedelta' object has no attribute 'schedule'
[root@preethi ~]# 
[root@preethi ~]# 
[root@preethi ~]# pulp-admin repo sync --id=f15 --timeout=hours:1 -F
error: operation failed: AttributeError: 'datetime.timedelta' object has no attribute 'schedule'

Comment 1 James Slagle 2011-06-20 21:36:46 UTC
committed in 9d2a41366811608d9e3564060a5ef11751668350

There was an arg/keyword arg mismatch in a function call.  Also, i fixed the command help to show the correct example format for a timeout value.

Comment 2 Jeff Ortel 2011-06-22 21:12:20 UTC
build: 0.196

Comment 3 Preethi Thomas 2011-08-09 21:56:32 UTC
verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.223-1.fc14.noarch

[root@preethi ~]# pulp-admin repo sync --id=f14  --timeout=P2Y3M4DT5H6M
Sync for repository f14 started
Use "repo status" to check on the progress
[root@preethi ~]#

Comment 4 Preethi Thomas 2011-08-16 14:01:04 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.