Bug 1086817

Summary: When the node name starts with '#' character the node shall be created
Product: Red Hat Enterprise MRG Reporter: Petr Matousek <pematous>
Component: python-qpidAssignee: Pavel Moravec <pmoravec>
Status: CLOSED DUPLICATE QA Contact: Messaging QE <messaging-qe-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: DevelopmentCC: gsim, jross, lzhaldyb, pmoravec
Target Milestone: 3.1   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1086816 Environment:
Last Closed: 2014-10-24 12:26:47 UTC Type: Bug
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: 1086816    
Bug Blocks:    

Description Petr Matousek 2014-04-11 15:04:06 UTC
+++ This bug was initially created as a clone of Bug #1086816 +++

Description of problem:

When the node name in the address string starts with '#' character the node shall be created (and removed on link close) due to consistency with C++ client. Using python client the desired node is NOT created. Please see additional info for details.  

Version-Release number of selected component (if applicable):
python-qpid-0.22-13

How reproducible:
100%

Steps to Reproduce:
1. ./drain.py '#q'
2. no such queue exception

Actual results:
When the node name starts with '#' character the node is NOT created

Expected results:
When the node name starts with '#' character the node is created and removed after the link is closed

Additional info:

python client:

# ./drain.py '#q'
Traceback (most recent call last):
...
qpid.messaging.exceptions.NotFound: no such queue: c2cd1162-d0a1-42c4-8f78-fe27aaf8cfea#q

C++ client:

# ./drain -t 1 "#q" & qpid-config queues; sleep 1; qpid-config queues
[1] 28029
Queue Name                                Attributes
=================================================================
441d5b59-4f9f-4eb5-9a34-fe81b0f8efab:0.0  auto-del excl 
ea0b1fd1-ee6f-440f-82bd-016b049822db#q    auto-del excl 
[1]+  Done                    ./qc2_drain -t 1 "#q"
Queue Name                                Attributes
=================================================================
78abdff1-c255-441d-98d1-3277fe4cbc17:0.0  auto-del excl

---

Cloning for 2.3.x

affected version:
python-qpid-0.18-4.el6.noarch

Comment 1 Pavel Moravec 2014-06-16 08:45:16 UTC
Committed to upstream r1602820.

Comment 2 Pavel Moravec 2014-06-16 12:37:02 UTC
(In reply to Pavel Moravec from comment #1)
> Committed to upstream r1602820.


Disregard.. that breaks application to get expanded address.

A fix proposal covering that is at https://reviews.apache.org/r/22630/

Comment 3 Pavel Moravec 2014-07-07 06:55:33 UTC
Committed revision 1608350.

This is the only commit relevant for / fixing this BZ.

Comment 4 Justin Ross 2014-10-24 12:26:47 UTC

*** This bug has been marked as a duplicate of bug 1086816 ***