Orchestration API InvalidRequestError when filtering on OS::Nova:Server
Hi,
I am using HTTP API. When i try to apply the filter on resource type i get an error. If I filter on other options such as status or name the request works fine like so:
http://131.1.1.1:8004/v1/7aa5994885fb4a91a0b7976f019b59bc/stacks/pMY_stack_66971897-2863-42dd-9a08-82a0067f43ad/stackid11/resources?status=COMPLETE
http://131.1.1.1:8004/v1/7aa5994885fb4a91a0b7976f019b59bc/stacks/pMY_stack_66971897-2863-42dd-9a08-82a0067f43ad/stackid11/resources?name=my_interface1_port
However if i try to filter on resource type like so:
http://131.1.1.1:8004/v1/7aa5994885fb4a91a0b7976f019b59bc/stacks/pMY_stack_66971897-2863-42dd-9a08-82a0067f43ad/stackid11/resources?type=OS::Nova::Server
I get a Server 500 error:
{
"explanation": "The server has either erred or is incapable of performing the requested operation.",
"code": 500,
"error": {
"message": "Remote error: InvalidRequestError Entity '<class 'heat.db.sqlalchemy.models.Resource'>' has no property 'type'\n[u'",
"traceback": null,
"type": "RemoteError"
},
"title": "Internal Server Error"
}
Any help much appreciated. Openstack version: Mitaka