Commit Graph

19978 Commits

Author SHA1 Message Date
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
Jessica 2382d35d45 CLOUDSTACK-867. DOC. Fix cross-reference in doc for dynamic CPU and RAM scaling for running VMs. 2013-08-08 18:03:26 -07:00
Kelven Yang 4e7b1de45a CLOUDSTACK-3778: serialize configuration of port group at per-host level to prevent run-time race condition 2013-08-08 17:41:45 -07:00
Jessica b2264afef0 CLOUDSTACK-867. DOC. Document dynamic CPU and RAM scaling for running VMs. 2013-08-08 17:49:37 -07:00
Edison Su 2b32477aca CLOUDSTACK-3538: if passcmdline succeed, don't need to retry again, and increase the retry to 5 minutes at most 2013-08-08 17:19:34 -07:00
Jessica Wang aa8d56652d CLOUDSTACK-4142: listNetworkOfferings API has been changed to not return system-owned network offerings to regular user(domain user). Therefore, change UI to determine whether a network has EIP service/capability upon listNetworks API response instead of listNetworkOfferings API response. 2013-08-08 17:16:47 -07:00
Jessica a5ca05fdea CLOUDSTACK-2402. DOC. Document volume snapshot enhancements for VMware. 2013-08-08 17:14:57 -07:00
Jessica Wang 2be315b9d7 CLOUDSTACK-4069: listNetworkOfferings API has been changed to not return system-owned network offerings to regular user(domain user). Therefore, change UI to determine whether a network is EIP/ELB upon listNetworks API response instead of listNetworkOfferings API response. 2013-08-08 16:25:23 -07:00
Min Chen 848abfd384 CLOUDSTACK-4190: Add endpoint selector implementation for ImageCache
data store and also delete object from staging area for volume copy from
primary to secondary or vice versa.
2013-08-08 16:08:50 -07:00
Min Chen 605376dc4d CLOUDSTACK-4190:[Object_store_refactor] volume should be deleted from
staging storage after successfule volume migration .
2013-08-08 16:08:50 -07:00
Jessica e1bd0ee039 CLOUDSTACK-856. DOC. Document CPU and RAM overcommit functionality. 2013-08-08 15:59:16 -07:00
frank 89fa7a58ae CloudStack CLOUDSTACK-4160
listUcsManagers API needs to be able to take in id parameter
2013-08-08 14:55:15 -07:00
Alena Prokharchyk cf62be6571 CLOUDSTACK-4141: resizeVolume - read the result of AsyncCallFuture execution. If false, return null to the API caller 2013-08-08 14:01:11 -07:00
Edison Su 784a9d45d0 CLOUDSTACK-4106: fix volume related operations on vmware&s3 2013-08-08 12:34:54 -07:00
Alena Prokharchyk 6999fca4d7 CLOUDSTACK-4193: don't let privateGateway to be created with NULL networkId 2013-08-08 10:49:25 -07:00
Bharat Kumar 37f0428f54 CLOUDSTACK-4138: keep the existing changes in cloud-set-guest-sshkey.in to make sure we do not break the backward compatibility
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-08-08 10:42:01 -07:00
Jessica Wang e101806568 CLOUDSTACK-4102: UI > Intances menu > when user VM is running, hide scaleUp action if hypervisor is KVM. 2013-08-08 10:35:09 -07:00
Min Chen 420b4ab402 CLOUDSTACK-1405:ZWPS: listStoragePool API doesn't accept scope parameter
.
2013-08-08 10:08:07 -07:00
Prasanna Santhanam e8383cce27 include test for volumes created in non-root domains
Test verifies that volumes in non-root domains are visible to the user
that created them.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit fb6aa4ebfa2c2ee956e4e8511f6d7eba777d4375)
2013-08-08 22:19:53 +05:30
Wei Zhou ea50c6663f CLOUDSTACK-2729: use spd.getTargetPath instead of mount path to fix issue on local storage
(cherry picked from commit b2ed632396)
2013-08-08 16:43:23 +02:00
Sateesh Chodapuneedi caa9d27822 CLOUDSTACK-2558 Nexus configuration cleanup is not done when there is a failure while adding the Nexus enabled VMWARE cluster which is causing for NPE while readding the cluster with same configuration details
If cluster addition fails then cleaning up the Nexus VSM related to the cluster.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-08 13:46:59 +05:30
Chip Childers f92ccb4244 fixing build error with message Need to add a category for createCacheStore.xml to <https://builds.apache.org/job/cloudstack-apidocs-master/ws/tools/apidoc/gen_toc.py>:known_categories 2013-08-08 09:38:00 -04:00
Girish Shilamkar 664fbf2320 CLOUDSTACK-4144 Make specifyVlan to false for shared network
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit f1734ed71d)
2013-08-08 16:59:57 +05:30
Saksham Srivastava 8191f5c690 CLOUDSTACK-4021:[Automation] TestExplicitDedication.test_01_deploy_vm_with_explicit_dedication failed to deploy VM
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 16:57:41 +05:30
Dave Cahill b1a5b63d9e Update Maven repo location for MidoNet dependencies
The existing Maven repo in the POM will be unavailable soon, so I have
changed  it to cs-maven.midokura.com.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c12d87e3b650bd1ab0e12b97f5ab8501979949a7)
2013-08-08 16:56:10 +05:30
Likitha Shetty be5d076964 CLOUDSTACK-4186. Signature computed while accessing VM's console is not aligned with how signature is computed for other APIs 2013-08-08 16:17:51 +05:30
Anshul Gangwar 9a67a5d1ee CLOUDSTACK-2187: fixed by adding snmp-alerts and syslog-alerts plugin dependency to awsapi
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-08 10:30:43 +05:30
Radhika PC fb212f8da4 CLOUDSTACK-804 edit comments 2013-08-08 15:13:39 +05:30
Radhika PC a44b16d15e Revert "CLOUDSTACK-804 bharat's comments"
This reverts commit 72d3bc3c12.
2013-08-08 15:13:36 +05:30
Koushik Das 470e76b3d6 CLOUDSTACK-4136: [upgraded ENV]Deleting Snapshot which was created before upgrade is throwing NPE.
Snapshot object is being accessed even when it is null. In case snapshot is not present in backup store the code should return after cleaning db entry.
Also noticed discrepancy in the upgraded db setup but couldn't fully verify it, so added logging in the upgrade logic for template/snapshots etc.
2013-08-08 15:05:29 +05:30
Likitha Shetty c84f373d47 CLOUDSTACK-4182. Id field is not set in the xml response for DeployVirtualMachine/CreateVolume/CreateNetwork API's. 2013-08-08 14:29:19 +05:30
Sateesh Chodapuneedi a3450afff5 CLOUDSTACK-4165 3.0.6 to ASF 4.2 Upgrade: Data Migration step of the Upgrade Fails on "persistLegacyZones"
Track the Datacenter of previous cluster correctly while going through each cluster in the zone to see if 2 clusters are from different DC/vCenter.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-08 09:00:10 +05:30
Sateesh Chodapuneedi 1076c267fa CLOUDSTACK-4181 [upgrade][2.2.14 to 4.2][vmware]After upgrade the system vms fail to start
number of cores per socket for ESXi4.1 is 1.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-08 08:56:29 +05:30
Radhika PC 72d3bc3c12 CLOUDSTACK-804 bharat's comments 2013-08-08 14:09:45 +05:30
Prasanna Santhanam c2840b93f5 Fix the kwargs passed in as dict to listVirtualMachines
listVirtualMachines queried using tags needs the tags (key,value) to be
passed as a dictionary.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-08 12:07:09 +05:30