[ 
https://issues.apache.org/jira/browse/DISPATCH-408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15353077#comment-15353077
 ] 

Alan Conway commented on DISPATCH-408:
--------------------------------------

This is related to the problem of different use of "identity" for old python 
entities and new C entities (agent-scoped vs. type scoped) We need to pick one 
interpretation and make the rest consistent.

> Deleting an autoLink with qdmanage requires specifying --type attribute
> -----------------------------------------------------------------------
>
>                 Key: DISPATCH-408
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-408
>             Project: Qpid Dispatch
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>            Reporter: Jiri Danek
>
> {{qdmanage delete}} sometimes requires a {{--type}} option, in addition to 
> {{--identity}}. Without it, it fails with unhelpful error message. Manual 
> page says nothing about this, is says just "delete Delete an entity specified 
> by the --name or --identity options."
> {noformat}
> $ qdmanage query --type autoLink
> [
>   ...
>   {
>     "addr": "jms.queue.second",
>     "linkRef": "19",
>     "operStatus": "active",
>     "connection": "ba",
>     "identity": "4",
>     "phase": 1,
>     "type": "org.apache.qpid.dispatch.router.config.autoLink",
>     "dir": "in"
>   },
>   {
>     "addr": "jms.queue.second",
>     "linkRef": "20",
>     "operStatus": "active",
>     "connection": "ba",
>     "identity": "5",
>     "phase": 0,
>     "type": "org.apache.qpid.dispatch.router.config.autoLink",
>     "dir": "out"
>   }
> ]
> $ qdmanage delete --identity 5
> NotFoundStatus: No entity with identity='5'
> $ qdmanage delete --identity 4
> NotFoundStatus: No entity with identity='4'
> $ qdmanage delete --type autoLink --identity 4
> $ qdmanage delete --type autoLink --identity 5
> {noformat}
> For e.g. connectors, not specifying --type works just fine, as in {{$ 
> qdmanage delete --identity connector/172.28.128.221:amqp:ba}}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to