Paolo Patierno created DISPATCH-392:
---------------------------------------

             Summary: "attributeName is undefined error" when showing 
"address", "linkRoute" and "autoLink"
                 Key: DISPATCH-392
                 URL: https://issues.apache.org/jira/browse/DISPATCH-392
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Console
    Affects Versions: 0.6.0
            Reporter: Paolo Patierno
         Attachments: Selection_015.png

I'm using the Ernie Allen docker image in order to run the web console.

https://hub.docker.com/r/ernieallen/dispatch-console/

I have set up my router network and websocket proxy. All works fine but ...

When I open Entities page and click on "address" for example, a pop up shows me 
an "attributeName is undefined error" and the AGENT module on the router shows :

Thu Jun 16 14:00:01 2016 AGENT (error) Error dispatching 
Message(address='_topo/0/Router.A/$management', properties={'operation': 
'QUERY', 'entityType': 'org.apache.qpid.dispatch.address', 'type': 
'org.amqp.management', 'name': 'self'}, body={'attributeNames': []}, 
reply_to='amqp:/_topo/0/Router.A/temp.Jt5OG0zIxI6o72E', correlation_id='858'): 
No such entity type 'org.apache.qpid.dispatch.address'
Traceback (most recent call last):
  File 
"/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", 
line 790, in receive
    status, body = self.handle(request)
  File 
"/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", 
line 821, in handle
    return method(request)
  File 
"/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", 
line 611, in query
    entity_type = self.requested_type(request)
  File 
"/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", 
line 606, in requested_type
    if type: return self._schema.entity_type(type)
  File 
"/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", 
line 551, in entity_type
    return self._lookup(self.entity_types, name, "No such entity type '%s'", 
error)
  File 
"/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", 
line 547, in _lookup
    raise ValidationError(message % name)
ValidationError: No such entity type 'org.apache.qpid.dispatch.address'

It should be something in the query, because if I executes :

qdmanage -b localhost:6000 query --type address

I receive a good result :

[
  {
    "egressPhase": 0, 
    "ingressPhase": 0, 
    "prefix": "my_address", 
    "waypoint": false, 
    "distribution": "closest", 
    "type": "org.apache.qpid.dispatch.router.config.address", 
    "identity": "1"
  }, 
  {
    "egressPhase": 1, 
    "ingressPhase": 0, 
    "prefix": "my_queue_wp", 
    "waypoint": true, 
    "distribution": "balanced", 
    "type": "org.apache.qpid.dispatch.router.config.address", 
    "identity": "2"
  }
]

I can see the same problem with "linkRoute" and "autoLink".






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

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

Reply via email to