Skip to content

Commit

Permalink
Fixes SAN-58
Browse files Browse the repository at this point in the history
Netapp volume options are set after a volume is created on the SAN.
If these options cannot be applied for some reason the volume is marked failed in eucalyptus and deleted from the SAN.
  • Loading branch information
Swathi Gangisetty committed Feb 21, 2013
1 parent b753f0e commit 1b317b8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -852,7 +852,7 @@ public DescribeStorageVolumesResponseType DescribeStorageVolumes(DescribeStorage
for(VolumeInfo volumeInfo: volumeInfos) {
volumes.add(convertVolumeInfo(volumeInfo));
if(volumeInfo.getStatus().equals(StorageProperties.Status.failed.toString())) {
LOG.warn( "Volume looks like it has failed removing it: " + volumeInfo.getVolumeId() );
LOG.warn( "Failed volume, removing it: " + volumeInfo.getVolumeId() );
checker.cleanFailedVolume(volumeInfo.getVolumeId());
}
}
Expand Down

0 comments on commit 1b317b8

Please sign in to comment.