Capture errors from tar during restore and log them.
Propogate restore tar errors up thru the exception mechanism.
Refactor process check to remove duplicate code.
Propagate exceptions from tar for both backup and restore
up to main instead of exiting the process.
Closes-Bug: #1595670
(cherry picked from commit b3bc12b02cadb9531202ac661b33ec1d0c71ee4b)
Change-Id: I43de55e271a34d7b497760905f168d2d7a3ab28c
Reviewed: https:/ /review. openstack. org/337604 /git.openstack. org/cgit/ openstack/ freezer/ commit/ ?id=e36b0c1c1ad aabf7641f4c8035 8a7721ee7cb944
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit e36b0c1c1adaabf 7641f4c80358a77 21ee7cb944
Author: Deklan Dieterly <email address hidden>
Date: Thu Jun 23 13:12:29 2016 -0600
Fix restore tar error handling
Capture errors from tar during restore and log them.
Propogate restore tar errors up thru the exception mechanism.
Refactor process check to remove duplicate code.
Propagate exceptions from tar for both backup and restore
up to main instead of exiting the process.
Closes-Bug: #1595670 31202ac661b33ec 1d0c71ee4b) 7b497760905f168 d2d7a3ab28c
(cherry picked from commit b3bc12b02cadb95
Change-Id: I43de55e271a34d