checkpoint-restore / criu

Checkpoint/Restore tool
criu.org
Other
2.97k stars 596 forks source link

Error: ipv4: FIB table does not exist. #747

Open avagin opened 5 years ago

avagin commented 5 years ago
======================= Run zdtm/static/netns_sub in ns ========================
Start test
Test is SUID
./netns_sub --pidfile=netns_sub.pid --outfile=netns_sub.out
Run criu dump
=[log]=> dump/zdtm/static/netns_sub/42/1/dump.log
------------------------ grep Error ------------------------
(00.074841)     Running ip route save
(00.076377)     Running ip route save
(00.078832)     Running ip -6 route save
(00.079549)     Running ip route save
Error: ipv4: FIB table does not exist.
Dump terminated
(00.082025) Error (criu/util.c:632): exited, status=2
(00.082057) Error (criu/net.c:1735): IP tool failed on route save
(00.082399) Error (criu/namespaces.c:1090): Namespaces dumping finished with error 65280
(00.082501) Unlock network
(00.082506) Running network-unlock scripts
(00.084140)     Running ip rule save
Error: ipv4: FIB table does not exist.
Dump terminated
(00.089039) Error (criu/util.c:632): exited, status=2
(00.089071) Error (criu/net.c:1735): IP tool failed on route save
(00.101841)     Unseizing 45 into 1
(00.101854)     Unseizing 46 into 1
(00.101865)     Unseizing 48 into 1
(00.101876)     Unseizing 47 into 1
(00.101923) Error (criu/cr-dump.c:1754): Dumping FAILED.
------------------------ ERROR OVER ------------------------
################# Test zdtm/static/netns_sub FAIL at CRIU dump #################
avagin commented 5 years ago

https://ci.openvz.org/job/CRIU/job/CRIU-ppc64le/job/criu-dev/4546/consoleFull

adrianreber commented 5 years ago

Already discussed in https://lists.openvz.org/pipermail/criu/2019-May/043923.html, unfortunately with no result.

https://www.spinics.net/lists/netdev/msg559904.html

adrianreber commented 5 years ago

On 3.13 I can still see this error on current rawhide: Error: ipv4: FIB table does not exist

Snorch commented 5 years ago

https://www.spinics.net/lists/netdev/msg559739.html

They say that iproute package is guilty, I have the same on iproute-5.2.0-1.fc30.x86_64.

Snorch commented 3 years ago

Still not fixed:

[root@snorch snorch]# unshare -n
[root@snorch snorch]# ip route save > /tmp/ip-route.save
Error: ipv4: FIB table does not exist.
Dump terminated
[root@snorch snorch]# which ip
/usr/sbin/ip
[root@snorch snorch]# rpm -qf /usr/sbin/ip
iproute-5.6.0-1.fc32.x86_64

Looks like we need to fix it ourselves....

github-actions[bot] commented 3 years ago

A friendly reminder that this issue had no activity for 30 days.

Snorch commented 3 years ago

@mihalicyn Prepared a fix for it to iproute, see: https://lore.kernel.org/netdev/20210622144434.27129-1-alexander.mikhalitsyn@virtuozzo.com/T/#u

predators46 commented 2 years ago

is there a way to fix this?

mihalicyn commented 2 years ago

I will resend this fix.