Hide Forgot
Description of problem: We added events verification for our automatic tests. We have the following scenario: 1.Add cluster ( or any other object ) 2.Search for proper event 3.Remove cluster 4.Search for proper event Stage 4 always fails . I performed the search manually and i noticed that search queries for non existing objects always fails. For example: Events:cluster.name="doesnotexist" I can see those events under the events tab but the queries always fails. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Clarification: By non existing objects i mean existing objects which were removed. Those events appear under the events tab but the objects does not exist anymore.
you can not look for events on objects that are not in the DB any-more. RHEVM needs to retrieve their Id (name is not enough) and they are not in the db. You need to use History Db for that.
Can't you search the events by name when object.name is passed explicitly? It sounds more logical to do it.
I think that why we have history DB. IMO we do not want to support search for events on deleted object.
This would be very useful feature. especially for debug purposes. It is much easier to perform a search query instead of using the history DB.
Quite important IMO , We need it for our automation tests too.
does correlation id resolves this?
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.