Bug 714691 - Error on cds sync
Summary: Error on cds sync
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jason Connor
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: pulp-verified
TreeView+ depends on / blocked
 
Reported: 2011-06-20 13:00 UTC by Preethi Thomas
Modified: 2014-03-31 01:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 14:02:21 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2011-06-20 13:00:06 UTC
Description of problem:
[root@pulp-cds ~]# rpm -q pulp-cds
pulp-cds-0.0.192-1.fc14.noarch
[root@pulp-cds ~]# rpm -q pulp-cds
pulp-cds-0.0.192-1.fc14.noarch


CDS Sync fails with the following error

TypeError: argument of type 'instancemethod' is not iterable


From pulp.log

2011-06-20 09:03:48,023 28764:140407444408064: pulp.server.tasking.task:INFO: task:366 Task succeeded: Task bc8f4bf8-9b3d-11e0-9319-002564a85a58: CdsApi.redistribute(pulp, )
2011-06-20 09:04:26,353 28764:140407555999488: pulp.server.webservices.controllers.decorators:ERROR: decorators:50 Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py", line 46, in report_error
    return method(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/decorators.py", line 125, in _auth_decorator
    value = method(self, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/pulp/server/webservices/controllers/cds.py", line 246, in POST
    if 'timeout' in self.params:
TypeError: argument of type 'instancemethod' is not iterable

Comment 1 Jason Connor 2011-06-20 15:37:27 UTC
fixed pushed in 3e447e3afc2636025f0686e1bef440aab0baa971

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

Comment 3 Preethi Thomas 2011-07-19 18:36:40 UTC
verified
[root@preethi ~]# rpm -q pulp
pulp-0.0.206-2.fc14.noarch

[root@preethi ~]# pulp-admin cds status --hostname=pulp-cds.usersys.redhat.com+------------------------------------------+
                 CDS Status
+------------------------------------------+

Name                	pulp-cds.usersys.redhat.com
Hostname            	pulp-cds.usersys.redhat.com
Description         	None                     
Cluster             	None                     
Sync Schedule       	None                     
Repos               	f14                      
Last Sync           	Never                    
Status:
   Responding       	Yes                      
   Last Heartbeat   	2011-07-19 17:57:22.749389+00:00

+------------------------------------------+
           Most Recent Sync Tasks
+------------------------------------------+

State               	Running                  
Start Time          	2011-07-19 13:25:19-04:00
Finish Time         	In Progress              

[root@preethi ~]# pulp-admin cds status --hostname=pulp-cds.usersys.redhat.com
+------------------------------------------+
                 CDS Status
+------------------------------------------+

Name                	pulp-cds.usersys.redhat.com
Hostname            	pulp-cds.usersys.redhat.com
Description         	None                     
Cluster             	None                     
Sync Schedule       	None                     
Repos               	f14                      
Last Sync           	2011-07-19 14:00:14-04:00
Status:
   Responding       	Yes                      
   Last Heartbeat   	2011-07-19 18:05:03.123183+00:00

+------------------------------------------+
           Most Recent Sync Tasks
+------------------------------------------+

State               	Finished                 
Start Time          	2011-07-19 13:25:19-04:00
Finish Time         	2011-07-19 14:00:14-04:00

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