cloudstack/server/test/com/cloud
Rohit Yadav a4848c1435 APPLE-272: 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-06-08 09:19:57 +09:00
..
alert CLOUDSTACK-5261: added support for Alert publishing via ROOT Admin API 2013-12-04 10:05:46 -08:00
api CLOUDSTACK-8505: Don't allow non-POST requests for default login API 2015-05-22 10:11:15 +01:00
capacity All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00
configuration CLOUDSTACK-5236 : ability to identify where the user is from (ex. LDAP) 2015-03-16 12:35:37 +05:30
event Disable IAM feature from 4.4 release. 2014-05-22 18:27:08 -07:00
ha test for HighAvailabilityManagerImpl 2014-05-02 21:22:43 +02:00
keystore Reformatted all of the code. 2013-11-21 06:15:26 -08:00
metadata Resource metadata: by default, all metadata is set with display=true (meaning that the detail is avaialble for display to the regular user). If admin wants to set a specific detail to be false, he has to specify it explicitly in addResourceDetail command 2014-02-10 12:05:59 -08:00
network CLOUDSTACK-8301: Enable configuring local storage use for system VMs at zone level 2015-08-08 22:41:52 +05:30
projects Revert "CLOUDSTACK-5872: Async response from addAccountToProject doesn't contain useful information" 2014-03-03 12:44:08 -08:00
resource CLOUDSTACK-9299: Out-of-band Management for CloudStack 2016-05-10 13:16:03 +05:30
resourcelimit Reformatted all of the code. 2013-11-21 06:15:26 -08:00
server CLOUDSTACK-8537 test for the sake of testing the fix seems so trivial but no testing is available for it at all. when bugs arise test extension should be the start point here. 2015-06-17 22:20:13 +02:00
servlet test for escapeHTML 2014-05-02 21:19:49 +02:00
snapshot All Checkstyle problems corrected 2013-12-12 12:26:07 -08:00
storage APPLE-272: Host Connects Without Storage 2016-06-08 09:19:57 +09:00
template Fix checkstyle and license issues 2014-02-14 18:37:47 +01:00
user CLOUDSTACK-8562: DB-Backed Dynamic Role Based API Access Checker 2016-04-25 14:52:02 +05:30
vm CLOUDSTACK-5236 : ability to identify where the user is from (ex. LDAP) 2015-03-16 12:35:37 +05:30
vpc CLOUDSTACK-5236 : ability to identify where the user is from (ex. LDAP) 2015-03-16 12:35:37 +05:30