mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
When a full cluster is down or unreachable, CloudStack currently reports everything the same as the last known state, which is usually Up. When it cannot reach a host and cannot reach another host in the same cluster either, it returns null and says "I don't know". This prevents it from reporting the problem. Now, we return an Alert or Disconnected state so proper action can be taken. Also logging was added, so we know what part of the code put it to Alert or Disconnected.