Freezer-agent allow to create backup of non existing directories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Backup/Restore and DR (Freezer) |
Fix Released
|
Medium
|
Pierre-Arthur MATHIEU | ||
Mitaka |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Backup:
ls /djewkjdklewjdk
ls: cannot access /djewkjdklewjdk
freezer-agent --action backup --mode fs --storage local --path-to-backup /djewkjdklewjdk
Logs:
2016-03-04 11:03:47,399 root INFO log file at /var/log/
2016-03-04 11:03:47,400 root INFO [*] Job execution Started at: 2016-03-04 11:03:47
2016-03-04 11:03:47,451 root INFO [*] No LVM requested/
2016-03-04 11:03:47,451 root WARNING [*] Directory /root/.freezer found!
2016-03-04 11:03:47,455 root INFO Tar engine backup stream enter
2016-03-04 11:03:47,455 root INFO Execution command:
/bin/tar --create -z --warning=none --no-check-device --one-file-system --preserve-
2016-03-04 11:03:47,467 root INFO Tar engine streaming end
2016-03-04 11:03:47,471 root INFO [*] Job execution Finished, at: 2016-03-04 11:03:47
2016-03-04 11:03:47,471 root INFO [*] Job time Elapsed: 0:00:00.070626
Restore:
root@padawan-
root@padawan-
Logs:
2016-03-04 11:15:45,262 root INFO log file at /var/log/
2016-03-04 11:15:45,263 root INFO [*] Job execution Started at: 2016-03-04 11:15:45
2016-03-04 11:15:45,263 root INFO [*] Executing FS restore...
2016-03-04 11:15:45,264 root INFO Creation restore path: /tmp/restore/
2016-03-04 11:15:45,264 root INFO Creation restore path completed
2016-03-04 11:15:45,264 root INFO Restore backup padawan-
2016-03-04 11:15:45,284 root INFO [*] Pipe closed as EOF reached. Data transmitted successfully
2016-03-04 11:15:45,291 root INFO Restore backup padawan-
2016-03-04 11:15:45,305 root INFO [*] Pipe closed as EOF reached. Data transmitted successfully
2016-03-04 11:15:45,311 root INFO [*] Restore execution successfully executed for backup name padawan-
2016-03-04 11:15:45,312 root INFO [*] Job execution Finished, at: 2016-03-04 11:15:45
2016-03-04 11:15:45,312 root INFO [*] Job time Elapsed: 0:00:00.048993
Changed in freezer: | |
milestone: | none → newton-2 |
assignee: | nobody → Pierre-Arthur MATHIEU (pi3rra) |
importance: | Undecided → Medium |
status: | New → Triaged |
Fix proposed to branch: master /review. openstack. org/339089
Review: https:/