Commit Graph

21616 Commits

Author SHA1 Message Date
Jayapal d221efcf81 Fixed the tests related to network acl 2013-12-11 13:07:22 +05:30
Bharat Kumar 903af43be4 CLOUDSTACK-4498 Do not reserve memory and cpu for vmware VMs, if
the vmware.reserve.cpu and vmware.reserve.mem are set to false while not over committing.

Signed-off-by: Jayapal <jayapal@apache.org>
2013-12-11 13:07:22 +05:30
Damodar Reddy 3af903f43d CLOUDSTACK-4916: Fixing the issue with DB HA when there are more than 2 db nodes (Issue was mysql DriverManager was returning salve db nodes on random basis which was causing issue)
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-12-11 12:39:05 +05:30
Jayapal 9a5cf614ab CLOUDSTACK-5244 Fixed issue with applying acl items of acl to private gateway 2013-12-11 10:43:00 +05:30
Sheng Yang dadcc8a386 CLOUDSTACK-5453: Fix VPN connection monitoring in KVM
It's broken by:

commit 7f104b1feb
Author: Edison Su <sudison@gmail.com>
Date: Fri Oct 12 18:24:50 2012 -0700

    [PATCH] CLOUDSTACK-335: fix lb for vpc on kvm
2013-12-10 17:33:15 -08:00
Jessica Wang 8533c1670c CLOUDSTACK-5412: UI > Add Secondary Storage > NFS Server field > change label from "NFS Server" to "Server" since this field is also shown when provider "SMB/CIFS" is elected. 2013-12-10 16:06:16 -08:00
Jessica Wang df24b2be00 CLOUDSTACK-5341: UI > Infrastructure > secondary storage > add secondary storage > Create NFS Secondary Staging Store checkbox > make this checkbox not disabled any more because NFS staging (of a zone) might already exist (from "NFS secondary storage => Prepare Object Store Migration => NFS staging") 2013-12-10 15:37:39 -08:00
Jessica Wang c80b45c9ed CLOUDSTACK-5252: UI > Infrastructure > Virtual Routers > Select view: group by zone/pod/cluster > (1) pass listAll=true to listRouters. (2) reduce redundant API call. 2013-12-10 14:41:00 -08:00
SrikanteswaraRao Talluri 1605e55ebd CLOUDSTACK-5449: fix the log creation failure case and added an option
for user to provide --log-folder-path=

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-12-11 01:52:34 +05:30
Santhosh Edukulla 4ee3fdbde9 CLOUDSTACK-5423: Fixed 5423 2013-12-10 20:26:45 +05:30
Ashutosh K 395c624e53 CLOUDSTACK-4820: Remove netacl check from test_01_wait_network_gc
From 4.2, network ACLs are no longer associated with a single network.
Multiple tiers within a VPC can share the same ACL.
Due to this, ACLs should not be cleaned up during network GC.
2013-12-10 00:52:10 -05:00
Harikrishna Patnala b478eed655 CLOUDSTACK-5419: missing parameters in configuration table and to remove unused parameters
Signed-off-by: Koushik Das <koushik@apache.org>
2013-12-10 16:36:55 +05:30
Jayapal 785b71e399 Fixed issue in loading cidr on VR reboot 2013-12-10 15:18:10 +05:30
Jayapal 3caef2b1d5 CLOUDSTACK-5278 Fixed cleaning up egress default rules on VR and SRX
1. Egress default policy rules is send to the firewall provider. It is up to the
    provider to configure the rules.
   2. The default policy rules are send for both allow and deny default policy.
   3. On network shutdown rules for delete are send.
   4. For VR and SRX, by default deny the traffic. So no default rule to deny traffic is required.
2013-12-10 14:43:13 +05:30
Anthony Xu ff9786177e put CS/XS plugin log into seperate directory 2013-12-10 01:11:59 -08:00
Will Stevens 794c17921b CLOUDSTACK-5425: Fixed egress rules in Palo Alto plugin and removed un-need api commands.
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-12-09 18:28:48 -08:00
Alena Prokharchyk 93fd323357 Resource metadata support for Site2SiteVpnGateway 2013-12-09 17:37:37 -08:00
Sheng Yang a11730f57c CLOUDSTACK-5297: Fix ACL rules on VPN for VPC
Insert a new iptables chain for FORWARD chain, in order to let following ACL
rules being executed as well.
2013-12-09 17:28:53 -08:00
Jessica Wang b72285f3ea CLOUDSTACK-5412: UI > Add Secondary Storage > provider dropdown > change option "SMB/cifs" to "SMB/CIFS". 2013-12-09 16:50:20 -08:00
Jessica Wang 409cbd4c7a CLOUDSTACK-4428: KVMsnapshoteanbled property in listCapabilities API response has been renamed. Here is corresponding UI change. 2013-12-09 15:21:04 -08:00
Nitin Mehta ebbc9292f3 CLOUDSTACK-3664:
scaling up vms was not considering parameter cluster.(memory/cpu).allocated.capacity.disablethreshold. Fixed it
Also added overprovisioning factor retrieval at the cluster level for host capacity check
2013-12-09 15:03:20 -08:00
Nitin Mehta 5d9335fcc3 CLOUDSTACK-3664:
scaling up vms was not considering parameter cluster.(memory/cpu).allocated.capacity.disablethreshold. Fixed it
Also added overprovisioning factor retrieval at the cluster level for host capacity check
2013-12-09 14:51:59 -08:00
Frank.Zhang fca7dd29ab Merge branch '4.3' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.3 2013-12-09 14:47:37 -08:00
Frank.Zhang c0724349a6 CloudStackCLOUDSTACK-5350
[Automation] Failed to attach volume to VM, if the vm is created with
option startvm=false

duplicate of https://issues.apache.org/jira/browse/CLOUDSTACK-4244
merge the fix to 4.3
2013-12-09 14:47:02 -08:00
Prachi Damle 6df86db230 CLOUDSTACK-5426: Cannot deploy instance having multiple volumes that use different storage tags for storage pools in same cluster
Changes:
- We need to reset the avoid set to its original state while calling the storage pool allocators for each volume.
- This will prevent affecting allocation of the disks due to the avoid set output of the prior disk allocations.
2013-12-09 14:10:55 -08:00
Kishan Kavala 33ff20e1c3 CLOUDSTACK-5145 : Added permission checks while listing network ACLs and acl Items. Users will be able to list items that they have access to. 2013-12-09 19:49:29 +05:30
Santhosh Edukulla 391395f140 CLOUDSTACK-5413: Fixed bug CLOUDSTACK-5413 2013-12-09 19:46:53 +05:30
Santhosh Edukulla 6b5402bbff CLOUDSTACK-5269: Fix nose failures. 2013-12-09 19:41:49 +05:30
Santhosh Edukulla 11d8c4618e Moving build scripts maintained in separate repo to cloudstack repo 2013-12-09 19:30:28 +05:30
Girish Shilamkar 0533001feb CLOUDSTACK-5364: Fail the test incase cleanup is not successful 2013-12-09 19:19:07 +05:30
Likitha Shetty 13faa4dd92 CLOUDSTACK-5416. [VMware] Not able to add seventh disk to VM in an upgraded setup. 2013-12-09 17:07:32 +05:30
Anshul Gangwar 1742e7627c Fix nuget package path error. 2013-12-09 13:06:47 +05:30
Anshul Gangwar a7e10fcfaf Fix the directory path of where the nuget packages get downloaded. 2013-12-09 11:06:56 +05:30
Hugo Trippaers 460b0df1c9 Just one level higher 2013-12-09 10:45:05 +05:30
Hugo Trippaers c6832379f8 Fix pom problems causing compilation failures. No master pom was set and this module uses maven standard directory locations 2013-12-09 10:44:56 +05:30
Girish Shilamkar 8f9d801f52 Added files missed in cafd820e3e 2013-12-07 13:44:48 +05:30
Alena Prokharchyk c305e4ec5a CLOUDSTACK-5390: obey page/pageSize parameters in listNetworks call
Conflicts:
	server/src/com/cloud/network/NetworkServiceImpl.java
2013-12-06 16:47:41 -08:00
Jessica Wang 90d29ac86a CLOUDSTACK-5354: UI > update ISO > make isExtractable, isFeatured checkbox non-editable to normal user. 2013-12-06 16:34:49 -08:00
Kelven Yang d931718ab2 CLOUDSTACK-669: put system vm work under new vmsync model 2013-12-06 15:48:10 -08:00
Fang Wang 3f526fb052 cloudstack-4308 Add API listCapabilities for KVMSnapshotEnabled so that UI can use it for recurring snapshot.
Conflicts:
	api/src/org/apache/cloudstack/api/command/user/config/ListCapabilitiesCmd.java
	api/src/org/apache/cloudstack/api/response/CapabilitiesResponse.java
	server/src/com/cloud/server/ManagementServerImpl.java
2013-12-06 15:40:48 -08:00
Prachi Damle d3520a5d18 CLOUDSTACK-5399: Add option to createVolume API to specify a VM, to place the volume appropriately and attach immediately
Fixing merge problem
2013-12-06 13:18:43 -08:00
Prachi Damle 13d2caa6b5 CLOUDSTACK-5401: VM migration during host maintenance fails if pool.storage.capacity.disablethreshold is lowered
Changes:
- During Vm migration while finding a new host within the cluster, we need to set the storagepool Id to the deployment plan too.
- This will indicate the planner that the volumes are ready and no need to find new pool
- This in turn will prevent the threshold check done during the pool allocation. This step is not needed since there is no need to allocate pools newly.
- Thus the migration wont fail because th threshold check fails.
2013-12-06 13:18:40 -08:00
Prachi Damle 3a6adb3c58 CLOUDSTACK-5399: Add option to createVolume API to specify a VM, to place the volume appropriately and attach immediately
Changes:

    - Added 'virtualmachineid' parameter to the createVolume API to specify a VM for the volume. The Vm should be in 'Running' or 'Stopped' state.
    - This parameter is used only when createVolume API is called using snapshotid parameter
    - When this parameter is set, the volume is created from the snapshot in the pod/cluster of the VM. Also the volume is then attached to the VM in the same request
    - If attach Volume fails but create has succeeded, the API errors out but the Volume created remains available. User may attach the same volume later
    - When Vm is provided, but if no storage pool is available in the VM's pod/cluster then the volume is not created and API fails.
2013-12-06 13:18:37 -08:00
Prachi Damle 5c984eaef8 CLOUDSTACK-5140: A stopped vm cant start after disable threshold has been reached on the storage pool
Changes:
- Do not do the stoarge capacity check for a VM having READY Volumes that are already present on the storagepool.

Conflicts:

	server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java

Conflicts:

	server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
2013-12-06 13:18:34 -08:00
Chris Suich a2c0abe98b Fixed issue with quiescevm param on snapshot UI
CLOUDSTACK-5388
2013-12-06 13:06:52 -08:00
Chris Suich 6ac7811274 Added quiescevm option to volume snapshot dialog when storage supports it
CLOUDSTACK-5388
2013-12-06 13:06:47 -08:00
Brian Federle c00cf19662 Detail view: Allow passing error with custom action's complete fn 2013-12-06 12:34:53 -08:00
Brian Federle 9768dff666 Fix broken change password UI 2013-12-06 12:34:48 -08:00
Devdeep Singh 1a4604576a CLOUDSTACK-5339: Porting the fix for enabling vhdx virtual disk type for hyperv. 2013-12-06 18:05:50 +05:30
Anthony Xu 65642e98b7 XS VMmetadata platform contains virtual platform related info, CS should save platform info in DB to migrate the VM to other Cluster
fixed typo
2013-12-06 01:16:11 -08:00