Commit Graph

22080 Commits

Author SHA1 Message Date
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
Jessica Wang e7ec79b5f3 CLOUDSTACK-6026: UI > create network offering > pass serviceofferingid parameter instead of systemOfferingForRouter parameter to API. 2014-02-04 16:16:31 -08: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
Sheng Yang 50234ea72b CLOUDSTACK-6018: Increase dnsmasq dhcp-lease-max to 2100
Would able to accomodate one /21 network then.
2014-02-03 14:51:29 -08:00
Min Chen 402254337c CLOUDSTACK-6017: NPE while creating snapshot multiple times on same Root
volume with S3 as secondary storage.
2014-02-03 12:23:52 -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 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
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 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
Marcus Sorensen 1aa1b3e19c CLOUDSTACK-6000: When expunging fails, move volume state back to
Destroy, so that the cleanup thread will try again on next run.
2014-01-30 23:34:56 -07:00
Koushik Das 1ae02009b5 CLOUDSTACK-5993: Cloud agent fails to start on 32-bit system vms (cpvm and ssvm) created with 4GB RAM offering
Capped the max heap size of the JVM at 2600M for 32-bit system VMs. For 64-bit, existing logic works fine.
2014-01-31 10:35:19 +05:30
Jessica Wang 713240baef CLOUDSTACK-5996: UI - In project view, the first listRotuers API(without projectid=-1) will return the same objects as the second listRouters API(with projectid=-1), because in project view, all API calls are appended with projectid=[projectID]. Therefore, we only call the second listRouters API(with projectid=-1) in non-project view. 2014-01-30 14:26:52 -08:00
Alena Prokharchyk 54f2234e21 Fixed API doc that got broken by adding new commands for stratosphere ssp plugin 2014-01-30 10:43:00 -08:00
Daan Hoogland ce7c6d2357 findbugs replaced byte[].toString() with Arrays.toString(byte[]) 2014-01-30 15:25:19 +01:00
Jayapal 888b906776 CLOUDSTACK-5966 Update the schema-421-430.sql for EnableServiceMonitoring global setting 2014-01-30 19:31:34 +05:30
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
Koushik Das 775fa0f0d0 CLOUDSTACK-5989: Trying to start a vm while 'vm snapshot' is in progress results in inconsistency
The fix is to fail the start operation if a vm snapshot is in progress
2014-01-30 18:10:56 +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
Hiroaki KAWAI 1e9f066df2 Fix mock socket client/server test.
Normally a server will bind to 0.0.0.0, which is not an
address that a client can specify to connect to.
127.0.0.1 or ::1 will do.
2014-01-30 20:23:17 +09: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
Sanjay Tripathi 8024f2cc70 CLOUDSTACK-5900: Failed to delete template/ISO that failed to download. 2014-01-30 13:12:59 +05:30
Sheng Yang 441d02dd40 CLOUDSTACK-5986: Make dnsmasq handle dnsmasq.leases when dhcp_release is available
The original issue has been exposed due to CloudStack VR would modify the
dnsmasq.leases, thus make it unsync with dnsmasq's memory lease.

Make the modification to let dnsmasq handle the lease file if dhcp_release is
available.
2014-01-29 17:54:00 -08:00
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
Jessica Wang 1ad7bce69b CLOUDSTACK-5970: UI > network menu > guest network section > select non-VPC isolated network with SourceNAT enabled > IP Address section > select sourceNAT IP > show Configuration tab. 2014-01-29 15:40:14 -08: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
Sanjay Tripathi ae22d1990e CLOUDSTACK-5900: Failed to delete template/ISO that failed to download. 2014-01-29 13:52:03 +05:30
Sanjay Tripathi f5ba6a34f1 Revert "CLOUDSTACK-5900: Failed to delete template/ISO that failed to download."
This reverts commit 0e4b93c6c1.
2014-01-29 12:57:22 +05:30
Marcus Sorensen 661a19bde3 CLOUDSTACK-5968 create vm.memballoon.disable agent parameter 2014-01-28 16:03:52 -07:00
Marcus Sorensen e624632dfd CLOUDSTACK-5968 create vm.memballoon.disable agent parameter 2014-01-28 15:32:37 -07:00
Min Chen 77aeb2871b CLOUDSTACK-5971:Templates created from a snapshots can't be copied to
other zones.
2014-01-28 13:09:57 -08:00
Jayapal 782265e713 CLOUDSTACK-5966 Added enable/disable monitoring service in global config 2014-01-28 20:08:54 +05:30
Sanjay Tripathi 0e4b93c6c1 CLOUDSTACK-5900: Failed to delete template/ISO that failed to download. 2014-01-28 19:09:26 +05:30
Sanjay Tripathi 1f4e2a51a4 CS-5950: Wrong storage tags are used for ISO deployed VMs. 2014-01-28 14:11:20 +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
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