Skip to content

Commit bc36aa0

Browse files
author
Likitha Shetty
committed
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)
1 parent 5cc9b1d commit bc36aa0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎engine/schema/src/com/cloud/storage/VolumeVO.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public class VolumeVO implements Volume {
135135
@Enumerated(value = EnumType.STRING)
136136
private State state;
137137

138-
@Column(name = "chain_info")
138+
@Column(name = "chain_info",length=65535)
139139
String chainInfo;
140140

141141
@Column(name = "uuid")

0 commit comments

Comments
 (0)