qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ernest Allen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DISPATCH-243) Requesting information about a remote router returns info about the connected router
Date Thu, 24 Mar 2016 14:41:25 GMT

     [ https://issues.apache.org/jira/browse/DISPATCH-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ernest Allen updated DISPATCH-243:
----------------------------------
    Attachment: jsmanage2.html

Updated reproducer. This one doesn't hard-code anything but the local router's address (localhost:5673)

It gets the list of router nodes using GET-MGMT-NODES. When the send button is clicked, it
sends a QUERY to the 2nd router and displays both the request sent and the results.

> Requesting information about a remote router returns info about the connected router
> ------------------------------------------------------------------------------------
>
>                 Key: DISPATCH-243
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-243
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Management Agent
>    Affects Versions: 0.6
>            Reporter: Ernest Allen
>         Attachments: jsmanage.html, jsmanage2.html
>
>
> When connected to Router A, and making a request for info about Router B, the info that
is returned is for Router A.
> I'm using the proton javascript binding rhea.js and making a QUERY request. Here is Router
B's log entry for the request.
> Thu Mar 24 03:40:06 2016 AGENT (debug) Agent request Message(address='amqp://0.0.0.0:5673/_topo/0/QDR.B/$management',
properties={'operation': 'QUERY', 'entityType': 'router', 'type': 'org.amqp.management', 'name':
'self'}, body={'attributeNames': []}, reply_to='amqp:/_topo/0/QDR.A/temp.43z0E5iKdp4hMed',
correlation_id='60') on link 0 (/home/eallen/workspace/qpid-dispatch/install/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:736)
> Thu Mar 24 03:40:06 2016 AGENT (debug) Agent response:
>   Message(address='amqp:/_topo/0/QDR.A/temp.43z0E5iKdp4hMed', properties={'statusDescription':
'OK', 'statusCode': 200}, body={'results': [[4, 'router/QDR.A', 1, '0', 3, 0, 60, 0, 'QDR.A',
30, 'interior', 'org.apache.qpid.dispatch.router', 0, 60, 'router/QDR.A']], 'attributeNames':
[u'raIntervalFlux', u'name', u'helloInterval', u'area', u'helloMaxAge', u'linkCount', u'remoteLsMaxAge',
u'addrCount', u'routerId', u'raInterval', u'mode', u'type', u'nodeCount', u'mobileAddrMaxAge',
u'identity']}, reply_to=None, correlation_id='60')
>   Responding to: 
>   Message(address='amqp://0.0.0.0:5673/_topo/0/QDR.B/$management', properties={'operation':
'QUERY', 'entityType': 'router', 'type': 'org.amqp.management', 'name': 'self'}, body={'attributeNames':
[]}, reply_to='amqp:/_topo/0/QDR.A/temp.43z0E5iKdp4hMed', correlation_id='60') (/home/eallen/workspace/qpid-dispatch/install/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py:715)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message