Commit Graph

520 Commits

Author SHA1 Message Date
Prachi Damle 57099c8f8f CLOUDSTACK-3904 listHosts API fails in VMware setup when virtualmachineid parameter is passed
Changes:
- Pod and Cluster can be null, modified the query to append these only if non-null
2013-07-29 14:08:47 -07:00
Min Chen 140dfaaa5b CLOUDSTACK-3862: Remove S3/Swift-backed Secondary Storage Code. 2013-07-29 14:04:52 -07:00
Nitin Mehta 1bfe9eb0a4 CLOUDSTACK-3892
Implement the download url expiration functionality for templates. Also persist the template download urls after their creation
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-29 19:47:45 +05:30
Rajesh Battala 78781ff7b8 CLOUDSTACK-3877 Unable to Resize Volume (kvm, vmware) 2013-07-29 17:57:37 +05:30
Mice Xia acd2396660 fix CLOUDSTACK-3591 add usage recording for VM snapshots 2013-07-29 17:57:20 +08:00
Harikrishna Patnala 4d35d92208 CLOUDSTACK-3779: Support System vm scaling on VMWare
Marked the system template new system template as dynamicallyScalable
   - handled upgrade case
   - moved "dynamicallyScalable" flag to vm_instance table from user_vm_details to support dynamic scaling of system vm
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-29 14:12:24 +05:30
Bharat Kumar 6f9c26ea49 Cloudstack-2997 Make haproxy maxconn configurable
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>

Conflicts:
	api/src/org/apache/cloudstack/api/ApiConstants.java
	engine/schema/src/com/cloud/offerings/NetworkOfferingVO.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	setup/db/db/schema-410to420.sql
2013-07-29 10:07:15 +05:30
Nitin Mehta faeddc15ff CLOUDSTACK-3659
Implement the download url expiration functionality for volumes
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-28 17:40:26 +05:30
Edison Su ed46a64add CLOUDSTACK-3852: fix upload volume 2013-07-26 18:05:10 -07:00
Prachi Damle 47fb13f789 fixing imports 2013-07-26 16:27:41 -07:00
Prachi Damle 75707d862c Fixing license headers 2013-07-26 16:27:27 -07:00
Alena Prokharchyk 07bf2b2227 CLOUDSTACK-3868: fixed "count" param in listUsageRecords API to return the actual number of records matching the search criteria. Used to return the wrong value - the number of records per page 2013-07-26 15:37:20 -07:00
Min Chen 1305697eaa CLOUDSTACK-3818: NFS Cache Improperly Named. 2013-07-26 14:36:00 -07:00
Alena Prokharchyk d6af9331d6 DB upgrade: upgraded the bunch of db upgrade files with Apache license header 2013-07-26 13:41:00 -07:00
Min Chen 7589ddbe63 CLOUDSTACK-3856:[ZWPS] Template downloaded from ROOT volume is not seen
in the UI because of failure to get hypervisor_type for the ROOT volume
for zone-wide primary storage.
2013-07-26 13:34:10 -07:00
Min Chen e23e6b02db CLOUDSTACK-3709:[Object_Store_Refactor][UI] Can't delete NFS Cache
storage through UI.  Fixed at API side.
2013-07-25 17:02:30 -07:00
Edison Su 7ee655f5cd CLOUDSTACK-2536: fix the regression introduced by 4c81ea69c4 2013-07-25 16:35:09 -07:00
Prachi Damle 6a7d7f6d62 CLOUDSTACK-3491 delete host resulting NPE; Exception caught while handling disconnect: java.lang.NullPointerException
Changes:
- During host deletion, host entry in databse gets removed prior to the disconnect task getting processed.
- This causes the disconnect task to get NPE while trying to do the host state transition
2013-07-25 15:25:08 -07:00
Min Chen 6b9ea47711 CLOUDSTACK-3667:[Object_Store_Refactor][VMWare] System VMs StartCommand
failed due to Exception: java.lang.Exception Message: secondary storage
for dc 3 is not ready yet?
2013-07-25 10:56:01 -07:00
Koushik Das f062fd4fc1 CLOUDSTACK-3493: [storage ref] Attach volume to VM is failing in case of Primary-Localstorage .
Some existing scenarios for root and data volume combination was not working. These are
a. Local root + Shared data
b. Shared root + Local data

Enabled these scenarios as part of this fix

Conflicts:
	server/src/com/cloud/storage/VolumeManagerImpl.java
2013-07-25 17:23:21 +05:30
Edison Su bfe30cd2e3 CLOUDSTACK-3681: fix bunch of bugs related to vmware, regarding to snapshot 2013-07-24 15:54:36 -07:00
Min Chen 5e42d93b6f CLOUDSTACK-3665:Failed to create volume from snapshot. 2013-07-24 14:37:02 -07:00
Alena Prokharchyk f1706e2c4b DB upgrade: added db upgrade paths for CloudPlatform (Citrix) releases 303,304,305,306,307 to 4.2 2013-07-24 14:35:18 -07:00
Likitha Shetty a71810f705 CLOUDSTACK-3735. Domain deletion fails even when the networks within the domain have been destroyed.
When a network is destroyed remove the corresponding network entry from domain_network_ref and account_network_ref table
2013-07-24 20:02:15 +05:30
Saksham Srivastava d89115b5cf CLOUDSTACK-2508: Template usage should report both physical and virtual sizes 2013-07-24 18:20:37 +05:30
Min Chen e13959afc3 CLOUDSTACK-3716: State of expunged volumes are not consistent in volumes
table and volume_store_ref.
2013-07-23 14:56:15 -07:00
Alena Prokharchyk 8d1a670026 CLOUDSTACK-3478: fixed volume destroy. #1 - don't call destroy() when the volume is in Expunged/Expunging/Destroy state. #2 - added state transition for Expunged state 2013-07-23 14:40:30 -07:00
Devdeep Singh 0760a5197b CLOUDSTACK-3708, Migration of a volume attached to a running instance isn't working (Storage motion).
The request to migrate was coming till ancient data motion strategy but wasn't worked on and forwarded
to the resource. The code probably got removed by a bad merge. Bringing it back.
2013-07-23 10:37:10 +05:30
Min Chen 24bf9b8552 CLOUDSTACK-3716:NPE triggered in DownloadListener. 2013-07-22 17:24:09 -07:00
Min Chen c70881645e CLOUDSTACK-3716:NPE triggered in DownloadListener 2013-07-22 17:12:23 -07:00
Anthony Xu b77723df13 don't update VM state if the state doesn't really change. updating VM state increases the update count, which might cause real VM update fail 2013-07-22 16:17:41 -07:00
Min Chen 9f9f7d3ffd Remove CLOUDSTACK-3513 debugging messages. 2013-07-22 16:15:45 -07:00
Min Chen 5ccfc9df5a CLOUDSTACK-3513:[Automation] Failed to copy iso and template between
zones. Failed to pass generated copy url to DownloadCommand.
2013-07-22 16:15:45 -07:00
Nitin Mehta c09d76077e CLOUDSTACK-3510
Persist the download url in the db for volume download.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-22 17:57:57 +05:30
Edison Su 8c3f970434 CLOUDSTACK-2630: fix delta snashpt 2013-07-20 18:21:26 -07:00
Edison Su a2ba2358d8 CLOUDSTACK-2630: fix delta snashpt 2013-07-20 13:05:24 -07:00
Min Chen 08e722ddae CLOUDSTACK-3419: [Object_Store_Refactor] Uploaded volume is being
deleted while attaching it to guest VM.
2013-07-20 11:43:11 -07:00
Edison Su e659328ff5 fix create template from snapshot if it's swift 2013-07-19 18:18:02 -07:00
Min Chen 1694e53b1d CLOUDSTACK-3472: [Object_Store_Refactor] System VMs are not coming up in
initial attempt, but they are coming up after multiple attempts.
2013-07-19 15:39:15 -07:00
Fang Wang 2b254186b2 CLOUDSTACK-732 Add disk snapshot for KVM 6.3, add the flag in CS.
Signed-off-by: Edison Su <sudison@gmail.com>
2013-07-19 13:22:26 -07:00
Alena Prokharchyk 242f46118b InternalLb: fixed creation for default network offering with internal lb support - public lb support should be disbaled on it
Conflicts:
	engine/schema/src/com/cloud/offerings/NetworkOfferingVO.java
2013-07-19 13:20:46 -07:00
Koushik Das d9f7c6e531 CLOUDSTACK-3628: [Storage]Migration of data disk from Shared primary to shared/local primary storage is throwing NPE
'Long' value was getting passed to a parameter of type 'long' and in case of null was resulting in NPE
2013-07-19 19:15:10 +05:30
Sanjay Tripathi 5de96db81d CLOUDSTACK-3492: [Regression]Update Resource Count for an account is updating the primary storage incorretly.
The issue is that while calculating the used primary storage size, the updateResourceCount
API is also calculating the disk size of virtual router VM, created for that account and
because of this, the API is returning the incorrect result.
2013-07-19 16:19:23 +05:30
Harikrishna Patnala 7c664728f7 CLOUDSTACK-3634: Adding router.template.xen/kvm/hyperv/kvm/lxc in upgrade setup
Signed-off-by: Jayapal <jayapal@apache.org>
2013-07-19 14:29:50 +05:30
Harikrishna Patnala 85e32552a3 CLOUDSTACK-3324: Fix/Improve upgrade system vm template 41 to 42
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-19 12:46:08 +05:30
Mike Tutkowski 8f1799b71f Changes related to Review Board comments 2013-07-18 19:46:42 -06:00
Min Chen 251efff69c CLOUDSTACK-3513: add debug message to diagnose copyIso issue on
automation setup where DownloadCommand is never sent.
2013-07-18 16:01:55 -07:00
Alena Prokharchyk ad112c8254 CLOUDSTACK-3612: fixed missing indexes in some cloud tables. In the bug those tables are addressed as table #4, table #5, and table #6 2013-07-18 15:59:59 -07:00
Prachi Damle 3fc43cf281 CLOUDSTACK-3451 Parallel deployment - Xenserver - When deploying 30 Vms in parallel, some of the Vm deployment fails when “applying dhcp entry/applying userdata and password entry on router” and retry eventually happens when they succeed.
Changes:
- Passing the avoid set generated by the first pass of deployment to the second try.
- The second try is done, when the first pass that uses a reserved plan fails to deploy on the reserved host, to search over the entire zone again
2013-07-18 15:57:13 -07:00
Vijayendra Bhamidipati 9edddf632f CLOUDSTACK-3598: [Automation] NullPointerException observed while connecting agent
Description:

    Fixing an NPE when setting resource count.
2013-07-18 08:55:31 -07:00