Alarm on a non-existing resource adds the resource to the graph
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Vitrage |
New
|
Low
|
Unassigned |
Bug Description
Alarm on a non-existing resource causes adding the non-existing resource to the graph.
To reproduce:
- enable the Doctor datasource (add 'doctor' to 'types' in /etc/vitrage/
- send a 'compute.host.down' event that is translated by the Doctor datasource to an alarm on a host. Set a non existing hostname.
vitrage event post --type=
Expected result:
- A compute.host.down alarm that is not connected to any host
- The non-existing host is marked as a placeholder and is not visible in the entity graph
Actual result:
- A compute.host.down alarm that is connected to a non existing host