Min Chen
bedabf07a0
CLOUDSTACK-4129: select SSVM based on ImageCache data store instead of
...
region wide image store.
2013-08-09 16:29:16 -07:00
Koushik Das
21c74c6453
CLOUDSTACK-4179: [Performance Testing] Time taken for Deploy VM async job to complete is considerably higher
...
The time increased due to the newly added dedicated resources feature. During regular VM deployment, all dedicated resources are put in avoid list so that they are not considered for deployment.
Now the way to compute the list of dedicated resources is not optimal and performance deteriorates in an environment having lot of pods, clusters and hosts as the logic is to query db. for each suc resource.
The fix is to optimize the logic not to loop through all resources but get the list of each resource type in a single query.
2013-08-09 16:03:17 +05:30
Kishan Kavala
c75ac2ab20
CLOUDSTACK-4146, CLOUDSTACK-4147: Fix KVM snapshot upgrade.
...
when migrating KVM snapshot path, CONCAT is not required. back_snap_id is complete path for KVM snapshots
2013-08-09 14:45:37 +05:30
Nitin Mehta
281abef0de
CLOUDSTACK-4133
...
Introduce a global lock on template and pool id so that concurrent threads wont be inserting the same row in DB and hit MySQLIntegrityConstraintViolationException
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-09 13:53:31 +05:30
Min Chen
848abfd384
CLOUDSTACK-4190: Add endpoint selector implementation for ImageCache
...
data store and also delete object from staging area for volume copy from
primary to secondary or vice versa.
2013-08-08 16:08:50 -07:00
Min Chen
605376dc4d
CLOUDSTACK-4190:[Object_store_refactor] volume should be deleted from
...
staging storage after successfule volume migration .
2013-08-08 16:08:50 -07:00
Edison Su
784a9d45d0
CLOUDSTACK-4106: fix volume related operations on vmware&s3
2013-08-08 12:34:54 -07:00
Alena Prokharchyk
6999fca4d7
CLOUDSTACK-4193: don't let privateGateway to be created with NULL networkId
2013-08-08 10:49:25 -07:00
Koushik Das
470e76b3d6
CLOUDSTACK-4136: [upgraded ENV]Deleting Snapshot which was created before upgrade is throwing NPE.
...
Snapshot object is being accessed even when it is null. In case snapshot is not present in backup store the code should return after cleaning db entry.
Also noticed discrepancy in the upgraded db setup but couldn't fully verify it, so added logging in the upgrade logic for template/snapshots etc.
2013-08-08 15:05:29 +05:30
Sateesh Chodapuneedi
a3450afff5
CLOUDSTACK-4165 3.0.6 to ASF 4.2 Upgrade: Data Migration step of the Upgrade Fails on "persistLegacyZones"
...
Track the Datacenter of previous cluster correctly while going through each cluster in the zone to see if 2 clusters are from different DC/vCenter.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-08 09:00:10 +05:30
Edison Su
26a5b76ee6
CLOUDSTACK-4109: fix upload volume to s3 for vmware
2013-08-07 18:25:59 -07:00
Kelven Yang
6951e77ed9
CLOUDSTACK-3869: make new folder structure to work with Snapshop commands
2013-08-07 17:44:40 -07:00
Min Chen
6ebfa923ff
CLOUDSTACK-4109:[Object_store_refactor] Extract volume failed with NPE.
2013-08-07 17:05:46 -07:00
Min Chen
e87b1679cd
CLOUDSTACK-3568: [Automation]Parallel deployment - Vmware - When
...
deploying 30 parallel Vms , we see ~15 Vms fail in
org.apache.cloudstack.storage.command.CopyCommand.
2013-08-07 11:13:56 -07:00
Kelven Yang
059e4b2ae0
CLOUDSTACK-3886: check in for review request https://reviews.apache.org/r/13008/
2013-08-07 10:29:18 -07:00
Bharat Kumar
95f3679855
Cloudstack-4100 preserve data in iso_id column while upgrading from 3.0.7 to 4.2
2013-08-07 18:36:58 +05:30
Marcus Sorensen
7fced6460f
Summary: CLOUDSTACK-4121 fix local storage volume deployment
...
Detail: Fix hypervisor type lookup for local storage volumes by
adding in a statement for the 'HOST' storage scope.
Reviewed-by: Rajesh Battala
2013-08-06 21:34:22 -06:00
Min Chen
0243f043cb
CLOUDSTACK-4116: don't update db if hypervisor storage processor does
...
not return volume size.
2013-08-06 15:21:56 -07:00
Min Chen
4d43fe13ce
CLOUDSTACK-4002: We should use backup_snap_id in snapshots table to
...
construct snapshot install_path in snapshot_store_ref for pre-4.2.0
snapshot.
2013-08-06 14:38:52 -07:00
Rajesh Battala
d284fd9894
CLOUDSTACK-3781 Unable to resize disk with Zone wide storage
2013-08-06 12:57:10 -07:00
Min Chen
bd6005dac5
CLOUDSTACK-4003: We should not delete a READY data object from object
...
store ref table in case of any operation failure related to this data
object.
2013-08-06 11:41:18 -07:00
Min Chen
8d3d41a834
CLOUDSTACK-4002:Fix snapshot install path for upgraded snapshots.
2013-08-06 11:40:09 -07:00
Bharat Kumar
5dcded229f
Cloudstack-4015 No error logged when deleteing all the valns when there are allocateed vnets. Alos not updating the vnet range in physicalnetworks table in the above case.
...
Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-06 17:29:07 +05:30
Harikrishna Patnala
c0e7186166
CLOUDSTACK-4070: upgrade from 2.2.14 to 4.2 is failing with 4.0 VMware SystemVm template not found. Cannot upgrade system Vms
...
System template upgrade is not required during 4.0 upgrade since we handle the same during 4.2 upgrade. So removing the system template update during 4.0 upgrade.
2013-08-06 17:18:10 +05:30
Prasanna Santhanam
3a41c53bd3
CLOUDSTACK-4064: Missed renaming the config for KVM snapshots
...
KVM.snapshot.enabled is lowercased by f025db95 to keep the configs
uniformly lower-case. But it missed the upgrade script and the
references in SnapshotManagerImpl. This commit will fix the issue in all
locations
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 10:39:26 +05:30
Edison Su
333b272120
CLOUDSTACK-4073: fix s3 on vmware
2013-08-05 20:20:31 -07:00
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