Remove old backups doesn't work with --action admin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Backup/Restore and DR (Freezer) |
Fix Released
|
High
|
Fausto Marzi |
Bug Description
Freezer should be able to remove the backups from within the backup execution and also by calling
directly the admin interface (--admin). Currently it is not possible to remove backups with --admin option
PoC:
root@st-gerrit:~# freezerc --action admin --container freezer_
2015-01-29 11:48:31,432 root INFO [*] Execution Started at: 2015-01-29 11:48:31
2015-01-29 11:48:31,513 urllib3.
2015-01-29 11:48:31,709 root INFO [*] Removing object older 1 day(s)
2015-01-29 11:48:31,710 root INFO [*] Execution Finished, at: 2015-01-29 11:48:31
2015-01-29 11:48:31,710 root INFO [*] Time Elapsed: 0:00:00.278159
But the objects available in the swift container are older then 1 day.
Changed in freezer: | |
assignee: | nobody → Fausto Marzi (fausto-marzi) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in freezer: | |
assignee: | Fausto Marzi (fausto-marzi) → Fabrizio Vanni (fabrizio.vanni) |
Changed in freezer: | |
status: | Confirmed → In Progress |
Changed in freezer: | |
status: | Fix Committed → Won't Fix |
status: | Won't Fix → Fix Released |
Freezer currently cannot remove old backups not even if --remove-older-then is set while executing a backup.