'Extend the size of the volume.'

def extend_volume(self, volume, new_size):

    try:
        self._eql_execute('volume', 'select', volume['name'], 'size', ('%sG' % new_size))
        LOG.info('Volume    %(name)s    resized    from    %(current_size)sGB    to    %(new_size)sGB.', {'name': volume['name'], 'current_size': volume['size'], 'new_size': new_size})
    except Exception:
        with excutils.save_and_reraise_exception():
            LOG.error('Failed    to    extend_volume    %(name)s    from    %(current_size)sGB    to    %(new_size)sGB.', {'name': volume['name'], 'current_size': volume['size'], 'new_size': new_size})
