Bug 663013 - Default address created by python client is durable
Summary: Default address created by python client is durable
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: python-qpid
Version: 1.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 2.0
: ---
Assignee: Rafael H. Schloming
QA Contact: Petr Matousek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-14 12:51 UTC by Petr Matousek
Modified: 2018-11-14 16:33 UTC (History)
4 users (show)

Fixed In Version: python-qpid-0.10-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-23 15:48:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0890 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 2.0 Release 2011-06-23 15:42:41 UTC

Description Petr Matousek 2010-12-14 12:51:36 UTC
Description of problem:
default created address with python client is marked durable, which is incorrect

[root@mrg-qe-16 api]# ./spout "xoxo1 ; {create: sender}"
Message(properties={'spout-id': '5cba4cf1-b40d-fd4c-9bb8-d5cc0db3cab1:0'})
[root@mrg-qe-16 api]# qpid-config queues | grep xoxo1
xoxo1                                                --durable

This was seen on Rel 5.5 x86_64.

Version-Release number of selected component (if applicable):
python-qpid-0.7.946106-14.el5
qpid-cpp-client-0.7.946106-22.el5
qpid-cpp-client-devel-0.7.946106-22.el5
qpid-cpp-client-devel-docs-0.7.946106-22.el5
qpid-cpp-client-ssl-0.7.946106-22.el5
qpid-cpp-server-0.7.946106-22.el5
qpid-cpp-server-cluster-0.7.946106-22.el5
qpid-cpp-server-devel-0.7.946106-22.el5
qpid-cpp-server-ssl-0.7.946106-22.el5
qpid-cpp-server-store-0.7.946106-22.el5
qpid-cpp-server-xml-0.7.946106-22.el5
qpid-java-client-0.7.946106-12.el5
qpid-java-common-0.7.946106-12.el5
qpid-java-example-0.7.946106-12.el5
qpid-tools-0.7.946106-11.el5

How reproducible:
100%

Steps to Reproduce:
1. see steps below
  
Actual results:
Default address created by python client is durable.

Expected results:
Default address created by python client should not be durable.

Additional info:
[root@mrg-qe-16 messaging]# service qpidd restart
Stopping Qpid AMQP daemon:                                 [  OK  ]
Starting Qpid AMQP daemon:                                 [  OK  ]
[root@mrg-qe-16 messaging]# qpid-config queues
Queue Name                                           Attributes
===========================================================================
qmfc-v2-hb-mrg-qe-16.lab.eng.brq.redhat.com.25798.1  auto-del excl --limit-policy=ring
qmfc-v2-mrg-qe-16.lab.eng.brq.redhat.com.25798.1     auto-del excl
qmfc-v2-ui-mrg-qe-16.lab.eng.brq.redhat.com.25798.1  auto-del excl --limit-policy=ring
reply-mrg-qe-16.lab.eng.brq.redhat.com.25798.1       auto-del excl
topic-mrg-qe-16.lab.eng.brq.redhat.com.25798.1       auto-del excl --limit-policy=ring
[root@mrg-qe-16 messaging]# ls
client      drain      drain.o      hello_world.cpp  Makefile      map_receiver.cpp  map_sender.cpp    OptionParser.h  server      spout      spout.o
client.cpp  drain.cpp  hello_world  hello_xml.cpp    map_receiver  map_sender        OptionParser.cpp  OptionParser.o  server.cpp  spout.cpp
[root@mrg-qe-16 messaging]# cd -
/usr/share/doc/python-qpid-0.7.946106/examples/api
[root@mrg-qe-16 api]# ls
drain  hello  hello_xml  server  spout
[root@mrg-qe-16 api]# ./spout "xoxoy ; {create: always}"
Message(properties={'spout-id': '36526d78-c706-2749-a995-f8d2a68fc47d:0'})
[root@mrg-qe-16 api]# qpid-config queues
Queue Name                                           Attributes
===========================================================================
qmfc-v2-hb-mrg-qe-16.lab.eng.brq.redhat.com.25814.1  auto-del excl --limit-policy=ring
qmfc-v2-mrg-qe-16.lab.eng.brq.redhat.com.25814.1     auto-del excl
qmfc-v2-ui-mrg-qe-16.lab.eng.brq.redhat.com.25814.1  auto-del excl --limit-policy=ring
reply-mrg-qe-16.lab.eng.brq.redhat.com.25814.1       auto-del excl
topic-mrg-qe-16.lab.eng.brq.redhat.com.25814.1       auto-del excl --limit-policy=ring
xoxoy                                                --durable
[root@mrg-qe-16 api]# cd -
/usr/share/qpidc/examples/messaging
[root@mrg-qe-16 messaging]# ./spout "xoxox ; {create: always}"
[root@mrg-qe-16 messaging]# qpid-config queues
Queue Name                                           Attributes
===========================================================================
qmfc-v2-hb-mrg-qe-16.lab.eng.brq.redhat.com.25826.1  auto-del excl --limit-policy=ring
qmfc-v2-mrg-qe-16.lab.eng.brq.redhat.com.25826.1     auto-del excl
qmfc-v2-ui-mrg-qe-16.lab.eng.brq.redhat.com.25826.1  auto-del excl --limit-policy=ring
reply-mrg-qe-16.lab.eng.brq.redhat.com.25826.1       auto-del excl
topic-mrg-qe-16.lab.eng.brq.redhat.com.25826.1       auto-del excl --limit-policy=ring
xoxox                                               
xoxoy                                                --durable

Comment 2 Petr Matousek 2011-04-20 10:01:45 UTC
This issue has been fixed

Verified on RHEL4.9, RHEL5.6 and RHEL6.1, architectures: i386, x86_64

packages installed:
python-qpid-0.10-1

-> VERIFIED

Comment 3 errata-xmlrpc 2011-06-23 15:48:51 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0890.html


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