Commit Graph

1553 Commits

Author SHA1 Message Date
Harikrishna Patnala 95e41fdf0d CLOUDSTACK-6023: Non windows instances are created on XenServer with a vcpu-max above supported xenserver limits
Changed the VCPU max limit to 16 and provided a cluster level configuration parameter for this max limit named xen.vm.vcpu.max
2014-02-07 12:50:55 -08:00
Devdeep Singh 96d8e3c945 CLOUDSTACK-6030: Encrypt the primary and secondary smb storage password when it is stored in the db. 2014-02-06 11:17:51 +05:30
Rajesh Battala 7df148c762 Fixed agent code to handle untagged public vlan while parsing the vlan id 2014-02-06 00:10:59 +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
Hiroaki KAWAI 09e27fd7bf stratosphere-ssp plugin: Fix HttpClient4 connection leak
Replaced HttpClient#execute(HttpUriRequest) with
HttpClient#execute(HttpUriRequest,ResponseHandler<T>).
The former requires extra EntityUtils#consume(HttpEntity).
2014-02-05 16:37:10 +09:00
Min Chen d7ec9ca815 CLOUDSTACK-6027:CreateVolume from snapshot is failing with S3 on Vmware. 2014-02-04 15:06:14 -08:00
Min Chen a3caea7e0a CLOUDSTACK-6025:CreateTemplate from snapshot in NFS is failing , after
migarting to S3 datastore.
2014-02-04 10:46:30 -08:00
Min Chen b11c13d4a1 CLOUDSTACK-6019:CreateVolume from snapshot in NFS is throwing Warning
"sync snapshot from cache to region wide store failed for image store
test".
2014-02-03 16:27:31 -08:00
Daan Hoogland 2513d6b91e findbugs replaced byte[].toString() with new String(byte[]) 2014-02-03 10:48:10 +01:00
Daan Hoogland 8e96111c55 Revert "findbugs replaced byte[].toString() with Arrays.toString(byte[])(cherry picked from commit ce7c6d2357)"
This reverts commit 55ec8f3a2d.
2014-02-03 10:47:19 +01:00
Likitha Shetty ba5b302ae6 CLOUDSTACK-6002. [vCenter 5.5] restoreVM fails with ROOT-x-000001.vmdk not found. 2014-01-31 13:22:37 +05:30
Daan Hoogland ce7c6d2357 findbugs replaced byte[].toString() with Arrays.toString(byte[]) 2014-01-30 15:25:19 +01:00
Daan Hoogland 5651081ac0 Revert "Fix findbug issues within LDAP authenticator"
This reverts commit 92b4f66d73.
2014-01-30 14:55:02 +01:00
Likitha Shetty 16c3f53793 CLOUDSTACK-5994. Hitting IndexOutOfBoundsException in GetVmStatsCommand after upgrade.
To obtain network read/write statistics, multiply sample duration with the
average of the particular performance metric obtained over the sample period.
2014-01-30 18:20:44 +05:30
Hiroaki KAWAI db3dc2ee17 Some rework stratosphere ssp plugin
* add missing command entry in commands.properties
* migrate httpclient 3.x to 4.x
* fix the broken SspClient
* add webapp session checking in mock ssp server
2014-01-30 20:28:31 +09:00
Daan Hoogland d38a503431 check for BroadcastDomainTypes on sourceNatIp(cherry picked from commit
6d0dbf5968)

Conflicts:
	plugins/network-elements/nicira-nvp/src/com/cloud/network/element/NiciraNvpElement.java
2014-01-29 18:20:16 +01:00
Daan Hoogland b1ec82cdec Revert "CLOUDSTACK-5979 vlan parsing fixed"
This reverts commit caf17c2f46.
2014-01-29 17:55:01 +01:00
Daan Hoogland caf17c2f46 CLOUDSTACK-5979 vlan parsing fixed 2014-01-29 17:30:19 +01:00
Marcus Sorensen e624632dfd CLOUDSTACK-5968 create vm.memballoon.disable agent parameter 2014-01-28 15:32:37 -07:00
Jayapal 782265e713 CLOUDSTACK-5966 Added enable/disable monitoring service in global config 2014-01-28 20:08:54 +05:30
Likitha Shetty e8ba2d0850 CLOUDSTACK-5796. [VMware] Size column is not getting updated in snapshot_store_ref table when a snapshot is backed up in secondary storage.
Calculate and update the size of a backed up snapshot. This snapshot size is in turn used to update the secondary_storage count for an account.
2014-01-28 09:17:01 +05:30
Ian Duffy 92b4f66d73 Fix findbug issues within LDAP authenticator 2014-01-26 00:34:25 +00:00
Hugo Trippaers 60ac12780b Backport fixed for issues found by Findbugs 2014-01-25 10:52:09 +01:00
Hugo Trippaers f18c5a1910 Findbugs finding : Incorrect use of equality
(cherry picked from commit 10cc5645e8b9713bc7c86d543413d396ce203cc6)
2014-01-25 10:52:09 +01:00
Devdeep Singh 6d997bd689 CLOUDSTACK-5942: The agent at places logs the password of the user. It should mask the
password from the message string before writing to the log. Made a change to do so.
2014-01-24 15:01:23 +05:30
Santhosh Edukulla d31fa09c7e Added Fix for CLOUDSTACK-5875
Added fix for exception and listing. Mentioned details under bug.
Post the fix, simulator works fine.

Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: Koushik Das <koushik@apache.org>
2014-01-23 16:53:15 +05:30
Devdeep Singh 8ef47e8ff3 CLOUDSTACK-5936: Hyper-V agent should log to the windows event log. Changed the default
log appender for the agent.
2014-01-23 15:20:21 +05:30
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
Likitha Shetty 94ea2736f4 CLOUDSTACK-5927. Storage garbage collector is trying to destroy the SSVM/CPVM root disk that is in use.
In case of VMware VM during root volume preparation if we are switching to a new volume, force expunge root disk that was created from the old template.
Because otherwise storage garbage collector will later try to expunge the old disk marked for expunge and fail with 'Cannot delete file' exception
since in VMware the new root vmdk has the same name and is now in use.
2014-01-22 17:32:13 +05:30
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
Anthony Xu af5f3d5676 CLOUDSTACK-5923: CS doesn't do master switch for XS any more, CS will depend on XS HA to do master switch, XS HA needs to be enabled. 2014-01-21 17:55:56 -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
Hugo Trippaers 7c4831df92 CLOUDSTACK-5884 make getTargetSwitch(NicTO nicTo) do all the work to select switch name, type and vlan token. Change preference to use the tags set on the physical network. 2014-01-21 08:18:21 +01: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
Mike Tutkowski 0e053668b8 CLOUDSTACK-5873: [Automation] Failed to attach volume to VM, if the vm is created with option startvm=false 2014-01-18 12:36:53 -07:00
Devdeep Singh eb6bed8037 CLOUDSTACK-5894: A template created from a volume on hyper-v became unusable after
the management server was restarted. The template.properties file created for the
template has the format field in upper-case. This caused the template service to
not to recognise the format and it removed the entry from the template_store_ref
table in db. Fixed the format field in the templatee.properties.
2014-01-17 19:12:59 +05:30
Saksham Srivastava 330571cea6 CLOUDSTACK-5692: obscure passwords when using cifs as storage 2014-01-17 13:49:46 +05:30
Mike Tutkowski e2364cfca6 CLOUDSTACK-5873: [Automation] Failed to attach volume to VM, if the vm is created with option startvm=false 2014-01-16 12:08:05 -07:00
Anshul Gangwar ab0a068d9f CLOUDSTACK-5880: Communication between management server and hyper-v agent should be secure. 2014-01-16 14:42:24 +05:30
Edison Su 9ed4ab731f CLOUDSTACK-5395: mark snapshot_store_ref as destroyed in case of backup snapshot failed 2014-01-15 18:46:57 -08:00
Mike Tutkowski fef4c79cb2 CLOUDSTACK-5873: [Automation] Failed to attach volume to VM, if the vm is created with option startvm=false 2014-01-15 00:18:34 -07:00
sbalineni 45065c712d Contrail plugin fixes - removed wrappers for db updates
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2014-01-14 17:28:17 -08:00
Edison Su e8307d9b3e fix devcloud: after devcloud vm itself reboot, local storage's name label is changed to orignal 2014-01-14 14:35:55 -08:00
Sachchidanand Vaidya 8b9f7afc92 Add L3VPN isolation method for contrail plugin
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2014-01-14 13:52:40 -08:00
sbalineni 65f639219c Make sure that Cloudstack DB should be atleast once synced with contrail api server
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2014-01-14 13:32:46 -08:00
Devdeep Singh 5bf5d3669d CLOUDSTACK-5689: System vm creation on local storage fails for hyper-v. A
null pointer exception was getting generated when a VolumeTO object was
serialized to create an answer object. If a local storage is used the uri
field will be null. Added null checks for the same.
2014-01-14 19:53:26 +05:30
Jayapal ac53932925 CLOUDSTACK-5747 Fixed network restart issue with SRX 2014-01-14 18:15:47 +05:30
jayapal b177015121 CLOUDSTACK-5867 Fixed SetMonitorServiceCommand command path 2014-01-14 18:14:28 +05:30