Commit Graph

538 Commits

Author SHA1 Message Date
Abhinandan Prateek 969bbb02a9 CLOUDSTACK-8164: Look for all host to avoid NPE
(cherry picked from commit d8def3dc0b)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	engine/storage/src/org/apache/cloudstack/storage/helper/VMSnapshotHelperImpl.java
2015-01-19 11:32:06 +05:30
Rohit Yadav dc97372d6f engine/storage: add NPE check, break if parent snapshot is null
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit c06ca09b54)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-18 17:21:07 +05:30
Edison Su ebf9897293 CLOUDSTACK-7301, CLOUDSTACK-7947: double check if parent snapshot is removed or not
when creating new snapshot, check if parent snapshot is removed or not

Reviewed-by: Min
(cherry picked from commit bd79965329)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/XenserverSnapshotStrategy.java
2014-12-18 18:26:24 +05:30
Rohit Yadav f47e32ec5f
cloudstack: change version to 4.3.2
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-11 19:08:36 +05:30
Hiroki Ohashi 0e0827f07c CLOUDSTACK-7412: Can't create proper template from VM on S3 secondary storage environment
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
2014-11-27 17:03:25 +05:30
Sanjay Tripathi 77446d2716 CLOUDSTACK-6172: Volume is not retaining same uuid when migrating from one storage to another.
(cherry picked from commit 624139d8ef)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-26 18:23:04 +05:30
Min Chen 1cc58b1a6f CLOUDSTACK-7700: Volume Snapshot Async Job returns Success for a failed
operation.

(cherry picked from commit 1e20600eca)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 19:13:50 +05:30
Rohit Yadav 2a72afdc48 Revert "Revert "Bump release version to 4.3.2-SNAPSHOT and add empty db upgrade path""
The revert was an error, sorry about that.
  - Rohit

This reverts commit 0aba9654f8.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-21 18:04:33 +05:30
Rohit Yadav 0aba9654f8 Revert "Bump release version to 4.3.2-SNAPSHOT and add empty db upgrade path"
This reverts commit c3c3bab41a.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-20 20:35:45 +05:30
Rohit Yadav c3c3bab41a Bump release version to 4.3.2-SNAPSHOT and add empty db upgrade path
This reverts commit e6d00bcc66.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-20 14:04:43 +05:30
Rohit Yadav e6d00bcc66 Revert "Updating pom.xml version numbers for release 4.3.2-SNAPSHOT"
This reverts commit 063bb8f5b4.
2014-11-18 16:04:33 +05:30
Sebastien Goasguen 063bb8f5b4 Updating pom.xml version numbers for release 4.3.2-SNAPSHOT
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-09-16 09:16:47 -04:00
Sebastien Goasguen 41c0eaa14d Updating pom.xml version numbers for release 4.3.1
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-09-04 16:47:57 +02:00
Sebastien Goasguen a654894dbd Updating pom.xml version numbers for release 4.3.1-SNAPSHOT
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-08-25 09:16:27 -04:00
Min Chen 1772fcffc3 CLOUDSTACK-6478: Failed to download Template when having 3 SSVM's in one 2014-06-17 14:56:55 +02:00
Edison Su f304df0be9 Merge branch '4.3-forward' into 4.3 2014-06-04 16:25:13 -07:00
Devdeep Singh d417ce0d70 CLOUDSTACK-5743. The link generated for downlading a volume or a template was giving a
permission error on hyper-v. Fixed the path with which a softlink is created for a
downloaded volume or template. Also addressed the issue at other places where the path
field wasn't set correctly when a volume was migrated or a template was created from
a volume.
2014-03-18 11:49:14 +05:30
John Kinsella ec4db7bbff CLOUDSTACK-6204: Removing realhostip.com dependency
For more info, see https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+changes

Author: Amogh Vasekar <amogh.vasekar@citrix.com>
Signed-off-by: John Kinsella <jlk@stratosec.co> 1394399081 -0700
(cherry picked from commit 2fe7aeea23)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-03-10 12:55:41 -07:00
John Kinsella 2fe7aeea23 CLOUDSTACK-6204: Removing realhostip.com dependency
For more info, see https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+changes

Author: Amogh Vasekar <amogh.vasekar@citrix.com>
Signed-off-by: John Kinsella <jlk@stratosec.co> 1394399081 -0700
2014-03-09 14:04:41 -07:00
Saksham Srivastava 7fb2b8c68e CLOUDSTACK-6151: Local data disk with tag goes to the wrong local storage pool
Signed-off-by: Koushik Das <koushik@apache.org>
2014-03-07 01:08:00 +07:00
David Nalley 0c2ad0338e fixing the mysql client libraries dependency problem 2014-02-23 02:33:09 +00:00
Min Chen 7d71827321 CLOUDSTACK-6049: Give priority to cache stores where data object is
already there instead of randomly picking one in case there are multiple
cache stores in the scope.(cherry picked from commit e00241f41d)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:25:39 -08:00
Min Chen 3cd9dee1db CLOUDSTACK-6046:CreateVolume from snapshot is failing with S3 as
secondary storage and zone-wide primary storage.(cherry picked from commit 900c51103a)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:24:48 -08:00
Devdeep Singh 4961c1385a CLOUDSTACK-6053: While adding a primary or secondary of type smb the password wasn't
encoded. This cause createStoragePool or addImageStore command to fail if special
characters were present. Updated the code to pass user, password and domain as part
of details while adding primary or secondary. Also made changes on server side to
handle it.
(cherry picked from commit f0b861fede)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:21:39 -08:00
Devdeep Singh 9536569e1f CLOUDSTACK-6030: Encrypt the primary and secondary smb storage password when it is stored in the db.
(cherry picked from commit 96d8e3c945)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:21:18 -08:00
Min Chen a439ec9b62 CLOUDSTACK-6025:CreateTemplate from snapshot in NFS is failing , after
migarting to S3 datastore.(cherry picked from commit a3caea7e0a)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:15:18 -08:00
Devdeep Singh f0b861fede CLOUDSTACK-6053: While adding a primary or secondary of type smb the password wasn't
encoded. This cause createStoragePool or addImageStore command to fail if special
characters were present. Updated the code to pass user, password and domain as part
of details while adding primary or secondary. Also made changes on server side to
handle it.
2014-02-07 17:46:03 +05:30
Min Chen e00241f41d CLOUDSTACK-6049: Give priority to cache stores where data object is
already there instead of randomly picking one in case there are multiple
cache stores in the scope.
2014-02-06 17:11:36 -08:00
Min Chen 900c51103a CLOUDSTACK-6046:CreateVolume from snapshot is failing with S3 as
secondary storage and zone-wide primary storage.
2014-02-06 15:33:05 -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
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 8f63c2cf9c CLOUDSTACK-6017: NPE while creating snapshot multiple times on same Root
volume with S3 as secondary storage.
(cherry picked from commit 402254337c)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-03 14:05:20 -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
Min Chen fd391845cf CLOUDSTACK-5971:Templates created from a snapshots can't be copied to
other zones.(cherry picked from commit 77aeb2871b)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-01-28 13:32:11 -08: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
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
Min Chen afb8a79321 CLOUDSTACK-5921: S3 security key is stored in DB unencrypted 2014-01-21 14:17:30 -08:00
edison 1b064515ac CLOUDSTACK-5432: potential bugs in case of stop mgt server while template is downloading, template_store_ref has leftover not in ready state, when create vm from that template, the code doesn't check either zone id, nor template_store_ref state. 2014-01-20 17:15:23 -08:00
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
Marcus Sorensen a80debbddf CLOUDSTACK-5853
Create two storage pools, one with storage tag X, one with storage tag Y.
Create a service offering with storage tag X.
Create a disk offering with storage tag Y.
Attempt to deploy a virtual machine with a datadisk, using given offerings, it fails.

Deployment planner keeps a global object 'avoid'. It loops through each volume to
be created, asking storage allocators for matching pools, passing this avoid object.

First disk matches a pool or pools, adds ALL other pools to avoid object, then
deployment planner attaches matching pools to a list for that disk.

Second disk matches a pool, adds all other pools to avoid object, then deployment
planner says "wait, matching pool is in avoid, can't use it". Oops. In fact, at this
point ALL pools are in avoid (unless there are other pools that have both tags).

Need to remove matching pool from the avoid set during each select phase.
2014-01-10 11:34:17 -07:00
Min Chen 693f0c280a CLOUDSTACK-5841:Snapshots taken before migration NFS to S3 can not be
used cross-zone.
2014-01-08 16:33:37 -08:00
Min Chen 5b07590786 CLOUDSTACK-5813: With S3 as secondary storage, snapshot taken in one
zone cannot be used to create volume in another zone. zoneId parameter
in createVolumeCmd is not observed.
2014-01-08 16:33:37 -08:00
edison db25228b23 CLOUDSTACK-5329: fix NPE in storage migration for zone-wide primary storage, and also the serization error. 2014-01-03 16:44:21 -08:00
Sanjay Tripathi 3964a566f7 CLOUDSTACK-5701: physical size is not getting updated in snapshot_store_ref table. 2014-01-03 18:20:31 +05:30
Sateesh Chodapuneedi 57cb023eb8 CLOUDSTACK-5447 [Automation] Volume migration failing with NullPointerException in vmware and KVM
Instead of injecting object of VolumeOrchestrationService into VmwareResource, we now populate the command object (MigrateVolumeCommand here) with required information. Thus we dont need volume orchestration service to query that information from resource.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-12-31 06:21:32 +05:30
Mike Tutkowski 574fc3a4f8 CLOUDSTACK-5662: XenServer can't discover iSCSI targets with different credentials 2013-12-27 13:12:12 -07:00
Min Chen 69524fb11f CLOUDSTACK-5653:S3 object store as Secondary Storage, the template
created from different zone is not available for the other zones.
2013-12-26 14:26:55 -08:00
Min Chen 35ba14d88d CLOUDSTACK-5648:CopyTemplate and CopyISO across zones fails after NFS
migration to S3.
2013-12-26 11:12:00 -08:00
Likitha Shetty 289c8a09ea CLOUDSTACK-5508. Vmware - When there are multiple secondary stores, the newly added secondary store is not being selected for backing up snapshots.
If the snapshot being backed up is a a delta snapshot, pick the image store where the parent snapshot is stored. Otheriwse pick a random image store.
2013-12-24 17:31:29 +05:30