cloudstack/engine
Rohit Yadav 32a397aa93 CLOUDSTACK-9509: Host Connects Without Storage
KVM hosts on shared storage failure was accepted by mgmt server with the
host state as Up, even though there was no primary/shared storage available on
it. This patch offers a quick fix by throwing an exception in the storage monitor
which connects storage pool on host. The failure is trapped by agent manager
that disconnects the agent without any investigation.

Based on Lab tests, KVM agent may take upto 2 minutes to attempt NFS mount when
the storage is inaccessible (firewalled, or shutdown) before returning back with
an error. It is safe to assume that this won't add pressure on mgmt server due to
several reconnection attempts, and KVM agent would retry reconnection every 2
minutes.

For such KVM hosts, where failure happens due to storage issues; they will be
briefly put in Alert state but will be mostly be in Connecting state during which
the KVM host attempts to mount/reconfigure NFS storage pool.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-10-21 10:22:32 +05:30
..
api Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
components-api Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
network Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
orchestration CLOUDSTACK-9509: Host Connects Without Storage 2016-10-21 10:22:32 +05:30
schema Merge pull request #1654 from shapeblue/jsb/4.8.2.0-version 2016-09-01 15:11:20 +05:30
service Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
storage Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
pom.xml Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30