Commit Graph

5538 Commits

Author SHA1 Message Date
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
Abhinandan Prateek 953d0b7c0b bug CS-16031: marking older snapshots removed in db 2012-08-20 13:25:27 +05:30
Alena Prokharchyk d158b38007 More logging to lock operations on the network 2012-08-17 16:27:32 -07:00
Vijayendra Bhamidipati 0cf0523afe CS-16042: 3.0.x to 3.0.5 Upgrade: VMWare : Upgrade Procedure for using the new Burbank System Template in place of Acton System Template Required
Description:

    Modifying reference to system VM template for vmware for the
    2.2.14 to 3.0 upgrade path so that it picks up the burbank
    template if upgrading from 2.2.14 to 3.0.5 or beyond, and
    the acton template if upgrading from 2.2.14 to 3.0.[0-4].
2012-08-17 15:59:35 -07:00
Edison Su d6092380cd HA worker thread needs to have its own worker thread configuration 2012-08-17 12:54:02 -07:00
Vijayendra Bhamidipati 4d7c6f43ac CS-16042: 3.0.x to 3.0.5 Upgrade: VMWare : Upgrade Procedure for using the new Burbank System Template in place of Acton System Template Required
Description:

    Updating system VM template for vmware for 3.0.5.
2012-08-17 12:24:27 -07:00
Sheng Yang f1c77e84dd CS-16060: Firewall service should be excluded from conserve mode checking 2012-08-17 10:56:01 -07:00
Vijay 623f3b26ca CS-15830. If autoscale vm group creation is attempted on a unimplemented
network an error is thrown.
Enhancing the check to make sure AutoScaleVmGroup should have atleast 1
min member.
2012-08-17 20:42:09 +05:30
Deepak Garg ad6ac9b449 CS-15617. Changed CounterResponse to a List as queryAsyncJob expects it.
reviewed by: Nitin
2012-08-17 17:43:50 +05:30
Vijay f2aeb9351f CS-15927 : Able to add autoscale VMs to static LB rule
First Part: AutoScale Vms are named as "AutoScale-LB-<lbname>"
    This could be used by UI and have filter mechanism to not display
    autoscale vms during the "Add Vms" dialog for a non autoscaled
    lb rule.
2012-08-17 17:20:21 +05:30
Likitha Shetty 5b9224f290 CS-16041. Not able to deploy Vms using base64 encoded userdata.
Relaxed the validation applied on userdata.
Reviewed by: Prachi
2012-08-17 11:48:50 +05:30
Alena Prokharchyk 01f33deca0 Fixed regression in GuestNetworkGuru - get networkId from the network object passed to the method call instead of retrieving it from tne NicProfile when it wasn't set yet 2012-08-16 15:46:48 -07:00
Sheng Yang e3e5f1bb74 CS-16043: Using network based router rather than account for RVR detection 2012-08-16 15:33:39 -07:00
Alena Prokharchyk 44fd5108f3 CS-15999: added nics to domain router api response 2012-08-16 10:45:23 -07:00
Alena Prokharchyk 9b5819bef2 CS-16030: set UUID when persist public ip address 2012-08-16 10:12:24 -07:00
Abhinandan Prateek 3a0905b280 bug cs-15946: added vpc.max.networks for a integer validation 2012-08-16 18:04:39 +05:30
kishan 02a8ee911d bug CS-15878: created network usage rules after ipassoc during reboot
status CS-15878: resolved fixed
2012-08-16 17:38:20 +05:30