'Change the name of an existing volume.'

def rename_volume(self, lv_name, new_name):

    try:
        self._execute('lvrename', self.vg_name, lv_name, new_name, root_helper=self._root_helper, run_as_root=True)
    except putils.ProcessExecutionError as err:
        LOG.exception('Error    renaming    logical    volume')
        LOG.error('Cmd                    :%s', err.cmd)
        LOG.error('StdOut        :%s', err.stdout)
        LOG.error('StdErr        :%s', err.stderr)
        raise
