Commit Graph

7668 Commits

Author SHA1 Message Date
Syed Ahmed fb89a2d8f6 CLOUDSTACK-5296: Add certificate chain support for netscaler.
adds support for trust chains in the netscaler
2013-12-12 12:13:43 +05:30
Nitin Mehta 326a46d0ac Revert "CLOUDSTACK-4904: Unable to see a derieved template if the"
This reverts commit 4907a8f6fa.
2013-12-11 21:53:33 -08:00
Min Chen eb64159632 CLOUDSTACK-5414: With NFS Image Store migrated to S3 an error is thrown
in creation of Virtual Router.
2013-12-11 14:02:24 -08:00
Harikrishna Patnala 4907a8f6fa CLOUDSTACK-4904: Unable to see a derieved template if the
parent template is deleted
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-12-11 10:32:27 -08:00
Murali Reddy 4fb54ca32d CLOUDSTACK-5428: support NetScaler to be configured exclusively for GSLB
service and not used for LB

Fix adds a boolean flag to addNetscalerLoadBalancer api, which
will mark added NetScaler for exclusive GSLB service. A netscaler marked
as exclusive gslb service provider is not picked for any guest network's
lb provider.

Conflicts:
	engine/schema/src/com/cloud/network/dao/ExternalLoadBalancerDeviceVO.java
	plugins/network-elements/f5/src/com/cloud/network/element/F5ExternalLoadBalancerElement.java
	plugins/network-elements/netscaler/src/com/cloud/api/commands/AddNetscalerLoadBalancerCmd.java
	plugins/network-elements/netscaler/src/com/cloud/api/response/NetscalerLoadBalancerResponse.java
	plugins/network-elements/netscaler/src/com/cloud/network/element/NetscalerElement.java
	server/src/com/cloud/network/ExternalLoadBalancerDeviceManager.java
	server/src/com/cloud/network/ExternalLoadBalancerDeviceManagerImpl.java
	setup/db/db/schema-421to430.sql
2013-12-11 15:36:22 +05:30
Jayapal d221efcf81 Fixed the tests related to network acl 2013-12-11 13:07:22 +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
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
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
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
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
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 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
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
Frank.Zhang 80e88dd482 fix merge error breaking compile 2013-12-05 18:04:58 -08:00
Frank.Zhang d3bff27ef9 CLOUDSTACK-5112
[Baremetal]Make IPMI retry times configurable

Conflicts:

	server/src/com/cloud/configuration/Config.java
	setup/db/db/schema-420to421.sql
2013-12-05 17:30:54 -08:00
Frank.Zhang fd5b9a2780 CLOUDSTACK-4674
[baremetal] /usr/share/cloudstack-common/scripts/util/ipmi.py script
need to recognize various ipmi version and BMC type of server
2013-12-05 17:28:20 -08:00
Nitin Mehta c06e69db19 CLOUDSTACK-5391:
check for host cpu capability while stop starting a vm on the same host. Also changed the FirstFitAllocator to use the same method.
2013-12-05 15:18:30 -08:00
Nitin Mehta 25e51a5716 CLOUDSTACK-4880:
check for host cpu capability while dynamic scaling a vm on the same host
2013-12-05 14:18:51 -08:00
Nitin Mehta 1cdc064c43 CLOUDSTACK-4880:
check for host cpu capability while dynamic scaling a vm on the same host
2013-12-05 14:14:31 -08:00
Anthony Xu 0847ccfe97 XS VMmetadata platform contains virtual platform related info, CS should save platform info in DB to migrate the VM to other Cluster
Conflicts:
	engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
	server/src/com/cloud/template/TemplateManagerImpl.java
2013-12-05 01:17:56 -08:00
Alena Prokharchyk 06d2e768b6 CLOUDSTACK-5152: when deployVm with SG, verify that vm and sg belong to the same account. Do this verification even when the call is done by the ROOT admin 2013-12-04 11:37:24 -08:00
Likitha Shetty 2794a9398f CLOUDSTACK-5172. Detaching VM volume is not allowed if there are VM snapshots because any changes to the disk layout will break the semantics of VM-based snapshot 2013-12-04 20:17:58 +05:30
Alena Prokharchyk b315ca1895 CLOUDSTACK-5261: support for alert publishing via Root admin web api
listAlerts: introduced new parameter "name" to the alertResponse

Added new Admin API - generateAlert. Available to ROOT admin only

listAlerts: implemented search by alert name
2013-12-03 17:08:23 -08:00
Darren Shepherd 97dc85caee Make com.cloud.network.vpn.RemoteAccessVpnService an extensible type 2013-12-03 16:03:49 -08:00
Nitin Mehta c1be404924 CLOUDSTACK-3364:
change updateIsoPermissions API to accept isextractable paramter from normal user
2013-12-03 14:54:59 -08:00
edison su 78c77ec905 0001-Fixed-issue-with-DataStoreDrivers-not-being-able-to- 2013-12-03 13:16:50 -08:00
Devdeep Singh 80a5dd75cd Changes for allowing migration of a vm on hyperv. Migration was blocked in cloudstack for hyperv.
Enabled it. Also updated the agent code to allow hyperv migration.
2013-12-03 17:27:24 +05:30
Bharat Kumar 089c7bc9f8 CLOUDSTACK-5161 use a map to specify the custom parameters instead of having one parameter each 2013-12-03 16:53:58 +05:30
Nitin Mehta ecfd486938 CLOUDSTACK-4881:
changeServiceForVirtualMachine API should be used to scale up a stopped vm only
2013-12-02 17:49:07 -08:00
Jayapal 8581e58165 CLOUDSTACK-1762 Fixed assigning network or broadcast ip to nic 2013-12-02 10:53:51 +05:30
Bharat Kumar 72e0354661 CLOUDSTACK-5161 enable scaling and upgrading of a vm using custom offering
Signed-off-by: Koushik Das <koushik@apache.org>
2013-11-29 18:32:16 +05:30
Wei Zhou db5739b83f CLOUDSTACK-5299: set hypervisor_type of volumes from image format if not set.
(cherry picked from commit 221aea5730)

Conflicts:

	server/src/com/cloud/api/query/dao/VolumeJoinDaoImpl.java
2013-11-29 10:54:28 +01:00
Likitha Shetty aef392de99 CLOUDSTACK-5302. listHosts API response - value of cpuallocated is always 0% 2013-11-28 15:47:40 +05:30
Alena Prokharchyk 4edc3989bb Resource metadata support for NetworkACLItem 2013-11-27 14:37:28 -08:00
Wei Zhou 3d601ba41a CLOUDSTACK-5293: fix issue when collect vm disk statistics from iso
(cherry picked from commit f17f35eeb8)
2013-11-27 14:43:47 +01:00
Alena Prokharchyk c9b0a8b1f4 Resource metadata support for NetworkACLList 2013-11-26 17:22:32 -08:00
Alena Prokharchyk 1fe8efc85f Resource metadata support for VPC Private Gateway 2013-11-26 12:48:41 -08:00
Wei Zhou 895e581e73 CLOUDSTACK-2940: Allowing Replacement of realhostip.com with a customized domain for SSVM
(cherry picked from commit e23b10319f)
2013-11-26 14:26:09 +01:00