Updated Branches:
  refs/heads/master 3cc823903 -> 2f4594049

CLOUDSTACK-5028. Vmware instance fails to start when the chain_info of any 
volume that belongs to the VM is longer than 255 characters.
If the VM has snapshots then the chain_info of a volume can be longer than 255 
characters.
Increasing the column length of chain_info in VolumeVO to match the maximum 
length of type text(db schema type)


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2f459404
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2f459404
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2f459404

Branch: refs/heads/master
Commit: 2f459404934ee5ce78499828881a379ae180eee7
Parents: 3cc8239
Author: Likitha Shetty <[email protected]>
Authored: Mon Nov 4 16:15:14 2013 +0530
Committer: Likitha Shetty <[email protected]>
Committed: Tue Nov 5 13:24:37 2013 +0530

----------------------------------------------------------------------
 engine/schema/src/com/cloud/storage/VolumeVO.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2f459404/engine/schema/src/com/cloud/storage/VolumeVO.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/storage/VolumeVO.java 
b/engine/schema/src/com/cloud/storage/VolumeVO.java
index 1bdd09f..86c8b3d 100755
--- a/engine/schema/src/com/cloud/storage/VolumeVO.java
+++ b/engine/schema/src/com/cloud/storage/VolumeVO.java
@@ -136,7 +136,7 @@ public class VolumeVO implements Volume {
     @Enumerated(value = EnumType.STRING)
     private State state;
 
-    @Column(name = "chain_info")
+    @Column(name = "chain_info",length=65535)
     String chainInfo;
 
     @Column(name = "uuid")

Reply via email to