CLOUDSTACK-4559: fix devcloud
(cherry picked from commit 1a333f369b33c8d46d6a034daac311e284bc8e49)

Signed-off-by: animesh <animesh@apache.org>
Merge branch '4.2' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.2
CLOUDSTACK-4509 : management cache folder need to cleanup before upgrade, currently its cleaning up only for 3.x upgrade ie /var/cache/cloud, it should do that same for 4.2 also /var/cache/cloudstack
(cherry picked from commit 63c8b147fe636316bc6a886631f17a96097fb755)

Signed-off-by: animesh <animesh@apache.org>
CLOUDSTACK-4430:[Automation][vmware] Failed to deploy vm, if one host is
down in a cluster.
(cherry picked from commit ad1633dda9f2f0ba5a1cf6e065b87a2f5978fb93)

Signed-off-by: animesh <animesh@apache.org>