CLOUDSTACK-4395:[Object_store_refactor] Default template is not
available for use to deploy vm in case of multi zone environment.
CLOUDSTACK-4398: get physical size of template if the template is stored in S3
CLOUDSTACK-1559. DOC. Mention new Windows 8 and Windows Server guest VM support in 4.2 Release Notes.
added a new chapter for 4.2
CLOUDSTACK-4245 upgrade section in the release notes
CLOUDSTACK-867. DOC. Incorporate reviewer comments on dynamic CPU and RAM scaling for running VMs.
CLOUDSTACK-2402. DOC. Incorporate review comments on volume snapshot enhancements for VMware.
CLOUDSTACK-4257: [Automation] test_storage_motion test cases failed during with unexpected result in listStoragePool API call

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a9e45bf7766728c8439fcc0e3a1a6e3af074b2b7)
CLOUDSTACK-4257: Additional asserts for storage migration test

Test whether valid storage pools are listed and at least one pool is
available for migration.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a82f66e0fa8c9e20b0468aae82871c46a9f8b67e)
CLOUDSTACK-4356: Added code for checking empty host, skip the test if no empty host found

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
CLOUDSTACK-4199 Fixed redundant router fail over

When master router down, the back up router is entered into FAIL state
but it supposed to enter into master.
This issue is happening because the the enable_pubip.sh script triying to
ifdown and ifup the eth2 interface. Which is failed. So master.sh script got
failed. Fixed by doing ifdown force
CLOUDSTACK-3851 [VMWare] VM start fails with NPE while trying to retrieve cores per socket

If VMware host version is ESXi 4.1 and vCenter version is 5.0 or later, number of cores per socket of a VM running on ESXi 4.1 host would be undefined as it's not supported for versions prior to 5.0.
Hence expecting undefined/null value for that and handling it.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
CLOUDSTACK-4386
KVM - Create template from volume
Vmware - Create template from volume / Create template from snapshot
send the physical size in the copycommand which accordingly will populate template store ref and the usage_event tables with the right physical size
Signed off by : nitin mehta<nitin.mehta@citrix.com>
CLOUDSTACK-4225: new_virtual_machine is not a attr of the test

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 3605280a2eb49c719c022d411fd90596c7a2a24e)
CLOUDSTACK-4225: list the snapshot path on secondary store

list the snapshot on secondary store. avoid changing directories and
additional debug commands.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 5b66677d742fa057779f56c3f4c7a905d8a3d4c5)
fix for kvm test failure
(cherry picked from commit 6c593b0b16f37951c0c30b2ad3cff69835085fe2)