Hide Forgot
We need to ensure that the user doesn't accidentally enter a bad timeout. $ pulp-admin repo sync --id pulp-f14-64 --timeout foo Sync for repository pulp-f14-64 started Use "repo status" to check on the progress
Fixed. $ sudo pulp-admin repo sync --id=mytest1 --timeout=foo -F error: operation failed: PulpException: 'Invalid timeout value: foo, see --help'
Build: 0.158
fails_qa looks like this has changed with the isodate implementation [root@preethi ~]# rpm -q pulp pulp-0.0.200-1.fc14.noarch [root@preethi ~]# [root@preethi ~]# sudo pulp-admin repo sync --id=test --timeout=foo -F Traceback (most recent call last): File "/usr/bin/pulp-admin", line 194, in <module> admin.main() File "/usr/lib/python2.7/site-packages/pulp/client/cli/base.py", line 117, in main command.main(args[1:]) File "/usr/lib/python2.7/site-packages/pulp/client/core/base.py", line 116, in main action.main(args[1:]) File "/usr/lib/python2.7/site-packages/pulp/client/core/base.py", line 204, in main self.run() File "/usr/lib/python2.7/site-packages/pulp/client/core/repo.py", line 854, in run task = self.get_task() File "/usr/lib/python2.7/site-packages/pulp/client/core/repo.py", line 845, in get_task parse_iso8601_duration(timeout) File "/usr/lib/python2.7/site-packages/pulp/common/dateutils.py", line 173, in parse_iso8601_duration return isodate.parse_duration(duration_str) File "/usr/lib/python2.7/site-packages/isodate/isoduration.py", line 99, in parse_duration raise ISO8601Error("Unable to parse duration string %r" % datestring) isodate.isoerror.ISO8601Error: Unable to parse duration string 'foo' [root@preethi ~]#
commit 39de2088dd41e957241182dfb47351bec72eda1a Author: Sayli Karmarkar <skarmark> Date: Sun Oct 16 23:24:47 2011 -0700 669422 - Fixed repo sync not validating timeout input after recent isodate changes. Also added validation for repo clone timeout and fixed a typo
build: 0.240
verified [root@preethi ~]# rpm -q pulp pulp-0.0.241-1.fc15.noarch [root@preethi ~]# [root@preethi ~]# pulp-admin repo sync --id=f14 --timeout=foo -F Improperly formatted timeout: foo , see --help [root@preethi ~]# pulp-admin repo clone --id=f14 --clone_id=f14-clone --timeout=foo Improperly formatted timeout: foo , see --help [root@preethi ~]#
Pulp v1.0 is released Closed Current Release.