Commit Graph

5554 Commits

Author SHA1 Message Date
Prachi Damle 38eee41c7c CS-16248: Host Reconnects are stuck when 4 management server are restarted on a 30k host/20k vm set up.
Reviewed-by: Alena

Changes:
- Removing the massive massive redundant search over op_host_capacity
2012-08-31 10:59:16 -07:00
Vijay 2f1dbb17ce CS-16209. Correct the updateAutoScaleVmProfileCmd. The counterParams is
corrected.
Reviewed-By:Devdeep
2012-08-31 21:21:59 +05:30
Jayapal Reddy 653eb07627 CS-16222: Reset password failed for Guest VM
Reviewed-by: Abhi
2012-08-31 15:59:13 +05:30
Nitin Mehta f352bb17bf CS-15158: Correcting the allocated size for local storage in listStoragePools
Reviewed-by: Kishan
2012-08-31 15:21:29 +05:30
Alena Prokharchyk bc1574709d CS-16213: agent LB - don't process Disconnect event from other management server in cluster, if the recipient is the future owner of the host. The disconnect will be handled during the rebalance host connection process itself.
Reviewed-by: Kelven Yang
2012-08-30 17:44:45 -07:00
Alena Prokharchyk 62f9538217 Fixed lineendings in ClusteredAgentManagerImpl
reviewed-by: Alena
2012-08-30 15:17:32 -07:00
Alena Prokharchyk 960ea522aa Revert "CS-16213: maintain single thread cluster worker until we introduce thread ordering based on the source management server id"
Reviewed-by: Kelven Yang
2012-08-30 14:57:35 -07:00
Sateesh Chodapuneedi 0c95075677 CS-15293: Snapshot deletes the data it backed up
Reviewed-by: Edison
Description:

    Ensure Storage cleanup thread will not attempt to cleanup temporary
    snapshot data of a specific volume & specific account.
2012-08-30 17:18:42 -04:00
Kishan Kavala bee5b1ca33 bug CS-16181: Do not send network usage command for shared guest network
status CS-16181: resolved fixed
reviewed-by: Nitin
2012-08-30 16:54:47 +05:30
Murali Reddy bea69edd96 bug CS-16167: Load Balancing Rules are not seen in the CloudStack GUI after Creation .
Reviewed-by: Koushik Das

This fix ensures that public IP's allocated for ELB, system VM's, User VM's returned appropriatley
on listPublicIPAddresses command
2012-08-30 15:15:52 +05:30
Alena Prokharchyk 494975e442 CS-16213: maintain single thread cluster worker until we introduce thread ordering based on the source management server id
Reviewed-by: Kelven Yang
2012-08-29 18:31:26 -07:00
Fang Wang 66a2d8a0b4 cs-15627
Metadata should not expose "instance-id","vm-id" information to the regular User
Description:
Add the fix for the instance-id output. instance-id displays the UUID as well now.

reviewed-by:   vijay
2012-08-29 15:17:42 -07:00
Prachi Damle 6dde7f191a CS 16158: Load Test - Adding host takes much longer in 3.0.x compared to 2.2.14.
Reviewed-By: Alena

Changes:
- Removing unnecessary search over op_host_capacity table in StorageCapacitylistener.
2012-08-29 12:07:10 -07:00
Alena Prokharchyk 9a76ceda52 More logging to agent timer scan
Reviewed-by: Prachi
2012-08-29 11:29:56 -07:00
Prachi Damle da23e9de67 CS-16158 : Load Test - Adding host takes much longer in 3.0.x compared to 2.2.14.
Reviewed-By: Alena
Changes:

There is an unnecessary search over capacity table that scans entire table.
2012-08-29 11:25:39 -07:00
Vijay c3232cff8d BUG: CS-16209. AutoScale. Supporting network element independent counter parameters in AutoScaleVmProfile.
Reviewed-By: Devdeep, Rajesh B.
2012-08-29 18:51:26 +05:30
Deepak Garg 9c92f4537e CS-16168 Cleaning up AutoScale resources when the account is deleted
Reviewed-by: vijay.venkatachalam@citrix.com
2012-08-29 11:08:05 +05:30
Vijayendra Bhamidipati edce457226 CS-16145: InterVlan - Error Report to Regular Account has reference to ACL Rule ID
Reviewed-by: Vijay Bhamidipati
Description:

    Fixing message from previous commit.
2012-08-28 10:52:35 -07:00
Murali Reddy 2ed926b0e5 bug CS-16103 [SRX] After Upgrade 2.2.14 -> Burbank - Destroy VM results in 'Unable to expunge VM'
fixing bug in host details (for F5 and SRX) upgrade from 2.2.14 to 3.x

reviewed-by : Kishn
2012-08-28 17:04:41 +05:30
Prasanna Santhanam 9e3980521a Closing open transactions from SecurityGroupWorkDao
reviewed-by : Prachi Damle
2012-08-28 16:22:03 +05:30
Alena Prokharchyk 828c5a9f40 IpAssoc: when set ROUTER_GUEST_IP, get network id from associatedNetworkId field of the ip address instead of networkId as networkId is the id of the public network the ip belongs to
Reviewed-by: Sheng Yang
2012-08-27 16:24:51 -07:00
Fang Wang 8ede202718 CS-15627:
Metadata should not expose "instance-id","vm-id" information to the regular User
Description:
	Fix the vm-id output. Output the UUID instead of the db id. Did not change the instance-id.

reviewed-by: vaijy
2012-08-27 15:54:53 -07:00
Sheng Yang 4783139426 CS-16188: S2S VPN: Limit VPN customer gateway name duplicate checking within account
Reviewed-by: Anthony Xu
2012-08-27 15:23:45 -07:00
Alena Prokharchyk f939cee219 CS-16178 - when remove PF rule, in VPC setup make sure if the rule is the last one for the network, disassociate it from the network
Reviewed-by: Sheng Yang
2012-08-27 13:44:20 -07:00
Alena Prokharchyk 0b01c00185 VPC: CS-16179 - only offerings in Enabled state can be used for VPC creation
Reviewed-by: Frank Zhang
2012-08-27 11:05:38 -07:00
Alena Prokharchyk 8d7eff42f9 Fixed unittest
Reviewed-by: alena
2012-08-27 09:40:44 -07:00
Koushik Das 749787cd9e CS-16142 : Global configuration "use.local.storage" should not be present in present in Fresh install of 3.0.5 and should be deleted/marked obsolete in upgraded 3.0.5 installation.
Cleaned up use.local.storage global setting.
Implemented by: Bharat
Reviewed-by: Koushik
2012-08-27 16:55:16 +05:30
Abhinandan Prateek ac7b5c4492 bug 13946: reducing poll interval
reviewed-by: abhi
2012-08-25 09:38:27 +05:30
Vijayendra Bhamidipati b24c673a9d CS-16145: InterVlan - Error Report to Regular Account has reference to ACL Rule ID
Reviewed-by: Vijayendra Bhamidipati
Description:

    Replacing db ids with uuids in all instances where
    NetworkRuleConflictException is thrown.
2012-08-24 14:37:38 -07:00
Vijayendra Bhamidipati a5536d40c0 CS-16155: InterVlan - UI - Error Message returned on enabling Static NAT is confusing to the User
Reviewed-by: Vijay
Description:

    Rewording exception message to avoid confusion.
2012-08-24 14:36:52 -07:00
Koushik Das c401ff913d CS-16117 : Load Test - In a 5000 hosts/5000 vm setup ,~450 Vms failed to get deployed becasue of "com.cloud.exception.InsufficientServerCapacityException" even though we have hosts that have enough capacity to host the vms.
Using VM host id from deployment planner passed to storage allocator instead of VMprofile parameter. In retry cases VMprofile parameter will have incorrect host id.
Reviewed-by: Nitin
2012-08-24 15:47:38 +05:30
Prachi Damle 34514d9ab5 CS-16146 2.2.14 to 3.0.5 : Upgrade fails for Production DB
Reviewed-by: Anthony Xu

Changes:

- host_details should not contain duplicates - CloudStack always removes entire set of details and add new.
- Maybe 2.2.14 had some bug causing the duplicate.
- Added IGNORE to the ALTER sql to take care of duplicates in host_details.
2012-08-23 18:49:03 -07:00
Alena Prokharchyk 2a190ce9f3 CS-16143: don't return volumes of Destroyed vms to the regular user as he can't recover vms anyway.
Reviewed-by: Anthony Xu
2012-08-23 11:01:21 -07:00
Alena Prokharchyk c7890554e3 CS-16111: db upgrade - fixed inconsistencies in indexes names
Reviewed-by: Anthony Xu
2012-08-23 10:02:36 -07:00
Koushik Das b81186904a CS-16148 : Create volume checks for presence of atleast one shared storage pool. Check should be based on type (local/shared) of volume getting created
Reviewed-by: Nitin
2012-08-23 19:08:43 +05:30
Koushik Das 83651f535e CS-16117 : Load Test - In a 5000 hosts/5000 vm setup ,~450 Vms failed to get deployed becasue of "com.cloud.exception.InsufficientServerCapacityException" even though we have hosts that have enough capacity to host the vms.
Using associated VM host id only in case of data disk. Also moved the allocation logic for local disk from FirstFit to LocalStoragePoolAllocator.
Reviewed-by: Nitin
2012-08-23 19:08:16 +05:30
Alena Prokharchyk 1fa67ff317 VPC: CS-16100 - 1) when start VPC router, never pick up any other hypervisor besides vmWare and Xen 2) When start user vm in vpc network, throw an error when deploy from the tempalate of not supported hypervisor
Reviewed-by: Frank Zhang
2012-08-22 11:48:28 -07:00
Nitin Mehta bc8bdf8723 CS-16135: Create volume after upgrade from snapshot taken in 2.2.14 deletes the snapshot physically from sec. storage. Added DB upgrade sql to make swift_id NULL if they are set to 0 and also added a check in the code to check for swift not present by checking swift_id != null && !=0
Reviewed-by: Kishan
2012-08-22 19:56:36 +05:30
Koushik Das c4257acc41 CS-16118 : LoadTest - Average VM deployment time is still very high compared to 2.2.14. It is more than double the time it took during 2.2.14.
Skipping threshold checks for cpu/memory in case the threshold values for cluster.cpu/memory.allocated.capacity.disablethreshold is set to 1.
Reviewed-by: Nitin
2012-08-22 17:42:55 +05:30
Abhinandan Prateek 70ec6089ac bug CS-15978: Fix for a corner case during fullsync where it tolerates a VM to exist on two clusters by virtue of it’s current host id and last host id (being on two diff clusters).
reviewed-by: Murali
2012-08-22 12:37:00 +05:30
Alena Prokharchyk b90349e052 Fixed line endings in ApiConstants and ApiResponseHelper classes to be unix style
Reviewed-by: Alena (no logic has been changed)
2012-08-21 16:48:25 -07:00
Alena Prokharchyk 0aec9e7f74 CS-16111 - DB upgrade; fixed foreign keys names
Reviewed-by: Frank Zhang
2012-08-21 14:36:45 -07:00
Alena Prokharchyk 3f53ada5f3 PublicIpAddress api response: new parameter "associatednetworkname" - the name of the guest network associated with the ip address
Reviewed-by: Frank Zhang
2012-08-21 11:21:53 -07:00
kishan 99706c7c45 bug CS-16112: During unplug nic iptables rules are cleaned up in both cloud_nic.sh and vpc_netusage.sh. Consolidated this code in cloud_nic.sh
status CS-16112: resolved fixed
reviewed-by: Nitin
2012-08-21 20:16:35 +05:30
Murali Reddy ba85d7e7b4 bug CS-16103: [SRX] After Upgrade 2.2.14 -> Burbank - Destroy VM results in 'Unable to expunge VM'
fixing a bug where network offering id for network is overwritten with differnt id
Reviewed-by:Koushik
2012-08-21 16:27:43 +05:30
Nitin Mehta b76bcdd62f CS-16089: Create Template after upgrade from snapshot taken in 2.2.14 was failing since the swift_id was not null but 0 instead. Put a check in the code to check for not null and not 0 swift_id to go and download the snapshot from the swift.
Reviewed-by: Kishan
2012-08-21 13:39:05 +05:30
Alena Prokharchyk 9017aedb8d Fixed unittest
Reviewed-by: Alena (that's the unittest, and has no impact on production)
2012-08-20 16:19:42 -07:00
Alena Prokharchyk d0dac13787 CS-15304: VR deployment - release the lock for the network once the router entry is allocated (2.2.x behavior) as opposed to releasing it when the router start is completed
Reviewed-by: Frank Zhang
2012-08-20 16:05:22 -07:00
Edison Su ef02d1ae87 add recreate.systemvm.enabled parameter to control recreating systemvm 2012-08-20 11:10:28 -07:00
Murali Reddy b9a6e60ea9 bug CS-16068: Restart Guestnetwork which has netscaler failed
On restart network with out clean-up option, no need to re-implement the network on then backend NetScaler device.
2012-08-20 19:40:56 +05:30