Status: Accepted
Owner: [email protected]
Labels: Type-Defect Milestone-Release2.9 Priority-High

New issue 710 by [email protected]: Query filtering fails
http://code.google.com/p/ganeti/issues/detail?id=710

What steps will reproduce the problem?
1. Use curl to execute the following RAPI query:

curl -X PUT -H "Content-Type: application/json" --insecure -d '{"filter": ["|", ["=", "name", "hostname"], [">", "dtotal", 0]], "fields": ["name"], "qfilter": ["|", ["=", "name", "hostname"], [">", "dtotal", 0]]}' https://rapi-user:rapi-password@master:rapi-port/2/query/node

What is the expected output? What do you see instead?

On 2.9 and 2.10, one node is returned, whereas on 2.6 and 2.11 three nodes are returned, as is expected. Either the or clause or the dtotal comparison are to blame. dtotal reporting, as exposed by gnt-node list, appears to work well.

Update when root cause is found.

Due to this working again in 2.11, I suspect that the Python query code is to blame - 2.11 switched Haskell queries on for uses overlooked earlier.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to