Jiri Danek created DISPATCH-408:
-----------------------------------
Summary: 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
There seems to be multiple issues regarding --identity, --name, and how they
are handled by the {{qdmanage}} tool.
----
{{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]