Commit Graph

549 Commits

Author SHA1 Message Date
Edison Su ab9ce67e19 CLOUDSTACK-4074: if hypervisor doesn't return size of volume/template, don't update it into db 2013-08-05 16:21:36 -07:00
Alena Prokharchyk 8813e5f790 CLOUDSTACK-4080: don't GC the network when it has vms in Starting state even when the nics are not allocated for them yet (can happen when vm is being created) 2013-08-05 14:14:44 -07:00
Alena Prokharchyk 913a0050e4 CLOUDSTACK-4065: db upgrade - when insert placeHolder nic for Shared networks, always mark this nic as non-default explicitly 2013-08-05 09:17:29 -07:00
Harikrishna Patnala 40e7502bcb CLOUDSTACK-3228: system vms are not comming up in zone with two cluster xen and kvm CLOUDSTACK-3631: Enhance System vm deployment retry mechanism
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-08-05 18:21:23 +05:30
Nitin Mehta ddf91226ea CLOUDSTACK-3913
Private templates would now get copied to only one of image  storage chosen randamly as was the case earlier. Dont throw an exception for uploading volumes when there are multiple image stores, instead choose one of them randomly
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-05 17:32:21 +05:30
Min Chen 13d44fd7a6 CLOUDSTACK-3861 and CLOUDSTACK-3862: Deprecate old S3/Swift classes. 2013-08-02 16:05:53 -07:00
Bharat Kumar 60585b5181 [PATCH] upgrade to ASF 4.2 cloud Database Schema Inconsistencies 2013-08-02 17:22:31 +05:30
Edison Su 1658a5a46d CLOUDSTACK-3979: fix deleta.snapshot.max issue 2013-08-01 17:24:57 -07:00
Min Chen 4ccbbd029d CLOUDSTACK-4002: [Upgrade][2.2.16 to 4.2] After upgrade creation of
volume from a snapshot which was existing before upgrade, fails with NPE
2013-08-01 17:05:11 -07:00
Edison Su ebb30898c9 CLOUDSTACK-4008: fix snapshot npe if its volume is deleted 2013-08-01 13:58:12 -07:00
Bharat Kumar 4fb4afb88a Cloudstack-3753 Multiple VLAN range API need to accept a list rather than "add" or "remove" per command
Reviewed-by: Alena Prokharchyk
2013-08-01 10:40:56 -07:00
Alena Prokharchyk 620eb50941 CLOUDSTACK-4015: don't insert the fake template record when upgrade from 304 to 305 2013-08-01 09:58:12 -07:00
Kishan Kavala 1b14fa7953 CLOUDSTACK-3979: Update fullBackup flag correctly based on snapshot delta max config 2013-08-01 19:53:25 +05:30
Kelven Yang 7acb023aad More fixes found in test cases when JVM assertion check is turned on 2013-07-31 17:58:31 -07:00
Edison Su a747ee508b CLOUDSTACK-3976: if the snapshot is empty and it's the last one in the chain, we need to take full snapshot for the snapshots in sequence 2013-07-31 17:42:35 -07:00
Edison Su da124c2d80 CLOUDSTACK-3976: delete parent snapshot if child snapshots are deleted 2013-07-31 17:01:34 -07:00
Kelven Yang dbc46d0677 Fix problems found in local test when JVM assertion is turned on 2013-07-31 16:25:56 -07:00
Min Chen fdc048442e CLOUDSTACK-3977: vm deployement is failing ;: Resource [Host:5] is
unreachable: Host 5: Unable to send class
org.apache.cloudstack.storage.command.CopyCommand because agent is in
maintenance mode.
2013-07-31 14:00:35 -07:00
Alena Prokharchyk f09df4c136 CLOUDSTACK-3974: 410-420 db upgrade - exclude is_inline field from the query when insert the entry for the F5 load balancer as this field was dropped as a part of 40-41 upgrade 2013-07-31 13:32:28 -07:00
Bharat Kumar 5c18483d81 Cloudstack-2997 unable to update concurrent_conncetions feild in network_offerin.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-31 15:32:28 +05:30
Harikrishna Patnala 28f04c8ecc CLOUDSTACK-3969: Upgrade failed from 3.0.3 to 4.2 in KVM host with error 4.2.0 KVM SystemVm template not found though systemvm-kvm-4.2 template is uploaded during 3.0.3 setup
This is due to mysql version conflict with '=' and 'LIKE'.
Changing to '=' while searching for new system template.
2013-07-31 15:11:41 +05:30
Nitin Mehta 7894f5541b CLOUDSTACK-3658
Add the upgrade logic to populate the template/volume store ref table from upload table. We wont be using this table anymore.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-31 11:21:24 +05:30
Kelven Yang 065ae7a497 Correct DAO usage in VmwareDatacenterVO, relax assertion conditions to work with stack calling frame that is not wrapped with @DB injection 2013-07-30 18:05:38 -07:00
Min Chen 20831d00fb CLOUDSTACK-3686: Registering a template does not generate a usage event. 2013-07-30 17:33:18 -07:00
Alena Prokharchyk 474a763ee3 CLOUDSTACK-3936: db upgrade - added upgrade path from CCP 2.2.15,2.2.16 to CS 4.2 2013-07-30 10:53:34 -07:00
Bharat Kumar 6e9bf56cf1 Fix for incorect capacity displayed at the db.
Conflicts:
	engine/schema/src/com/cloud/capacity/dao/CapacityDaoImpl.java
	server/src/com/cloud/alert/AlertManagerImpl.java
	server/src/com/cloud/api/ApiResponseHelper.java
2013-07-30 22:13:44 +05:30
Bharat Kumar 03cbf51e15 Cloudstack-3910 Upgrade from 3.0.6 to 4.2 is failing with DB exceptions. 2013-07-30 19:12:59 +05:30
Kishan Kavala 1550f5e26c CLOUDSTACK-3439: Include dynamically created nics in Prepare for migration command in KVM 2013-07-30 18:23:56 +05:30
Prasanna Santhanam 6ab5c40eeb RAT broken from Mice's checkin (acd2396)
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-30 11:34:24 +05:30
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