Commit Graph

18392 Commits

Author SHA1 Message Date
Sateesh Chodapuneedi
08afeb49d7 Temporarily disabling some of the tests that are failing. 2013-05-31 17:56:33 +05:30
Prasanna Santhanam
aefcee5753 CLOUDSTACK-2787: updateVpcOffering should have id as a required
without the id you cannot update a VPC offering. The docs for API will
go wrong and Marvin tests using update VPC will fail.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-31 17:49:19 +05:30
Sateesh Chodapuneedi
55b3e69733 Added check for legacy zones. Improved log statements.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-05-31 13:33:46 +05:30
Sateesh Chodapuneedi
4b67b1d36a CLOUDSTACK-1963 New mapping model for CloudStack zone and Vmware datacenter
Unit tests to test functionality of the feature.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-05-31 13:33:46 +05:30
Sateesh Chodapuneedi
2b0ca781d8 CLOUDSTACK-1963 New mapping model for CloudStack zone and Vmware datacenter
Upgrade handling.
Detect legacy zones during db upgrade and perform data migration.
If legacy zone is detected the table 'cloud'.'legacy_zones' is populated.
If an existing zone which has resources that belong to single VMware datacenter then such zone would not be marked as legacy zone. Such zone would be automatically associated with the specific Vmware datacenter of the clusters inside the zone.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-05-31 13:33:46 +05:30
Sateesh Chodapuneedi
cf2b8694b5 CLOUDSTACK-1963 New mapping model for CloudStack zone and Vmware datacenter
Adding all new beans introduced during the feature implementation to nonoss component context.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-05-31 13:33:46 +05:30
Sateesh Chodapuneedi
3696605ad6 CLOUDSTACK-1963 New mapping model for CloudStack zone and Vmware datacenter
DB schema changes to support this feature.
Added 3 new tables.
'vmware_data_center' to persist information about each Vmware datacenter known to cloudstack.
'vmware_data_center_zone_map' to persist mapping information of a Vmware datacenter & cloudstack zone.
'legacy_zones' to persist the known legacy zones in the deployment.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-05-31 13:33:46 +05:30
Sateesh Chodapuneedi
1f790e615a CLOUDSTACK-1963 New mapping model for CloudStack zone and Vmware datacenter
Introduced 2 new API command classes AddVmwareDcCmd & RemoveVmwareDcCmd.
The new APIs are addVmwareDc & removeVmwareDc, these APIs will associate a Vmware datacenter to a cloudstack zone & dis-associate a Vmware datacenter from a cloudstack zone.
Constraint checks are added for infrastructure change operations in zone that encompass resources like clusters.
Constraint checks are added in discoverer and manager classes.
Added a service 'VmwareDatacenterService' to expose methods that will have API implementation for 2 APIs addVmwareDc & removeVmwareDc

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-05-31 13:33:45 +05:30
Sateesh Chodapuneedi
6cd87d2e21 CLOUDSTACK-1963 New mapping model for CloudStack zone and Vmware datacenter
Support for DB changes for Vmware datacenter objects
Support for DB changes to store mapping with CloudStack zones.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-05-31 13:33:45 +05:30
Sateesh Chodapuneedi
99e9f5d308 CLOUDSTACK-1963 New mapping model for CloudStack zone and Vmware datacenter
Support for custom field "cloud.zone" for datacenter object in vCenter.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-05-31 13:33:45 +05:30
Rajesh Battala
af4177b86c Fixed CLOUDSTACK-2662 Preferred implicit dedication fails with insufficient capacity even if shared hosts are available.
Issues:
In Implicit planner resource usage is fixed to "Dedicated". It should be Dedicated/Shared depending upon the Implict Planner strict/preferred modes and hosts availability.

Fixed:
Issue is fixed by determining the resource usage to be "Dedicated/Shared" depending upon the Implicit strict/preferred mode and the hosts availability for the planner.
2013-05-31 00:28:56 -07:00
Pranav Saxena
8c9cd6e0ca nTIER - detail view to show the acl name with which it is associated 2013-05-31 11:55:17 +05:30
Laszlo Hornyak
bc98d8ab46 just an organize import
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-31 11:32:02 +05:30
Laszlo Hornyak
4894187991 test and cleanup for getBase64Keystore
ConfigurationServerImpl.getBase64Keystore did not close the file input stream correctly. This patch adds test and replaces the file read with commons-io FileUtils call.

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-31 11:26:33 +05:30
Pranav Saxena
2f29185943 Merge branch 'UI-explicitDedication' 2013-05-31 10:04:05 +05:30
Jessica Wang
7934b16317 CLOUDSTACK-2745: UI - Internal LB Rules - (1) detailView: remove Rules tab and add source port, instance port in Details tab. (2) Create Internal LB Rule dialog: corret label of source port and instance port. 2013-05-30 17:06:22 -07:00
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
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
Sheng Yang
70ca581499 CLOUDSTACK-2772: Programming firewall rules to VR when recovering redundant network 2013-05-30 14:10:18 -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