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)
This commit is contained in:
Likitha Shetty 2013-11-04 16:15:14 +05:30
parent 5cc9b1de66
commit bc36aa026f
1 changed files with 1 additions and 1 deletions

View File

@ -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")