You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by li...@apache.org on 2013/11/05 08:58:02 UTC

git commit: updated refs/heads/4.2 to bc36aa0

Updated Branches:
  refs/heads/4.2 5cc9b1de6 -> bc36aa026


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/bc36aa02
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/bc36aa02
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/bc36aa02

Branch: refs/heads/4.2
Commit: bc36aa026fe5d38643829a2bead56c9dd109ba57
Parents: 5cc9b1d
Author: Likitha Shetty <li...@citrix.com>
Authored: Mon Nov 4 16:15:14 2013 +0530
Committer: Likitha Shetty <li...@citrix.com>
Committed: Tue Nov 5 13:20:24 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/bc36aa02/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 8a5bf56..bec42cf 100755
--- a/engine/schema/src/com/cloud/storage/VolumeVO.java
+++ b/engine/schema/src/com/cloud/storage/VolumeVO.java
@@ -135,7 +135,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")