Commit Graph

7819 Commits

Author SHA1 Message Date
Devdeep Singh f0b861fede CLOUDSTACK-6053: While adding a primary or secondary of type smb the password wasn't
encoded. This cause createStoragePool or addImageStore command to fail if special
characters were present. Updated the code to pass user, password and domain as part
of details while adding primary or secondary. Also made changes on server side to
handle it.
2014-02-07 17:46:03 +05:30
Murali Reddy 2e004878b1 CLOUDSTACK-5967: GRE tunnel creation is failing
after network orchestrator refactor, only network elements providingg
services as defined by network offering, are invloved network design and
imlement phase. So OVS network element need to be enables as
'Connectivity' service provider to make GRE tunnels work. This fix
introduced 'Ovs' provider as Connectivity service provider.
2014-02-05 17:15:34 +05:30
Likitha Shetty 92abb9439e CLOUDSTACK-6007. Restore VM command fails with NPE.
If a VM instance is deployed with startVm=false, then calling restoreVm on the instance fails with NPE because CS tries to expunge a volume that has not been created in primary store.
2014-02-03 12:28:29 +05:30
Sanjay Tripathi b811bc0945 CLOUDSTACK-5566: "Entity com.cloud.event.EventVO$$EnhancerByCGLIB$$9e317420@aeb3d75
and entity com.cloud.event.EventVO$$EnhancerByCGLIB$$9e317420@5a0fd1ec belong to
different accounts"  message while deleting multiple events .
2014-01-31 17:03:47 +05:30
David Grizzanti 62a259ffa9 CLOUDSTACK-5062: Deleting Load Balancing Rule fails when generating
usage events are enabled

Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-01-31 11:25:59 +01:00
Daan Hoogland f4db8df66f findbugs Long comparison == -> equals() 2014-01-31 09:07:55 +01:00
Daan Hoogland a4f2f0b39f findbugs get from map with proper key-type 2014-01-31 09:06:11 +01:00
Daan Hoogland cce4a055ae findbugs explicit toString on enum for call get(Object) 2014-01-31 08:58:50 +01:00
Daan Hoogland 901cf8ab32 findbugs get proper object from map 2014-01-31 08:53:14 +01:00
Daan Hoogland 353060e578 Revert "Findbugs: different issues solved"
This reverts commit dcda79e2c0.
2014-01-31 08:41:24 +01:00
Sanjay Tripathi cff312ef74 CLOUDSTACK-5660: Migrate vm live migration succeeds but throws error as "Failed to migrate the system vm". 2014-01-30 16:18:41 +05:30
Jayapal 7255e50f20 CLOUDSTACK-5966 Updated service monitoring config to start by default.
Global settings EnableServiceMonitoring param set to true
2014-01-30 14:20:21 +05:30
Alena Prokharchyk b1d4c06ad1 LOUDSTACK-5987: when listTemplates with filter=community/featured, get public templates from all domains in the system, not just parent/child subdomains of the caller
Conflicts:
	server/src/com/cloud/api/query/QueryManagerImpl.java
2014-01-29 17:14:56 -08:00
Jayapal 782265e713 CLOUDSTACK-5966 Added enable/disable monitoring service in global config 2014-01-28 20:08:54 +05:30
Sanjay Tripathi 1f4e2a51a4 CS-5950: Wrong storage tags are used for ISO deployed VMs. 2014-01-28 14:11:20 +05:30
Min Chen 6d1475182c CLOUDSTACK-5960: Domain admin or user cannot register a template using
S3/Swift object store.
2014-01-27 11:54:38 -08:00
Koushik Das 3fae917ebe CLOUDSTACK-5949: Remove unused field vnc_password from user_vm_view
Removed unused field. This will ensure that list VM queries are not blocked.
2014-01-27 15:23:28 +05:30
Daan Hoogland 9495c68c13 findbugs: removed obfuscating fields 2014-01-27 00:55:19 +01:00
Daan Hoogland 9772693dca findbugs: throw exceptions when found 2014-01-27 00:54:23 +01:00
Daan Hoogland 791b7f8f7f findbugs: nullpointer guards and wrappertype comparisons 2014-01-27 00:23:57 +01:00
Daan Hoogland 20127e09dc findbugs: assign result of string manipulations 2014-01-26 23:49:56 +01:00
Daan Hoogland 0b13f8e59d Findbugs: different issues solved 2014-01-26 23:14:17 +01:00
Daan Hoogland 866a539b06 findbugs: removed fields injected in parent 2014-01-26 16:49:18 +01:00
Daan Hoogland 23a3d99fc0 findbugs: byte[].toString -> Arrays.toString(byte[]) 2014-01-26 16:38:53 +01:00
Daan Hoogland c58e509924 findbugs: null-checks 2014-01-26 16:35:48 +01:00
Daan Hoogland f3b9a7f123 findbugs: retrieve the objects to remove from the collection(s) 2014-01-26 16:07:59 +01:00
Daan Hoogland b40156313a findbugs: serialized class serializable 2014-01-26 16:03:56 +01:00
Daan Hoogland df6f40fe73 Revert "findbugs: remove compatible objects from collection"
This reverts commit 390325c50b.
2014-01-26 15:25:19 +01:00
Daan Hoogland 390325c50b findbugs: remove compatible objects from collection 2014-01-26 15:20:24 +01:00
Daan Hoogland d30ddf6d59 findbugs: null check for gateway and netmask instead of gateway twice 2014-01-26 15:11:56 +01:00
Daan Hoogland 9aced41d70 findbugs fixes for ApiServer, ApiSerializerHelper and ApiXmlDocWriter 2014-01-26 13:27:37 +01:00
Daan Hoogland 9a1b882d0e Findbugs issues in ApiResponseHelper fixes 2014-01-26 12:25:18 +01:00
Daan Hoogland 437ff438af restored imports 2014-01-26 00:34:41 +01:00
Daan Hoogland f3529a19a9 moved call on static object to synchronized block 2014-01-25 23:46:18 +01:00
Daan Hoogland 43ba36f979 nullpointer dereference guarded 2014-01-25 23:26:53 +01:00
Kelven Yang 29e44b1b67 CLOUDSTACK-5928: Use legacy vmsync logic by default 2014-01-22 14:09:22 -08:00
Alena Prokharchyk f160b31f51 CLOUDSTACK-5930: Changed "authenticate" method to return both - result of authentication, and action to perform when authentication failed - to the accountManagerImpl. Only if authenicators request INCREMENT_INCORRECT_LOGIN_ATTEMPT_COUNT, the incorrect_login_attempts parameter will be increased
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>

Conflicts:
	plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapAuthenticator.java
	plugins/user-authenticators/md5/src/com/cloud/server/auth/MD5UserAuthenticator.java
	plugins/user-authenticators/plain-text/src/com/cloud/server/auth/PlainTextUserAuthenticator.java
	plugins/user-authenticators/sha256salted/src/com/cloud/server/auth/SHA256SaltedUserAuthenticator.java
	server/src/com/cloud/server/auth/UserAuthenticator.java
	server/src/com/cloud/user/AccountManagerImpl.java
2014-01-22 12:53:27 -08:00
Kelven Yang 50f311ed94 CLOUDSTACK-5928: disable host delta sync when new VM sync is enabled 2014-01-22 11:17:25 -08:00
Alena Prokharchyk d5e0dcd2a7 Revert "Changed "authenticate" method to return both - result of authentication, and action to perform when authentication failed - to the accountManagerImpl. Only if authenicators request INCREMENT_INCORRECT_LOGIN_ATTEMPT_COUNT, the incorrect_login_attempts parameter will be increased"
This reverts commit 7884bb8aaf.
2014-01-21 19:50:46 -08:00
Alena Prokharchyk 7884bb8aaf Changed "authenticate" method to return both - result of authentication, and action to perform when authentication failed - to the accountManagerImpl. Only if authenicators request INCREMENT_INCORRECT_LOGIN_ATTEMPT_COUNT, the incorrect_login_attempts parameter will be increased
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>

Conflicts:
	plugins/user-authenticators/ldap/src/org/apache/cloudstack/ldap/LdapAuthenticator.java
	plugins/user-authenticators/md5/src/com/cloud/server/auth/MD5UserAuthenticator.java
	plugins/user-authenticators/plain-text/src/com/cloud/server/auth/PlainTextUserAuthenticator.java
	plugins/user-authenticators/sha256salted/src/com/cloud/server/auth/SHA256SaltedUserAuthenticator.java
	server/src/com/cloud/server/auth/UserAuthenticator.java
	server/src/com/cloud/user/AccountManagerImpl.java
2014-01-21 18:09:15 -08:00
Animesh Chaturvedi 70ba92fc14 Updating pom.xml version numbers for release 4.3.0
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-01-21 17:29:51 -08:00
Min Chen afb8a79321 CLOUDSTACK-5921: S3 security key is stored in DB unencrypted 2014-01-21 14:17:30 -08:00
Mike Tutkowski 413c61b519 CLOUDSTACK-5873: [Automation] Failed to attach volume to VM, if the vm is created with option startvm=false 2014-01-20 23:08:27 -07:00
Min Chen aa2d25bf92 CLOUDSTACK-5913:API rate limiting throws a different error than expected
when Throttle limit hit in the API.
2014-01-20 14:57:48 -08:00
edison 7c2449dabd CLOUDSTACK-5432:sync vm and storage commands on mgt server for kvm 2014-01-17 15:23:43 -08:00
Kelven Yang be0d688511 CLOUDSTACK-5731: Use general instance type to categorize VM work jobs to correctly serialize VM operations 2014-01-17 10:42:04 -08:00
Saksham Srivastava 330571cea6 CLOUDSTACK-5692: obscure passwords when using cifs as storage 2014-01-17 13:49:46 +05:30
Alena Prokharchyk 9c32605f2b CLOUDSTACK-4987: when addNic to vm, don't make account check if the call is made by ROOT admin 2014-01-16 13:35:04 -08:00
Alena Prokharchyk c375ec62e2 CLOUDSTACK-4987: when addNic to vm, don't make account check if the vm belongs to ROOT admin 2014-01-16 11:12:35 -08:00
Sateesh Chodapuneedi 90e01b1e10 CLOUDSTACK-5408 [Automation] Failed to deploy vm in vmware environment with error "due to java.io.IOException: Cannot run program "mount": java.io.IOException: error=12, Cannot allocate memory"
Bump up RAM size of system offering for SSVM to 512MB. Fix if default service offering is already not present.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2014-01-16 01:35:25 +05:30