freezer-agent freeze

Bug #1821134 reported by yangzhenming
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
New
Undecided
Unassigned

Bug Description

I use freezer-agent in command line to backup some files.
command: freezer-agent --path-to-backup /opt/backupdir --container testfull --backup-name backuptest --storage local --engine tar
In some reason, the metadata file is broken.When I try to restore the backup, the freezer-agent process is frozen.
command: freezer-agent --action restore --restore-abs-path /opt/restore --container testfull --backup-name backuptest --storage local --engine tar

I think there should be some exception process in the function restore_level() of freezer\engine\tar\tar.py.

        except Exception as e:
      try:
                while read_pipe.recv_bytes():
        pass
            except EOFError:
                pass
            LOG.exception(e)
            except_queue.put(e)
            raise

If the data is not received from the read_pipe,the function read_blocks() will not be end.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.