Fix fresh db install problem. (still pending one part of finding db
script file correctly).
Revert "Fix fresh db install problem. (still pending one part of finding db"

This reverts commit 5b760f903f1a3145f62d05c1d3c142b710248026.
make the create database work
Revert "Revert "Fix fresh db install problem. (still pending one part of finding db""

This reverts commit ebcf6b1b7cd5175ee826bdfb1443d96fd0a2f9b8.
Changed the cloud.spec to use the right version on cloudstack-common requirement
Back to the old expunge logic

The expunge interval and delay are respected and no additional delays
are introduced.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
Revert "make the create database work"

This reverts commit 1c77ae62374f2d1a064726bb7bcf1814a0c0b1ff.
db: Fix deploydb, make sure scripts are in path

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
CloudStack-1371 : In case of ResourceAllocationException, server is not returnig any response.

Signed-off-by: Mice Xia <mice_xia@tcloudcomputing.com>
Have cloud-setup-* tools detect Debian

To minimize this change, treat Debian as Ubuntu for now.

Reviewed-by: Wido (https://reviews.apache.org/r/9310)
CLOUDSTACK-357 ISOs can be deleted while still attached to a running VM, and they subsequently cannot be detached from a running VM

I made the changes to make sure that:
1. ISO will be deleted from the UI, but it is not deleted from the secondary storage as long as it is attached to a VM.
2. The storage cleanup thread will check whether the iso is attached to any vm, if not, it removes the ISO from the secondary storage.
3. Detach operation is now working which was failing before for the vms having attached iso(deleted).

Updated the patch for template sync during MS restart.

Manually tested the following:
setup: upload ISO1 and ISO 2
Attach ISO1 to VM1 and VM2
Attach ISO2 to VM3
set storage.cleanup.interval to 300

test cases:
1. delete ISO1 from UI, gets deleted
2. In VM Details of VM1 and VM2, can see detach ISO option
3. ISO1 exists in secondary storage
4. detach ISO1 from VM1, successful
5. ISO1 still exists in secondary storage.
6. Restart MS, template sync will not delete ISO1.
7. Detach ISO1 from VM2, successfull detached.
8. Wait for storage cleanup thread to execute, ISO1 gets deleted from Secondary storage.
9. Detach ISO2 from VM3
10.ISO2 exists in secondary storage, Delete ISO2 form UI, get deleted from secondary storage.
CLOUDSTACK-749: External device support for VPC. VPC offering can be created with providers other than VPCVirtualRouter
CLOUDSTACK-749: updated mockvpcdao mockvpcmanagerimpl with external device related changes
CLOUDSTACK-778: user provided hostname to be specified in vCenter instead of CloudStack generated name
Introducing flag to allow display name to be appended to internal instance name.
Commit review 9586

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
API changes for createAffinityGroup
CLOUDSTACK-1380: add db upgrade for vm_template, in 4.1 to 4.2 upgrade procedure
cloudstack-462

Signed-off-by: radhikap <radhika.puthiyetath@citrix.com>
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
Docs: Fixing issues
Docs: Fix for CS-1300