Commit Graph

21642 Commits

Author SHA1 Message Date
SrikanteswaraRao Talluri b52a641dec CLOUDSTACK-5449: fixed pep8 errors
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2013-12-12 17:09:31 +05:30
Devdeep Singh 7151ec63fa CLOUDSTACK-5311: Fix the host version reported by the hyper-v agent. Also updated the hypervisor
capabilities for hyper-v.
2013-12-12 16:48:46 +05:30
Rajani Karuturi 9992a6a6dc CLOUDSTACK-5454 added upgrade path from 4.2.1 to 4.3
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-12-12 15:35:14 +05:30
Donal Lafferty 23bc02d12a CLOUDSTACK-5462: Hyperv agent confused by existing volume of different
image type. Works by avoiding volume image format inference errors and
removing existing files with same name, but different format.
2013-12-12 14:53:33 +05:30
Devdeep Singh 388510ff39 CLOUDSTACK-5473: Fixed the name with which the hyper-v agent gets
installed as a service.
2013-12-12 14:53:14 +05:30
Abhinandan Prateek 0887c73961 CLOUDSTACK-5259: added 32 bit support for vhd-util 2013-12-12 14:47:21 +05:30
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 c71e02c10c CLOUDSTACK-5454: Delete previous template and snapshot after migrating
NFS to S3 throws Error.
2013-12-11 16:39:37 -08:00
Kelven Yang 619f5381d5 CLOUDSTACK-669: put user vm work under new vmsync model 2013-12-11 16:19:57 -08:00
Rajani Karuturi 900bedbe15 added LDAP group name label in add account wizard
changed the parameter for domain in api importLdapUser from name to UUID

improved error handling
2013-12-11 23:35:58 +00:00
Jessica Wang 796f2aa48d CLOUDSTACK-4793: UI > Virtual Routers > Select View > add "group by account". 2013-12-11 15:30:16 -08:00
Min Chen feb9fe18b8 CLOUDSTACK-5451:Restart MS after migrating NFS image store to S3,
previous Ready template is not ready anymore.
2013-12-11 14:02:24 -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
Mike Tutkowski 2dfa84bf2b CLOUDSTACK-5468: Configuration property should be optional 2013-12-11 12:43:01 -07: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
Alena Prokharchyk 9435d2e930 Added vhd-util to .gitignore 2013-12-11 10:27:30 -08:00
Santhosh Edukulla c05d94a51f CLOUDSTACK-5443: Fixed the issue. 2013-12-11 19:42:17 +05:30
Devdeep Singh 3cd004c924 CLOUDSTACK-5455: Fix detach iso on hyperv. Made sure normalized path is
used while attaching and detaching iso. Also made normalization of path
across the agent code.
2013-12-11 19:29:19 +05:30
Devdeep Singh 5dea7728a3 CLOUDSTACK-5248: Fixed creation of mount point when running as non root (cloud) user.
The systemvm iso file is copied only when a systemvm or router vm is to be started on
a host. The file gets copied to the secondary storage. The mount point used is the one
that has permissions for regular user to mount a share.
CLOUDSTACK-5275: The failure was because a secondary storage wasn't available when the
host was added. When a setup is done through wizard the hosts get added before the
secondary storage. CS was tying to copy yhe systemvm iso to secondary and it used to
fail if it wasn't available. Made a change to copy the iso only when a systemvm is
being started on a host.
CLOUDSTACK-5202: Made changes to clean up mount points on stop and start.

All the three are related fixes; so putting a fix in one commit.
2013-12-11 17:22:45 +05:30
Rajani Karuturi db4e0d688c CLOUDSTACK-5375 :ldapconfig and ldapRemove api's are not working Added support for 4.2 ldap apis
Conflicts:
	plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapManagerImpl.java

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-12-11 16:08:24 +05:30
Santhosh Edukulla 78051ae6ba Fixed CLOUDSTACK-5436
Fixed few RAT issues reported for new additions of files to repo.
Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-12-11 15:42:56 +05:30
Murali Reddy 79cb891efc CLOUDSTACK-5431: permit 'http' as service type for GSLB rule
Conflicts:
	api/src/com/cloud/region/ha/GlobalLoadBalancerRule.java
	api/src/org/apache/cloudstack/api/command/user/region/ha/gslb/CreateGlobalLoadBalancerRuleCmd.java
2013-12-11 15:40:51 +05:30
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
Girish Shilamkar c2a62c3a10 CLOUDSTACK-5405: Changed marvin to create sg in account into which vm is deployed 2013-12-11 13:55:31 +05:30
Santhosh Edukulla 669d4322a6 Added a temp sleep fix for vm start command
Added a temporary time sleep fix post a restart command. Applies to 4.2,master,4.3
Note: Has to clean other things as well and will do more cleaner way of handling things.
2013-12-11 13:10:15 +05:30
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