if ( !version.equals("2.1") ) {
return new Answer(cmd, true, "success");
}
try {
Connection conn = getConnection();
URI uri = new URI(secondaryStorageUrl);
String secondaryStorageMountPath = uri.getHost() + ":" + uri.getPath();
String snapshotPath = secondaryStorageMountPath + "/snapshots/" + accountId + "/" + volumeId + "/" + backedUpSnapshotUuid + ".vhd";
String templatePath = secondaryStorageMountPath + "/template/tmpl/" + tmpltAcountId + "/" + templateId;
upgradeSnapshot(conn, templatePath, snapshotPath);