Bug 636688 - error on sync progress reporting
Summary: error on sync progress reporting
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Pradeep Kilambi
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks: pulp-verified verified-to-close
TreeView+ depends on / blocked
 
Reported: 2010-09-22 22:24 UTC by Mike McCune
Modified: 2011-08-16 12:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:10:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Mike McCune 2010-09-22 22:24:32 UTC
# pulp-admin repo sync --foreground --id=test1
Sync for repo test1 started
you can safely CTRL+C this current command and it will continue
[                                                     ] 0%Traceback (most recent call last):
  File "/usr/bin/pulp-admin", line 30, in <module>
    pulpcli.PulpCore().main()
  File "/usr/lib/python2.6/site-packages/pulp/client/pulpcli.py", line 108, in main
    cmd.main()
  File "/usr/lib/python2.6/site-packages/pulp/client/core/basecore.py", line 151, in main
    self._do_core()
  File "/usr/lib/python2.6/site-packages/pulp/client/core/core_repo.py", line 162, in _do_core
    self._sync()
  File "/usr/lib/python2.6/site-packages/pulp/client/core/core_repo.py", line 343, in _sync
    self._sync_foreground(task)
  File "/usr/lib/python2.6/site-packages/pulp/client/core/core_repo.py", line 331, in _sync_foreground
    self._print_sync_finish(self, task['state'], task['progress'])
AttributeError: 'repo' object has no attribute '_print_sync_finish'

Comment 1 Jason Connor 2010-09-23 00:04:15 UTC
damn, this looks like a superfluous keystroke in my editor
pushed fix

Comment 2 Preethi Thomas 2010-09-28 16:15:28 UTC
verified
pulp-0.0.68-1.fc13.noarch

root@preethi ~]# pulp-admin repo sync --id=rhel-i386-server-5 --foreground
Sync for repo rhel-i386-server-5 started
you can safely CTRL+C this current command and it will continue
[==================================================] 100% (2394 of 2394 pkgs)
Sync: Finished
[root@preethi ~]# 
[root@preethi ~]# 

[root@preethi ~]# pulp-admin repo sync --id=f13 --foreground
Sync for repo f13 started
you can safely CTRL+C this current command and it will continue
[==================================================] 100% (3111 of 3111 pkgs)
Sync: Finished

Comment 3 Preethi Thomas 2011-08-16 12:10:20 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 4 Preethi Thomas 2011-08-16 12:22: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.