Bug 697861 - cds associate repo fails with cdsMethodexception
Summary: cds associate repo fails with cdsMethodexception
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Pulp
Classification: Retired
Component: nodes
Version: unspecified
Hardware: Unspecified
OS: Linux
urgent
urgent
Target Milestone: ---
: Sprint 23
Assignee: Jeff Ortel
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: 688298
TreeView+ depends on / blocked
 
Reported: 2011-04-19 13:21 UTC by Kedar Bidarkar
Modified: 2011-04-20 20:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-20 19:46:31 UTC
Embargoed:


Attachments (Terms of Use)
logs related to cds associate repo (13.61 KB, application/octet-stream)
2011-04-19 13:22 UTC, Kedar Bidarkar
no flags Details

Description Kedar Bidarkar 2011-04-19 13:21:21 UTC
Description of problem:

cds associate repo fails with cdsMethodException issue.

Please refer the attached file for logs.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Kedar Bidarkar 2011-04-19 13:22:55 UTC
Created attachment 493192 [details]
logs related to cds associate repo

Comment 2 Jay Dobies 2011-04-19 15:36:30 UTC
Jeff - can you take a look? Something very wonky happened in the messaging between server and CDS.


on pulp-server /var/log/pulp/pulp.log

2011-04-19 22:05:07,321 [ERROR][asynctaskreplyqueue] __fetch() @ consumer.py:90 - asynctaskreplyqueue
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/gofer/messaging/consumer.py", line 86, in __fetch
    return self.receiver.fetch(timeout=self.WAIT)
  File "<string>", line 6, in fetch
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 994, in fetch
    self._ecwait(lambda: self.linked)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 50, in _ecwait
    result = self._ewait(lambda: self.closed or predicate(), timeout)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 957, in _ewait
    result = self.session._ewait(lambda: self.error or predicate(), timeout)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 550, in _ewait
    result = self.connection._ewait(lambda: self.error or predicate(), timeout)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 194, in _ewait
    self.check_error()
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 187, in check_error
    raise self.error
InternalError: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 496, in dispatch
    self.engine.dispatch()
  File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 791, in dispatch
    self.attach(ssn)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 834, in attach
    self.link(rcv, self._in, rcv.source)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 885, in link
    dir.do_unlink(sst, lnk, _lnk)
  File "/usr/lib/python2.6/site-packages/qpid/messaging/driver.py", line 261, in do_unlink
    sst.write_cmds(cmds, action)
AttributeError: 'NoneType' object has no attribute 'write_cmds'

Comment 3 Jeff Ortel 2011-04-19 15:48:17 UTC
Kedar,  couple of questions:
1. which OS and versions of qpid are involved here?
2. can you describe, from a networking standpoint, how the rhui/pulp, qpid broker and the cds are connected?

Comment 4 Kedar Bidarkar 2011-04-19 18:43:27 UTC
1) OS is rhel6 and version of qpid is 
[root@dhcp193-197 ~]# rpm -qav | grep -i qpid
python-qpid-0.7.946106-12.el6.noarch
qpid-cpp-client-0.7.946106-5.el6.x86_64
qpid-cpp-server-0.7.946106-5.el6.x86_64

2) rh-rhui-tools are installed on the pulp-server itself and all the nodes are vm's with bridged configuration in a single network.

Comment 5 Kedar Bidarkar 2011-04-20 19:46:31 UTC
No issues with latest pulp- 168 and qpid version is same as above.
and rhui-tools is 2.0.15

Comment 6 Jeff Ortel 2011-04-20 20:13:01 UTC
Unfortunately this is a python-qpid issue and it working on pulp 0.168 and  rhui-tools is 2.0.15 is a coincidence.  We will continue to track this issue with an Apache Project JIRA: https://issues.apache.org/jira/browse/QPID-3218.


Note You need to log in before you can comment on or make changes to this bug.