Bug 677716 - Routes should be created with FQDN
Summary: Routes should be created with FQDN
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-qmf
Version: 1.3
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: messaging-bugs
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-15 16:36 UTC by Petr Matousek
Modified: 2021-03-16 12:47 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Petr Matousek 2011-02-15 16:36:50 UTC
Description of problem:

When using 'localhost' as a <src-broker> input string for qpid-route command, the route is not created with FQDN of the given server. The route is created incorrectly when command is executed from remote server.

Moreover  'qpid-route route map' command displays two static routes with the same meaning. See Additional info.


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

How reproducible:
100%

Steps to Reproduce:
1. server1# service qpidd start
2. server1# qpid-config add queue myQueue
2. server2# service qpidd start
3. server2# qpid-config add exchange replication replication
5. server1# qpid-route queue add <server2 FQDN> localhost myExchange myQueue
6. server2# qpid-route route list
  
Actual results:
When using 'localhost' as a <src-broker> input string for qpid-route command, the route is not created correctly.

Expected results:
The route is created with FQDN of the given server.

SERVER 1:
Additional info:
# service qpidd start
Starting Qpid AMQP daemon:                                 [  OK  ]
# qpid-config add queue myQueue
# qpid-route queue add dhcp-37-229.lab.eng.brq.redhat.com localhost myExchange myQueue

SERVER 2:
# service qpidd start
Starting Qpid AMQP daemon:                                 [  OK  ]
# qpid-config add exchange direct myExchange
# qpid-route route list
# qpid-route route list
dhcp-37-229.lab.eng.brq.redhat.com:5672 localhost:5672 myExchange 
# qpid-route route map

Finding Linked Brokers:
    dhcp-37-229.lab.eng.brq.redhat.com:5672... Ok
    localhost:5672... Ok

Dynamic Routes:
  none found

Static Routes:

  dhcp-37-229.lab.eng.brq.redhat.com:5672(ex=myExchange) <= localhost:5672(queue=myQueue)
  localhost:5672(ex=myExchange) <= localhost:5672(queue=myQueue)


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