CLOUDSTACK-3546
CLOUDSTACK-3546 edits and additions
edit changes to limit resources
Fix pep8

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1060997bcd40282656503a15191abd1814bfe064)
CLOUDSTACK-850 fixed review comments from sheng/community
CLOUDSTACK-817 likitha/community doc comments fixed
CLOUDSTACK-804 review comemnts
CLOUDSTACK-3913
Private templates would now get copied to only one of image  storage chosen randamly as was the case earlier. Dont throw an exception for uploading volumes when there are multiple image stores, instead choose one of them randomly
Signed off by : nitin mehta<nitin.mehta@citrix.com>
CLOUDSTACK-3228: system vms are not comming up in zone with two cluster xen and kvm CLOUDSTACK-3631: Enhance System vm deployment retry mechanism
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
CLOUDSTACK-4079: Made a change to make sure we are setting the hypervisor capabilities for storage motion to true.
If an upgrade is taking place from an older setup which supported a hypervisor but not storage motion on that
hypervisor, the upgraded setup will not have the storage motion field enabled. Enabled it explicitly.
CLOUDSTACK-4048:[GSLB] Failed to assign more than one LB rule to a GSLB rule that is
created with gslbmethod=leastconn

Netscaler nitro api to add gslb virtual servers fails for some reason if
both netmask and round robin methods are specified. So working around
with settign netmask to be null while updating vserver.
CLOUDSTACK-4075: User unable to archive events
No need to cleanup lightweight entities like offerings

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 1670aeac360b591f513a76a0c77158672f3e387f)
Log the API exception for debugging

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
rbd: Move some logic from LibvirtComputingResource into KVMStorageProcessor

All this logic was in LibvirtComputingResource but seems redundant. Move it
into the KVMStorageProcessor
config: Only user low-case names for variables
CLOUDSTACK-4065: db upgrade - when insert placeHolder nic for Shared networks, always mark this nic as non-default explicitly

Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
remove hardcoded vlan for shared network test

use a vlan outside of the vlans managed by cloudstack.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
CLOUDSTACK-4087: updateTemplatePermissions - derive domainId from the template owner, not from the operation caller

Conflicts:
	server/src/com/cloud/template/TemplateManagerImpl.java
CloudStack CLOUDSTACK-3307
UCS:DB: Same UCS manager can be added multiple times