fifo vms backups list crash if doing delete of snapshot during the uploading
// From: Benny Kjellgren "delete" did not remove the snapshot because the upload is in progress. And after that do not "list" work anymore.
# fifo vms backups b84c964a-7c65-e3b5-8482-cc12f5d9f444 list
UUID Local Timestamp Comment
------------------------------------ ----- -------------------- ------------------------------
# fifo vms backups b84c964a-7c65-e3b5-8482-cc12f5d9f444 create t1
Snapshot successfully created!
# fifo vms backups b84c964a-7c65-e3b5-8482-cc12f5d9f444 delete ff9d6512-1b35-4ecb-ae44-6585d0d92cca
Snapshot deleted successfully.
# fifo vms backups b84c964a-7c65-e3b5-8482-cc12f5d9f444 list
UUID Local Timestamp Comment
------------------------------------ ----- -------------------- ------------------------------
Traceback (most recent call last):
File "/usr/local/bin/fifo", line 132, in <module>
args.func(args)
File "/usr/local/lib/python2.7/dist-packages/fifo/api/vm.py", line 218, in backups_list
l = mk_fmt_line(args, e)
File "/usr/local/lib/python2.7/dist-packages/fifo/helper.py", line 109, in mk_fmt_line
r.append(args.fmt_def[k]['get'](e))
File "/usr/local/lib/python2.7/dist-packages/fifo/api/vm.py", line 149, in <lambda>
'get': lambda e: datetime.fromtimestamp(d(e, ['timestamp'])/1000000).isoformat()},
TypeError: unsupported operand type(s) for /: 'str' and 'int'
#
Project-FiFo - Clambering Corgi (0.9.0)
Service State Installed Available
snarl online 0.9.1 0.9.1
howl online 0.9.1p2 0.9.1p2
sniffle online 0.9.1 0.9.1
cerberus - 0.9.1p1 0.9.1p1
[root@sosfifo ~]#
fifo --version
fifo 0.2.9