Commit Graph

20355 Commits

Author SHA1 Message Date
Jessica Wang 8ece25c1f2 CLOUDSTACK-681: deployment planner - create compute offering dialog - deployment planner dropdown - add blank option and make it as default option. Not pass anything to API call when blank option is selected. 2013-05-30 16:27:36 -07:00
Alena Prokharchyk da53ef1aed ApiServer: fixed non primitive Long "snapshotLimit" comparsion 2013-05-30 15:21:31 -07:00
Alena Prokharchyk 62ad6c4519 ApiServer: replaced hardcoded value of the integration.api.port paramter with the reference to the actual paramter name 2013-05-30 15:21:31 -07:00
Marcus Sorensen 800cd391d5 RPM build - run mvn clean before building packages, to get a build from fresh
source

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1369936033 -0600
2013-05-30 16:13:40 -06:00
Min Chen eb93efdaa4 Add convenient delete methods in DataObject to delete dangling data
object.
2013-05-30 14:51:03 -07:00
Prachi Damle 7296cca9ac CLOUDSTACK-2771: Unable to create guest VM in basic zone: Zone is dedicated
Changes:
- Check the domain of the dedicated zone
2013-05-30 14:50:55 -07:00
Min Chen 614e08e19f Fix ExtractVolume bug for S3 as secondary storage. 2013-05-30 14:19:59 -07:00
Sheng Yang 70ca581499 CLOUDSTACK-2772: Programming firewall rules to VR when recovering redundant network 2013-05-30 14:10:18 -07:00
Min Chen d6c6634d97 Fix MS start issue 2013-05-30 12:21:03 -07:00
Alena Prokharchyk 1300fc8128 AccountManager/Service: reduced visibility for methods that are called only from AccountManagerImpl itself 2013-05-30 11:18:32 -07:00
Alena Prokharchyk 973fc84d6c AccountManager: fixed unchecked conversion warning 2013-05-30 11:18:32 -07:00
Alena Prokharchyk 4701dd760b Removed unused code from ManagementServerImpl 2013-05-30 11:18:31 -07:00
Alena Prokharchyk 0ea409546e RulesManager interface: changed visibility for methods that are being called only from RulesManagerImpl class, from public and defined in the interface, to private/protected 2013-05-30 11:18:31 -07:00
Min Chen 9378820b9e Revert 285e8213fe, since it is already
covered by recent commit 08ac8fb468 in a
more robust way to handle upgrade.
2013-05-30 09:54:42 -07:00
Pranav Saxena c42da47aa6 formatting the code for better readability 2013-05-30 21:57:17 +05:30
Pranav Saxena e94c8176d2 Explicit Dedication : Zone 2013-05-30 21:57:17 +05:30
Pranav Saxena 5fe0d028a2 Explicit Dedication through zone wizard 2013-05-30 21:57:16 +05:30
Pranav Saxena 8c79aa8cc1 Explicit Dedication - Zone action item dedication/release API integration 2013-05-30 21:57:15 +05:30
Pranav Saxena d847ef7470 Explicit dedication dedicate icon 2013-05-30 21:57:15 +05:30
Pranav Saxena 1545b3f3ed host and cluster action item API integration calls 2013-05-30 21:57:15 +05:30
Pranav Saxena e03e2aab06 explicit Dedication - Cluster API integration action item for dedication/release 2013-05-30 21:57:15 +05:30
Pranav Saxena 2489d858f9 explicit Dedication - Pod action filter for release/dedicate action items 2013-05-30 21:57:14 +05:30
Pranav Saxena cee82eca55 explicit Dedication - Pod action filter for releasing dedicated pod (API Call) 2013-05-30 21:57:14 +05:30
Pranav Saxena 1c9a34abcc explicit Dedication - Pod action filter for release/dedicate action items 2013-05-30 21:57:14 +05:30
Pranav Saxena fd72c12967 explicit dedication - dedicatePod API call action item integration 2013-05-30 21:57:13 +05:30
Pranav Saxena 55d3176332 explicit dedication - POD UI-API detail view integration 2013-05-30 21:57:13 +05:30
Pranav Saxena e95ddb6562 Explicit Dedication - Cluster detail View UI-API Integration code 2013-05-30 21:57:13 +05:30
Pranav Saxena 6aa2268efb Explicit Dedication - Host UI-API Integration code 2013-05-30 21:57:12 +05:30
Pranav Saxena 9f76c0559c Explicit Dedication - Cluster UI-API Integration code 2013-05-30 21:57:12 +05:30
Pranav Saxena a52b3139c5 Pod explicit dedication Detail View 2013-05-30 21:57:12 +05:30
Pranav Saxena 1553ec6580 explicit dedication API-UI integration 2013-05-30 21:57:11 +05:30
Pranav Saxena 5c18ba648b Zone Dedication UI-API Integration Code 2013-05-30 21:57:10 +05:30
Pranav Saxena c5493f0778 Explicit Dedication - Cluster UI/API Integration code 2013-05-30 21:57:10 +05:30
Pranav Saxena 60ff005939 Explicit Dedication - Host UI/API Integration code 2013-05-30 21:57:10 +05:30
Pranav Saxena 97cb514f05 Pod dedication action button functionality 2013-05-30 21:57:10 +05:30
Pranav Saxena aab0bb4d31 Dedicate POD -UI and API integration code 2013-05-30 21:57:09 +05:30
Pranav Saxena 25643459af Dedicate POD -UI and API integration code 2013-05-30 21:57:09 +05:30
Pranav Saxena 4d5033f263 Cluster/Pod/Host Explicit Dedication front end UI 2013-05-30 21:57:09 +05:30
radhikap dd9b75020c CLOUDSTACK-2764 2013-05-30 18:24:38 +05:30
Abhinandan Prateek 3000cb31af CLOUDSTACK-2434: Enable irq balance on system VM 2013-05-30 17:35:30 +05:30
Koushik Das fd79f6b602 CLOUDSTACK-2276: NPE while attaching the volume to the instance which is created from ROOT Disk Snapshot
The NPE comes as the storage pool id is set to null in the in-memory volume object which is not in sync with the db. entry. Reloading the volume from db. fixes the issue
2013-05-30 17:20:44 +05:30
Kishan Kavala 3115ddf007 Added networkAclId to listNetworkResponse. Log ACL provider while applying network ACLs 2013-05-30 16:36:21 +05:30
radhikap 4b8bacd98a more additions on internal lb-vpc 2013-05-30 16:33:48 +05:30
radhikap 08e5a45def CLOUDSTACK-769 2013-05-30 16:18:18 +05:30
Pranav Saxena 35fe8e86c0 removing the tooltip helper for implicit dedication 2013-05-30 15:30:32 +05:30
Pranav Saxena ef8663998a Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cloudstack 2013-05-30 15:28:07 +05:30
Pranav Saxena 6cbd85f095 Implicit Dedication UI changes 2013-05-30 15:27:18 +05:30
Nitin Mehta 0a5e3fa607 CLOUDSTACK-2060
Global config to turn off dynamically scale vm functionality
2013-05-30 15:11:08 +05:30
Saksham Srivastava 965c7b9c35 Patch 2: CLOUDSTACK-681: Dedicated Resources - Explicit Dedication, Private zone, pod, cluster or host
Patch 2 for https://reviews.apache.org/r/11379/
Created for files server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java, server/test/com/cloud/vm/DeploymentPlanningManagerImplTest.java, server/test/org/apache/cloudstack/affinity/AffinityApiUnitTest.java
2013-05-30 01:07:07 -07:00
Saksham Srivastava 17267794ad CLOUDSTACK-681: Dedicated Resources - Explicit Dedication, Private zone, pod, cluster or host. <Patch1>
This feature allows a user to deploy VMs only in the resources dedicated to his account or domain.

1. Resources(Zones, Pods, Clusters or hosts) can be dedicated to an account or domain.
   Implemented 12 new APIs to dedicate/list/release resources:
   - dedicateZone, listDedicatedZones, releaseDedicatedZone for a Zone.
   - dedicatePod, listDedicatedPods, releaseDedicatedPod for a Pod.
   - dedicateCluster, listDedicatedClusters, releaseDedicatedCluster for a Cluster
   - dedicateHost, listDedicatedHosts, releaseDedicatedHost for a Host.
2. Once a resource(eg. pod) is dedicated to an account, other resources(eg. clusters/hosts) inside that cannot be further dedicated.
3. Once a resource is dedicated to a domain, other resources inside that can be further dedicated to its sub-domain or account.
4. If any resource (eg.cluster) is dedicated to a account/domain, then resources(eg. Pod) above that cannot be dedicated to different accounts/domain (not belonging to the same domain)
5. To use Explicit dedication, user needs to create an Affinity Group of type 'ExplicitDedication'
6. A VM can be deployed with the above affinity group parameter as an input.
7. A new ExplicitDedicationProcessor has been added which will process the affinity group of type 'Explicit Dedication' for a deployment of a VM that demands dedicated resources.
   This processor implements the AffinityGroupProcessor adapter. This processor will update the avoid list.
8. A VM requesting dedication will be deployed on dedicatd resources if available with the user account.
9. A VM requesting dedication can also be deployed on the dedicated resources available with the parent domains iff no dedicated resources are available with the current user's account or
   domain.
10. A VM (without dedication) can be deployed on shared host but not on dedicated hosts.
11. To modify the dedication, the resource has to be released first.
12. Existing Private zone functionality has been redirected to Explicit dedication of zones.
13. Updated the db upgrade schema script. A new table "dedicated_resources" has been added.
14. Added the right permissions in commands.properties
15. Unit tests:  For the new APIs and Service, added unit tests under : plugins/dedicated-resources/test/org/apache/cloudstack/dedicated/DedicatedApiUnitTest.java
16. Marvin Test: To dedicate host, create affinity group, deploy-vm, check if vm is deployed on the dedicated host.
2013-05-30 01:07:01 -07:00