[
https://issues.apache.org/jira/browse/DISPATCH-397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ernest Allen updated DISPATCH-397:
----------------------------------
Fix Version/s: (was: 0.6.1)
0.7.0
> Error creating a new connector on a router with same name but on another
> router
> -------------------------------------------------------------------------------
>
> Key: DISPATCH-397
> URL: https://issues.apache.org/jira/browse/DISPATCH-397
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Console
> Affects Versions: 0.6.0
> Reporter: Paolo Patierno
> Assignee: Ernest Allen
> Fix For: 0.7.0
>
> Attachments: Selection_015.png
>
>
> I have a network with three routers A, B and C.
> A is connected to B and a broker with a connector named "BROKER".
> B is connected to C.
> Using the Entities page and selecting router B, I can see the only connector
> from B to C named "INTER_ROUTER.
> If I try to create a new connector for the router B in order to connect it to
> the broker as well using the name "BROKER" for the connector, I receive the
> following error : Duplicate value 'BROKER' for unique attribute 'name'.
> It's true if I create a connector for router A which already has a connector
> with this name, but not true for router B.
> Attached the screenshot of the error.
> At same time the error on the console on the router A is the following :
> Fri Jun 17 09:54:13 2016 AGENT (error) Error dispatching
> Message(address='_topo/0/Router.A/$management', properties={'operation':
> 'CREATE', 'type': 'org.apache.qpid.dispatch.connector', 'name': 'BROKER'},
> body={'role': 'normal', 'type': 'org.apache.qpid.dispatch.connector', 'name':
> 'BROKER', 'port': '5672'},
> reply_to='amqp:/_topo/0/Router.A/temp.3lKIzN7YrrNNvms',
> correlation_id='6363'): org.apache.qpid.dispatch.connector: Duplicate value
> 'BROKER' for unique attribute 'name'
> 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 813, in handle
> return self.create(request)
> File
> "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py",
> line 854, in create
> return (CREATED, self._create(attributes).attributes)
> File
> "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py",
> line 829, in _create
> self.entities.add_implementation(cimplementation, entity)
> File
> "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py",
> line 538, in add_implementation
> self._add_implementation(implementation, adapter=adapter)
> File
> "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py",
> line 535, in _add_implementation
> self.add(adapter)
> File
> "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py",
> line 524, in add
> self.schema.validate_full(chain(iter([entity]), iter(self.entities)))
> File
> "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/qdrouter.py",
> line 59, in validate_full
> super(QdSchema, self).validate_all(entities, **kwargs)
> File
> "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py",
> line 597, in validate_all
> check_singleton=check_singleton)
> File
> "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py",
> line 574, in validate_entity
> check_singleton=check_singleton)
> File "/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]