def undo(self, workflow_dict):
        LOG.info("Running undo...")
        try:
            for host_and_export in workflow_dict['hosts_and_exports']:
                host = host_and_export['host']
                source_export_path = scape_nfsaas_export_path(
                    host_and_export['new_export_path'])
                target_export_path = scape_nfsaas_export_path(
                    host_and_export['old_export_path'])
                return_code, output = update_fstab(host=host,
                                                   source_export_path=source_export_path,
                                                   target_export_path=target_export_path)
                if return_code != 0:
                    LOG.info(str(output))

            return True
        except Exception:
            traceback = full_stack()

            workflow_dict['exceptions']['error_codes'].append(DBAAS_0021)
            workflow_dict['exceptions']['traceback'].append(traceback)

            return False
dataset/ETHPy150Open globocom/database-as-a-service/dbaas/workflow/steps/util/restore_snapshot/update_fstab.py/UpdateFstab.undo/original