Bug 636688

Summary: error on sync progress reporting
Product: [Retired] Pulp Reporter: Mike McCune <mmccune>
Component: z_otherAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: jconnor, pthomas
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 12:10:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 641987, 647488    

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.