From bc36aa026fe5d38643829a2bead56c9dd109ba57 Mon Sep 17 00:00:00 2001 From: Likitha Shetty Date: Mon, 4 Nov 2013 16:15:14 +0530 Subject: [PATCH] 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) --- engine/schema/src/com/cloud/storage/VolumeVO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/schema/src/com/cloud/storage/VolumeVO.java b/engine/schema/src/com/cloud/storage/VolumeVO.java index 8a5bf56816d..bec42cf5e9b 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")