Description of problem: When there is use of '*' as part of object name, the first object is manipulated, instead of all them, for example, if I have 3 vms: myVm-0, myVm-1, myVm-2 and I want to start all of them: action vm myVm-* start, only myVm-0 will start. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: either all vms should be started, or the actions should fail on syntax error Additional info:
this kind of behaviour is not supported, action invoked on a single object and not on the list of objects, providing wildcard name, will fetch first object answering on this constraint, what is by-design.
I still think that this behavior is confusing , especially for someone who is familiar with BE search engine where "*" has different meaning. I would either perform the operation on multiple objects ( and turning this issue to be essential RFE ) or failing the action with proper error / invalid syntax. (In reply to comment #1) > this kind of behaviour is not supported, action invoked on a single object > and > not on the list of objects, > > providing wildcard name, will fetch first object answering on this > constraint, > what is by-design.
(In reply to comment #2) > I still think that this behavior is confusing , especially for someone who > is familiar with BE search engine where "*" has different meaning. > I would either perform the operation on multiple objects ( and turning this > issue to be essential RFE ) or failing the action with proper error / > invalid syntax. > ok, i'm buying it, i will return error is amount of returned objects > 1.
*** Bug 947383 has been marked as a duplicate of this bug. ***
[RHEVM shell (connected)]# action host aqua-* activate unknown error: [ERROR]::Used query (name=aqua-*) produces ambiguous results. Verified sf14
3.2 has been released