Description of problem: see below that clone accepts year & month values while sync doesn't. [root@preethi ~]# pulp-admin -u admin -p admin repo clone --id=f15 --clone_id=f15-clone --feed=none --timeout=P2Y3M4DT5H6M -F Repository [f15] is being cloned as [f15-clone] Clone: Finished Item Details: Tree_Files: 5/5 Rpms: 2935/2935 [root@preethi ~]# pulp-admin -u admin -p admin repo sync --id=f15 --timeout=P2Y3M4DT5H6M -F error: operation failed: Timeouts specifying months or years are not supported P2Y3M4DT5H6M [root@preethi ~]# pulp-admin -u admin -p admin repo sync --id=f15 --timeout=P2DT5H6M -F Sync for repository f15 started Sync: Finished 1/2941 new items downloaded 2940/2941 existing items processed Item Details: Tree_Files: 6/6 Rpms: 2935/2935 Version-Release number of selected component (if applicable): [root@katello-test ~]# rpm -q pulp pulp-0.0.232-1.el6.noarch Additional info:
added same check in clone as we have for sync, but will now error out if a month or year is specified in the timeout
build: 0.238
[root@preethi ~]# rpm -q pulp pulp-0.0.238-1.fc15.noarch [root@preethi ~]# pulp-admin -u admin -p admin repo clone --id=f14 --clone_id=f14-clone --feed=none --timeout=P2Y3M4DT5H6M -F Timeout may not contain months or years [root@preethi ~]# [root@preethi ~]# pulp-admin -u admin -p admin repo clone --id=f14 --clone_id=f14-clone --feed=none --timeout=P2M4DT5H6M -F Timeout may not contain months or years [root@preethi ~]# pulp-admin -u admin -p admin repo clone --id=f14 --clone_id=f14-clone --feed=none --timeout=P2Y4DT5H6M -F Timeout may not contain months or years [root@preethi ~]# root@preethi ~]# pulp-admin -u admin -p admin repo clone --id=f14 --clone_id=f14-clone --feed=none --timeout=P2DT5H6M -F Repository [f14] is being cloned as [f14-clone] Clone: Finished Item Details: Tree_File: 6/6 Rpm: 2766/2766
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.