Bug 710381

Summary: SessionError: not-allowed: "Consumer tags must be unique" in pulp.log
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: Sachin Ghai <sghai>
Component: UpstreamAssignee: Jay Dobies <jason.dobies>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0CC: jortel, kbidarka, sghai, tsanders
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-31 12:54:29 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: 711223    

Description Sachin Ghai 2011-06-03 09:14:11 UTC
Description of problem:
Got following error in pulp.log. I got this when sync started for rhel6 repo.

2011-06-03 14:30:37,088 [INFO][Thread-24] _sync() @ repo_sync.py:212 - Sync invoked for repo <rhel-server-6-releases-6Server-x86_64>
2011-06-03 14:30:37,135 [ERROR][Thread-24] __del__() @ endpoint.py:135 - dc975166-3421-4bc2-92a6-28857f90765f
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/gofer/messaging/endpoint.py", line 133, in __del__
    self.close()
  File "/usr/lib/python2.6/site-packages/gofer/messaging/consumer.py", line 315, in close
    Endpoint.close(self)
  File "/usr/lib/python2.6/site-packages/gofer/messaging/endpoint.py", line 113, in close
    self.__session.close()
  File "<string>", line 6, in close
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 723, in close
    self.sync(timeout=timeout)
  File "<string>", line 6, in sync
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 715, in sync
    if not self._ewait(lambda: not self.outgoing and not self.acked, timeout=timeout):
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 551, in _ewait
    self.check_error()
  File "/usr/lib/python2.6/site-packages/qpid/messaging/endpoints.py", line 540, in check_error
    raise self.error
SessionError: not-allowed: Consumer tags must be unique (qpid/broker/SessionAdapter.cpp:415)(530)
2011-06-03 14:30:37,348 [INFO][Thread-24] _sync() @ repo_sync.py:222 - Sync of rhel-server-6-releases-6Server-x86_64 starting, skip_dict = {}
2011-06-03 14:30:37,551 [INFO][Thread-24] sync() @ synchronizers.py:383 - cacert = </etc/pki/content/rhel-server-6-releases-6Server-x86_64/feed-rhel-server-6-releases-6Server-x86_64.ca>, cert = </etc/pki/content/rhel-server-6-releases-6Server-x86_64/feed-rhel-server-6-releases-6Server-x86_64.cert>, key = </etc/pki/content/rhel-server-6-releases-6Server-x86_64/feed-rhel-server-6-releases-6Server-x86_64.key>
2011-06-03 14:30:37,551 [INFO][Thread-24] sync() @ synchronizers.py:407 - Limiting download speed to 0 KB/sec per thread. [15] threads will be used


/var/log/messages says:
Jun  3 14:27:49 dhcp193-79 qpidd[4023]: 2011-06-03 14:27:49 error Execution exception: not-allowed: Consumer tags must be unique (qpid/broker/SessionAdapter.cpp:415)



Version-Release number of selected component (if applicable):
pulp 0.186
rhui-tools 2.0.26

How reproducible:


Steps to Reproduce:

 
Actual results:
SessionError: not-allowed: Consumer tags must be unique (qpid/broker/SessionAdapter.cpp:415)(530)

Expected results:
Shouldn't be any error in pulp.log

Additional info:

Comment 1 Sachin Ghai 2011-06-03 09:17:01 UTC
here is the sync status from rhui-manager. Here for rhel6 repo (release), sync started at 2:30 and at same time i got the traeback in pulp.log:
------------------------------------------------------------------------------
             -= Red Hat Update Infrastructure Management Tool =-


-= Repository Synchronization Status =-

Last Refreshed: 14:32:03
(updated every 50 seconds, ctrl+c to exit)

Next Sync                    Last Sync                    Last Result         
------------------------------------------------------------------------------
Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64)
06-03-2011 14:49             06-03-2011 13:59             finished   

Red Hat Enterprise Linux Server 6 Releases (RPMs) (6Server-x86_64)
06-03-2011 14:30             06-01-2011 18:34             running    

Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386)
06-03-2011 14:46             Never                        scheduled  

Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64)
06-03-2011 14:46             Never                        scheduled  


                                          Connected: dhcp193-79.pnq.redhat.com
------------------------------------------------------------------------------

Comment 2 Jeff Ortel 2011-06-03 15:42:54 UTC
Added JIRA QPID-3290 and discussed with QPID team (Gordon Sim).  He thought it was related to locking in python-qpid and that it would be straight forward to fix.

[1]
https://issues.apache.org/jira/browse/QPID-3290

Comment 3 wes hayutin 2011-06-06 21:15:39 UTC
added to rhui-20 tracker

Comment 4 Jay Dobies 2011-06-16 14:44:34 UTC
Refiled upstream to track there: 713795

Comment 5 Jay Dobies 2011-07-26 16:02:17 UTC
Moving to ON_QA as per the upstream bug.

Comment 6 Sachin Ghai 2011-07-27 05:43:36 UTC
Verified with pulp 0.211. This issue is not reproducible. I started the sync for multiple rhel6 repos and sync completed successfully.

-= Repository Synchronization Status =-

Last Refreshed: 11:08:52
(updated every 5 seconds, ctrl+c to exit)

Next Sync                    Last Sync                    Last Result         
------------------------------------------------------------------------------
Red Hat Enterprise Linux Server (RPMs) (5Server-x86_64)
07-27-2011 12:35             07-27-2011 09:25             Success    

Red Hat Enterprise Linux Server 6 Optional Updates (RPMs) (6Server-x86_64)
07-27-2011 12:12             07-27-2011 06:43             Success    

Red Hat Enterprise Linux Server 6 Releases (RPMs) (6Server-x86_64)
07-27-2011 12:12             07-27-2011 09:19             Success    

Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64)
07-27-2011 12:13             07-27-2011 06:44             Success    

Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386)
07-27-2011 16:48             07-27-2011 10:49             Success    

Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64)
07-27-2011 16:48             07-27-2011 10:49             Success    


                                  Connected: dhcp201-127.englab.pnq.redhat.com
------------------------------------------------------------------------------
^Crhui (sync) => 



Name:               Red Hat Enterprise Linux Server (RPMs) (5Server-x86_64)
Type:               Red Hat
Relative Path:      content/dist/rhel/rhui/server/5Server/x86_64/os
Package Count:      11868
Last Sync:          07-27-2011 09:25
Next Sync:          07-27-2011 12:35

Name:               Red Hat Enterprise Linux Server 6 Optional Updates (RPMs) (6Server-x86_64)
Type:               Red Hat
Relative Path:      content/dist/rhel/rhui/server-6/updates/6Server/x86_64/optional/os
Package Count:      3538
Last Sync:          07-27-2011 06:43
Next Sync:          07-27-2011 12:12

Name:               Red Hat Enterprise Linux Server 6 Releases (RPMs) (6Server-x86_64)
Type:               Red Hat
Relative Path:      content/dist/rhel/rhui/server-6/releases/6Server/x86_64/os
Package Count:      3391
Last Sync:          07-27-2011 09:19
Next Sync:          07-27-2011 12:12

Name:               Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64)
Type:               Red Hat
Relative Path:      content/dist/rhel/rhui/server-6/updates/6Server/x86_64/os
Package Count:      5164
Last Sync:          07-27-2011 06:44
Next Sync:          07-27-2011 12:13

Name:               Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386)
Type:               Red Hat
Relative Path:      content/dist/rhel/rhui/server/5Server/i386/rhui/1.2/os
Package Count:      13
Last Sync:          07-27-2011 10:49
Next Sync:          07-27-2011 16:48

Name:               Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64)
Type:               Red Hat
Relative Path:      content/dist/rhel/rhui/server/5Server/x86_64/rhui/1.2/os
Package Count:      13
Last Sync:          07-27-2011 10:49
Next Sync:          07-27-2011 16:48


------------------------------------------------------------------------------
rhui (repo) =>

Comment 7 wes hayutin 2011-08-01 21:39:38 UTC
moving to release pending

Comment 8 wes hayutin 2012-05-31 12:54:29 UTC
closing out, product released