'Get the volume details on the array'

def _get_volume_info(self, volume_name):

    command = ['volume', 'select', volume_name, 'show']
    try:
        data = {}
        for line in self._eql_execute(*command):
            if line.startswith('Size:'):
                out_tup = line.rstrip().partition('    ')
                data['size'] = self._get_space_in_gb(out_tup[(-1)])
            elif line.startswith('iSCSI    Name:'):
                out_tup = line.rstrip().partition(':    ')
                data['iSCSI_Name'] = out_tup[(-1)]
        return data
    except processutils.ProcessExecutionError:
        msg = (_('Volume    does    not    exists    %s.') % volume_name)
        LOG.error(msg)
        raise exception.ManageExistingInvalidReference(existing_ref=volume_name, reason=msg)
