subutai-io / peer-os

Subutai is a next generation peer to peer (P2P) cloud computing and Internet of Things platform. Subutai peers collaborate and share resources to create secure virtual environments tying together the shared network and machine resources across peers.
https://subutai.io
Apache License 2.0
63 stars 34 forks source link

Error to get list of snapshots of container restored from backup #2865

Closed samsonbek closed 5 years ago

samsonbek commented 5 years ago

When container is restored from backup, it has snapshots without timestamp. And when peer tries to get list of snapshots, it fails with error:

Error listing container alpha2222 snapshots: Unparseable date: "- -0400"

Here is my containers:

root@dhp1:~# subutai ls i
NAME            STATE   IP      Interface
----            -----   --      ---------
alpha-ecz-1-3       RUNNING 172.25.131.3    eth0
alpha2222-9wv-1-5   RUNNING 172.25.131.5    eth0
management      RUNNING 10.10.10.1  eth0
root@dhp1:~# 
root@dhp1:~# subutai snap ls | grep root
subutai/fs/alpha-ecz-1-3/rootfs@backup-20190609-162755      2019-06-09T12:27:56.661
subutai/fs/alpha2222-9wv-1-5/rootfs@backup-20190609-162413  -
subutai/fs/alpha2222-9wv-1-5/rootfs@backup-20190609-162801  2019-06-09T12:28:02.523
root@dhp1:~# 

Restored container is alpha2222