Commit Graph

5527 Commits

Author SHA1 Message Date
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
Nitin Mehta d1fd10fc43 bug CS-15278: Download Volume fails in case of Multiple Secondary Storages. Correcting it to use the same secondary storage to copy the volume and creating the soft link
Reviewed-by: Kishan
2012-08-16 15:40:56 +05:30
Jayapal d55021e82f Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-08-16 14:27:22 +05:30
Jayapal 1376a9e762 Bug CS-15862: assigning diff ip to VR
reviewed-by: alena
2012-08-16 14:22:27 +05:30
Prachi Damle 68c1fe0899 CS-16022: If host connection fails due to some DB error, host disconnect does not happen and mgmt_server_id is not removed.
Making sure host disconnect is called.
2012-08-15 18:13:13 -07:00
Sheng Yang eaddb44c8a CS-14253: Apply IP when firewall rule is in place 2012-08-15 15:08:17 -07:00
Sheng Yang 17941d9d64 Revert "bug 14484: Apply existed firewall rules when associating IP"
This reverts commit d80b58fe1d.
2012-08-15 15:08:17 -07:00
Alena Prokharchyk 5acc99c774 Fixed unittest for VPC - added missing implementation for some methods in Mock classes used by the test 2012-08-14 13:49:40 -07:00
Vijay d9b843ed9d CS-15938. Support for multiple guest networks with autoscale
The loadbalancers network and the VM's network are the same.
Hence not getting the input from user and passing the loadbalancers network
for the AutoScale VMs (for advanced network).
2012-08-14 16:34:29 +05:30
Vijayendra Bhamidipati 31118d91a3 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-08-13 17:59:09 -07:00
Vijayendra Bhamidipati 93a0989167 CS-15569: InterVlan - ApiDispatcher reports wrong Information as the reason for Failure. Public IP Addresses unrelated to the Guest VM are mentioned to be associated with the VM.
Description:

    Fixing misleading error message in exception.
2012-08-13 17:58:17 -07:00
Anthony Xu 6315b5ad41 CS-15922 : to avoid race condition when expunge vm, expunge interval and expunge deplay should be larger than 600 second 2012-08-13 17:41:21 -07:00