Commit Graph

20012 Commits

Author SHA1 Message Date
Mike Tutkowski 8f503c7ff6 CLOUDSTACK-4227 2013-08-10 17:03:35 -06:00
Mike Tutkowski 48cf866219 CLOUDSTACK-4235 2013-08-10 16:56:40 -06:00
Mike Tutkowski 8d36a4d80e CLOUDSTACK-4235 2013-08-10 16:54:33 -06:00
Prachi Damle 941c12dcd7 CLOUDSTACK-4234 Dedicated Resources: When multiple dedication groups are chosen for VM deployment, dedicated resources belonging to both groups should be considered
- Override the equals method
2013-08-10 12:14:12 -07:00
Prachi Damle 61bd96cb3e CLOUDSTACK-4234:Dedicated Resources: When multiple dedication groups are chosen for VM deployment, dedicated resources belonging to both groups should be considered
Changes:
- Do not add the dedicated resource to avoid list if it is present in the list of resources to consider for the deployment.
2013-08-10 12:14:07 -07:00
Jessica Wang 644f8173e9 revert 12ca1d9102 since it's a partial UI change. 2013-08-10 12:09:12 -07:00
Prachi Damle b0947c9572 CLOUDSTACK-4221: Dedicated Resources: changes to associate the dedicated resource with the 'ExplicitDedication' affinity group
Changes:
- Adding mocks in unit tests for new injected components
2013-08-10 11:03:03 -07:00
Prachi Damle fac54d2334 CLOUDSTACK-4221: Dedicated Resources: changes to associate the dedicated resource with the 'ExplicitDedication' affinity group
Changes:
- Implict creation of the 'ExplicitDedication' Affinity group during resource dedication
- Only one group per account or per domain will be present
- ListDedicatedResources by affinityGroup
- Deployment should consider dedicated resources associated to the group only
- Deleting affinity group should release the dedicated resouces
- Releasing the dedicated resources should remove the group associated if there are no more resources.
2013-08-10 11:02:57 -07:00
Prachi Damle b965032b57 CLOUDSTACK-4168 Root Admin should be able to create 'ExplicitDedication' affinity group at domain level and make it available for all accounts in the domain
Changes:
- 'ExcplicitDedication' type of group can be created/deleted by Root admin only
- Users can no longer create this type of affinity group
- RootAdmin can create this type of affinitygroup at domain level. Such a domain level group is available for all accounts in that domain for listing and for use during deployVM.
- The domain level affinitygroup should be visible to the users in that domain, domain admins and Root admin.
2013-08-10 11:02:42 -07:00
SrikanteswaraRao Talluri 359967d9f0 CLOUDSTACK-4230: Fix the script to not to add egress rule if zone network type is not advanced
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-10 19:18:07 +05:30
Harikrishna Patnala 48c8e64ae9 CLOUDSTACK-4123: 3.0.6 to ASF 4.2 Upgrade: On Adding VMWare Cluster to the Setup, 3.0.6 System VM Template for VMWare is downloaded instead of 4.2
Updating the new system template URLs for the existing templates during upgrade to 4.2.
If new 4.2 system template is registered before upgrade then marking the old templates as removed during upgrade.
2013-08-10 17:43:53 +05:30
Prasanna Santhanam 3455a76237 Add more debug logging to download detached volume test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-10 16:18:29 +05:30
Prasanna Santhanam 99329dfa4a CLOUDSTACK-4225: change to directory where snapshots are mounted
return back to HOME_DIR and unmount the secondary storage

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-10 15:42:05 +05:30
Edison Su 9f9cf2a7fc CLOUDSTACK-4216: fix extract volume for kvm 2013-08-09 20:52:08 -07:00
Edison Su 4cd76b5a99 CLOUDSTACK-4211: fix s3 on kvm 2013-08-09 19:43:45 -07:00
Rayees Namathponnan 8d1425dd26 TestVMLifeCycleSharedNwVPC need to disable since its failing, netscaler configuration need to change
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-09 19:43:07 -07:00
Jessica Wang 219b3eb0dd CLOUDSTACK-4189: UI > Infrastructure > zone > dedicatedZone object is different from zone object. Fix a bug that they were wrongly presumed to be the same object and wrongly mixed which caused zone object's properties being wrongly overriden. 2013-08-09 18:49:30 -07:00
Vijayendra Bhamidipati 0185c2f47b CLOUDSTACK-3609: ASF 4.1 to 4.2 Upgrade: Invalid Global Configuration parameters are present on the Upgraded Setup
Description:

    Remove unused global config parameters from database after
    upgrade from 4.1.0/4.1.1/4.1.2 to 4.2.0.
2013-08-09 18:24:10 -07:00
Vijayendra Bhamidipati d47b4a9949 CLOUDSTACK-4167: Put in upgrade paths in master for 4.1.2 and 4.2
Description:

    Define upgrade paths from 4.1.0 to 4.1.1, and 4.1.1 to 4.1.2,
    and 4.1.2 to 4.2.0. This new path will replace the existing
    4.1.0 to 4.2.0 path. This is required to allow upgrades from
    4.1.2 installations to 4.2.0. The 4.1.2 installation will have
    that db version upon installation from the 4.1 branch. Please
    note that these new upgrade paths are empty and don't make
    any SQL schema modifications.
2013-08-09 18:23:58 -07:00
Min Chen e61a38087d CLOUDSTACK-4204: return a ZoneScope in picking cache storage. 2013-08-09 18:12:15 -07:00
Min Chen 17f4a63eee CLOUDSTACK-4204:[Object_store_refactor] Snapshot created from volume in
zone2 is copying to secondary staging storages in zone1
2013-08-09 18:12:15 -07:00
Kelven Yang 17715d7e77 CLOUDSTACK-3237: pass disk file name instead of full datastore path when setting up storage relocation specin order to safely locate the disk device 2013-08-09 17:28:35 -07:00
Jessica Wang a8edf415b9 CLOUDSTACK-4134: UI > Infrastructure > zone > physical network > guest > edit action - pass vlan parameter to updatePhysicalNetwork API no matter vlan field is blank or not. 2013-08-09 17:26:15 -07:00
anthony f399372233 CLOUDSTACK-3495
CS used to access vnc server in xenserver dom0 to get VM console, now CS moves to use XenServer console API. getvncport plugin is not needed any more.
        remove the code related to getvncport in XenServer
2013-08-09 17:21:56 -07:00
Min Chen 4a318a727c CLOUDSTACK-3568: Change WaitForTask implementation to use polling
instead of invoking non-thread safe VMWare API
PropertyCollector.waitForValues.
2013-08-09 17:16:04 -07:00
rayeesn 90457edb41 Fix for CLOUDSTACK-3858, 2.2.14 does not contions symbolic link to create sever.xml, we need to check both file or symbolic link exist or not in save folder 2013-08-09 17:01:38 -07:00
frank ad508b7232 CLOUDSTACK-38333.0.6 to ASF 4.2 Upgrade: "cloud" Database Schema Inconsistencies on the Upgraded Setup - Tables "baremetal_dhcp_devices" and "baremetal_pxe_devices"
CloudStack CLOUDSTACK-3612
3.0.6 to ASF 4.2 Upgrade: Database Schema Inconsistencies on the Upgraded Setup
2013-08-09 16:57:20 -07:00
Min Chen bedabf07a0 CLOUDSTACK-4129: select SSVM based on ImageCache data store instead of
region wide image store.
2013-08-09 16:29:16 -07:00
Jessica Wang 6c4082301c CLOUDSTACK-4223: UI > Infrastructure > zone > USC > blades tab - fix a bug that blades failed to be listed in listView. 2013-08-09 16:18:58 -07:00
Jessica Wang e6d03f2322 CLOUDSTACK-4142: listNetworkOfferings API has been changed to not return system-owned network offerings to regular user(domain user). This API change causes several UI bugs. Change Edit Network action, Configuration tab of IP Address detailsView, to get network services from listNetworks API response instead of listNetworkOfferings API response. 2013-08-09 15:51:46 -07:00
Jessica Wang d4ebd51c2d CLOUDSTACK-4102: UI > change label of scaleUp/changeServiceOffering action from "Scale Up" to "Change Service Offering" for both running VM and stopped VM. 2013-08-09 15:10:13 -07:00
Jessica Wang 322b17a69d CLOUDSTACK-4218: UI > Infrastructure > zone > UCS > UCS manager details tab - fix a bug that passed wrong id to listUcsManagers API. 2013-08-09 14:52:49 -07:00
Anthony Xu e547b9f4cc CLOUDSTACK-4210
delete templateVO entry when there is no image store having this template
2013-08-09 12:02:17 -07:00
Sanjay Tripathi 822991a0e9 CLOUDSTACK-2909: Fix for EN-US keys. Keys are ' and " 2013-08-09 18:23:35 +05:30
Sanjay Tripathi f168df3472 CLOUDSTACK-2448: XenServer Guest OS Mapping Corrections. 2013-08-09 18:23:35 +05:30
Likitha Shetty 92f578df7d CLOUDSTACK-3786. Snapshots removed field is not set after successful deletion of the snapshot.
Set the removed field for snapshot when the storage gc removes the snapshot
2013-08-09 18:23:35 +05:30
Koushik Das 21c74c6453 CLOUDSTACK-4179: [Performance Testing] Time taken for Deploy VM async job to complete is considerably higher
The time increased due to the newly added dedicated resources feature. During regular VM deployment, all dedicated resources are put in avoid list so that they are not considered for deployment.
Now the way to compute the list of dedicated resources is not optimal and performance deteriorates in an environment having lot of pods, clusters and hosts as the logic is to query db. for each suc resource.

The fix is to optimize the logic not to loop through all resources but get the list of each resource type in a single query.
2013-08-09 16:03:17 +05:30
Prasanna Santhanam db65f2fe9c Fix indent to stop tabnanny from complaining
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-09 15:55:24 +05:30
Sanjay Tripathi c184925096 CLOUDSTACK-4187: 2.2.1 - 4.2 Upgrade: Few Guest OS Types information is inconsistent on the Upgraded Setup when compared with the fresh 4.2 Installation. 2013-08-09 15:01:41 +05:30
Sanjay Tripathi 8f3be62cbe CLOUDSTACK-3842: G11N: SC: Some regression issues occurred on build#4.2-256. 2013-08-09 15:00:35 +05:30
Kishan Kavala c75ac2ab20 CLOUDSTACK-4146, CLOUDSTACK-4147: Fix KVM snapshot upgrade.
when migrating KVM snapshot path, CONCAT is not required. back_snap_id is complete path for KVM snapshots
2013-08-09 14:45:37 +05:30
Nitin Mehta 281abef0de CLOUDSTACK-4133
Introduce a global lock on template and pool id so that concurrent threads wont be inserting the same row in DB and hit MySQLIntegrityConstraintViolationException
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-09 13:53:31 +05:30
Wei Zhou dacc4e1a4f CLOUDSTACK-2729: increase waiting timeout for global file lock to 300 seconds
(cherry picked from commit 6d86af85ba)
2013-08-09 08:59:34 +02:00
Devdeep Singh 653e2e54a2 CLOUDSTACK-2670. Migrate volume doesn't allow migration of volumes of a stopped vm.
The findStoragePoolsForMigration and migrateVolume api were explicitly blocking moving
a volume if the instance to which it was attached was stopped. Updated the check for
the same.
2013-08-09 12:18:38 +05:30
Prasanna Santhanam 01c452ab63 Fix VPC test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 75cd6cce40)
2013-08-09 12:09:59 +05:30
Prasanna Santhanam 69dffe1971 Fix redundant router deployment tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b3fb75e6c6)
2013-08-09 12:09:52 +05:30
Prasanna Santhanam 414f7c2333 Fix volumes tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit bad72a0aeb)
2013-08-09 12:09:47 +05:30
Jessica 26f1eab323 CLOUDSTACK-1682. DOC. Document reset root volume on VM reboot. 2013-08-08 23:13:12 -07:00
Jessica 8bdd69251b CLOUDSTACK-816. DOC. Document health checks for load balanced instances. 2013-08-08 21:49:18 -07:00
Jessica 1786f1d701 CLOUDSTACK-871. DOC. Document changing a VM's base image. 2013-08-08 20:56:45 -07:00