Commit Graph

21665 Commits

Author SHA1 Message Date
Murali Reddy df16623533 CLOUDSTACK-4616: When system Vms fail to start when host is down , link
local Ip addresses do not get released resulting in all the link local
Ip addresses being consumed eventually.

fix ensure Nics with reservation strategy 'Start' should go through
release phase in the Nic life cycle so that release is performed before
Nic is removed to avoid resource leaks.
2013-12-16 19:03:16 +05:30
Kishan Kavala e2805b802c CLOUDSTACK-5145 : Added permission checks while deleting network ACLs 2013-12-16 17:50:08 +05:30
Likitha Shetty 6b7ea7f90d CLOUDSTACK-5514. Response of listAccounts API call includes removed users 2013-12-16 15:45:38 +05:30
Girish Shilamkar 6eec7b9707 CLOUDSTACK-5506: Fixed egress_fw_rules.py, one of hunks was missing. 2013-12-16 13:58:18 +05:30
Gaurav Aradhye d92e560f65 CLOUDSTACK-5487: Fixing indentation issues in Portable IP 2013-12-16 12:47:28 +05:30
Anthony Xu e1763151ee add license header for new file 2013-12-15 17:39:54 -08:00
Min Chen 7cd125ca39 CLOUDSTACK-5446:KVM-Secondary Store down-Even after secondary store is
brought back up after being down for few hours,snapshot jobs do not get
triggered with reason "there is other active snapshot tasks on the
instance to which the volume is attached".
2013-12-13 18:09:16 -08:00
Kelven Yang 96678bbbfb CLOUDSTACK-669: refactor VM work job dispatcher to allow volume/snapshot manager to participate serialized job handling 2013-12-13 17:26:13 -08:00
Jessica Wang bfb65aa5aa CLOUDSTACK-5098: UI > VMware > during zone creation, after addVmwareDc succeeds, if addClsuter fails (e.g. because of wrong input value), zone detail page will show wrong button ("Add Vmware Datacenter") since listVmwareDcs is only called when a zone has a VMware cluster.
To resolve this specific use case, change UI to use listApis instead of listClusters to determine whether to call listVmwareDcs.
2013-12-13 15:50:21 -08:00
Jessica Wang 25dcd8823d CLOUDSTACK-5345: UI > Infrastructure > virtual routers > group by zone/pod/cluster/account > hide Upgrade Router to Use Newer Template action when upgrade is not required (i.e. all rouster under the zone/pod/cluster/account have latest version). 2013-12-13 13:59:28 -08:00
Brian Federle 97620ae781 CLOUDSTACK-5477: Fix view all link breaking detail view
Fixes issue where 'view all' link permanently writes properties to
cloudStack namespace, causing breakage when viewing detail view from
another location.
2013-12-13 10:34:49 -08:00
Brian Federle 3151cbe0df CLOUDSTACK-5480: Fix broken password confirm validation
Properly destroy add account dialog on close, to fix password confirm
validation pointing to wrong dialog's field.
2013-12-13 08:44:06 -08:00
Rajani Karuturi ef9fc95e87 CLOUDSTACK-5483 : Failed to start management server when db encryption is enabled When db encryption is enabled, the server expects all secure,hidden fields in encrypted form. moved the insert statements which has dafault values to java and populated encrypted values if encryption is enabled. 2013-12-13 17:44:36 +05:30
Devdeep Singh f69100e2e8 CLOUDSTACK-5489: Cloud user doesn't have permissions to copy systemvm.iso to secondary.
Make sure when a cifs (secondary) is mounted, uid is set for the user who owns the files
and directories on the filesystem.
2013-12-13 17:28:30 +05:30
Wei Zhou 5cec27c858 CLOUDSTACK-5481: fix ui bug when regular user add isolated network 2013-12-13 10:28:00 +01:00
Jayapal 11c7fad535 CLOUDSTACK-5417 Updating egress firewall rules CiDR on external network restart 2013-12-13 13:59:42 +05:30
Rajani Karuturi 24392c15f5 CLOUDSTACK-5435 enabled encryption for ldap params 2013-12-13 12:45:37 +05:30
Jessica Wang d5c2fabb52 CLOUDSTACK-5345: UI > Infrastructure > virtual routers > no grouping > hide Upgrade Router to Use Newer Template action when a router has latest version (i.e. does not require upgrade). 2013-12-12 16:05:24 -08:00
Alena Prokharchyk 326313e02e Resource metadata support for S2SVpnConnection 2013-12-12 14:57:44 -08:00
Alena Prokharchyk 94f6c9f34f Resource metadata support for customer gateway 2013-12-12 14:19:09 -08:00
Alena Prokharchyk 888a599a41 Resource metadata support for customer gateway 2013-12-12 13:56:38 -08:00
Nitin Mehta 67785c2ad6 CLOUDSTACK-5283:
Not able to list snapshots when few snapshots are in "CreatedOnPrimary" state. Dont throw an exception when snapshot doesnt have an entry in the snapshot store ref for the snapshot in Image store because that fails to list all snapshots and also it can a perfect use case when the backup flag is not turned on.
2013-12-12 13:13:16 -08:00
Kishan Kavala 6a63fb4461 Upgrade router template by accountName and domainId instead of accountId 2013-12-12 18:18:21 +05:30
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