[CRIU] Dumping lxc container failed - CRIU 1.6

Thouraya TH thouraya87 at gmail.com
Wed Jun 24 08:42:20 PDT 2015


Hello all,

Here is my situation.


I have three containers on my host.


I have done the dumping process of the first container as follows:


lxc-checkpoint -s -D /tmp/dire -n worker1


Then I restart it as follows:


lxc-checkpoint -r -D /tmp/dire -n worker1


worker 1 restarts well. (lxc-ls -f display that worker1 is RUNNING)


I wanted to test the dumping process of the second container as follows:


lxc-checkpoint -s -D /tmp/dire4 -n worker2 ( P.S: worker1 and worker2 are
cloned of the same container workerTest)


but *Dumping failed:*


 Warn  (fsnotify.c:188): fsnotify:       Handle 800003:38916 cannot be
opened

Warn  (fsnotify.c:188): fsnotify:       Handle 800003:56662 cannot be opened

Warn  (arch/x86/crtools.c:132): Will restore 3420 with interrupted system
call

Error (sk-inet.c:188): Name resolved on unconnected socket

Error (cr-dump.c:1584): Dump files (pid: 10592) failed with -1

Error (cr-dump.c:1947): Dumping FAILED.


I have done:

crit decode --pretty < inetsk.img  > output.txt


Attached to this e-mail the file output.txt.



Thank you so much for help.

Best Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150624/a8716758/attachment-0001.html>
-------------- next part --------------
{
    "magic": "INETSK", 
    "entries": [
        {
            "src_port": 68, 
            "family": 2, 
            "proto": 17, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 212992, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": true, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 212992, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "0.0.0.0"
            ], 
            "state": 7, 
            "ino": 19870, 
            "flags": "0x80002", 
            "dst_port": 0, 
            "src_addr": [
                "0.0.0.0"
            ], 
            "type": 2, 
            "id": 84, 
            "backlog": 0
        }, 
        {
            "src_port": 52048, 
            "family": 2, 
            "proto": 17, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 212992, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": false, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 212992, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "0.0.0.0"
            ], 
            "state": 7, 
            "ino": 21533, 
            "flags": "0x802", 
            "dst_port": 0, 
            "src_addr": [
                "0.0.0.0"
            ], 
            "type": 2, 
            "id": 85, 
            "backlog": 0
        }, 
        {
            "src_port": 27067, 
            "family": 10, 
            "proto": 17, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 212992, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": false, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 212992, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "::"
            ], 
            "v6only": true, 
            "state": 7, 
            "ino": 21534, 
            "flags": "0x802", 
            "dst_port": 0, 
            "src_addr": [
                "::"
            ], 
            "type": 2, 
            "id": 86, 
            "backlog": 0
        }, 
        {
            "src_port": 22, 
            "family": 2, 
            "proto": 6, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 16384, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": true, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 87380, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "0.0.0.0"
            ], 
            "state": 10, 
            "ino": 22556, 
            "flags": "0x802", 
            "dst_port": 0, 
            "src_addr": [
                "0.0.0.0"
            ], 
            "type": 1, 
            "id": 89, 
            "backlog": 128
        }, 
        {
            "src_port": 22, 
            "family": 10, 
            "proto": 6, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 16384, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": true, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 87380, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "::"
            ], 
            "v6only": true, 
            "state": 10, 
            "ino": 22558, 
            "flags": "0x802", 
            "dst_port": 0, 
            "src_addr": [
                "::"
            ], 
            "type": 1, 
            "id": 90, 
            "backlog": 128
        }, 
        {
            "src_port": 7199, 
            "family": 2, 
            "proto": 6, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 16384, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": true, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 87380, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "0.0.0.0"
            ], 
            "state": 10, 
            "ino": 45558, 
            "flags": "0x802", 
            "dst_port": 0, 
            "src_addr": [
                "127.0.0.1"
            ], 
            "type": 1, 
            "id": 163, 
            "backlog": 50
        }, 
        {
            "src_port": 60593, 
            "family": 2, 
            "proto": 6, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 16384, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": true, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 87380, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "0.0.0.0"
            ], 
            "state": 10, 
            "ino": 47013, 
            "flags": "0x802", 
            "dst_port": 0, 
            "src_addr": [
                "127.0.0.1"
            ], 
            "type": 1, 
            "id": 164, 
            "backlog": 50
        }, 
        {
            "src_port": 7000, 
            "family": 2, 
            "proto": 6, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 16384, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": true, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 87380, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "0.0.0.0"
            ], 
            "state": 10, 
            "ino": 43817, 
            "flags": "0x2", 
            "dst_port": 0, 
            "src_addr": [
                "10.147.243.137"
            ], 
            "type": 1, 
            "id": 174, 
            "backlog": 128
        }, 
        {
            "src_port": 7000, 
            "family": 2, 
            "proto": 6, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 87040, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": true, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 374400, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "10.147.243.151"
            ], 
            "state": 1, 
            "ino": 39825, 
            "flags": "0x2", 
            "dst_port": 42219, 
            "src_addr": [
                "10.147.243.137"
            ], 
            "type": 1, 
            "id": 175, 
            "backlog": 0
        }, 
        {
            "src_port": 7000, 
            "family": 2, 
            "proto": 6, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 87040, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": true, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 374400, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "10.147.243.146"
            ], 
            "state": 1, 
            "ino": 43818, 
            "flags": "0x2", 
            "dst_port": 33365, 
            "src_addr": [
                "10.147.243.137"
            ], 
            "type": 1, 
            "id": 177, 
            "backlog": 0
        }, 
        {
            "src_port": 52860, 
            "family": 2, 
            "proto": 6, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 87040, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": false, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 372480, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "10.147.243.146"
            ], 
            "state": 1, 
            "ino": 47016, 
            "flags": "0x2", 
            "dst_port": 7000, 
            "src_addr": [
                "10.147.243.137"
            ], 
            "type": 1, 
            "id": 178, 
            "backlog": 0
        }, 
        {
            "src_port": 54167, 
            "family": 2, 
            "proto": 6, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 87040, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": false, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 372480, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "10.147.243.147"
            ], 
            "state": 1, 
            "ino": 43819, 
            "flags": "0x2", 
            "dst_port": 7000, 
            "src_addr": [
                "10.147.243.137"
            ], 
            "type": 1, 
            "id": 179, 
            "backlog": 0
        }, 
        {
            "src_port": 60177, 
            "family": 2, 
            "proto": 6, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 87040, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": false, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 372480, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "10.147.243.144"
            ], 
            "state": 1, 
            "ino": 47206, 
            "flags": "0x2", 
            "dst_port": 7000, 
            "src_addr": [
                "10.147.243.137"
            ], 
            "type": 1, 
            "id": 180, 
            "backlog": 0
        }, 
        {
            "src_port": 47222, 
            "family": 2, 
            "proto": 6, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 87040, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": false, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 372480, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "10.147.243.145"
            ], 
            "state": 1, 
            "ino": 43820, 
            "flags": "0x2", 
            "dst_port": 7000, 
            "src_addr": [
                "10.147.243.137"
            ], 
            "type": 1, 
            "id": 181, 
            "backlog": 0
        }, 
        {
            "src_port": 7000, 
            "family": 2, 
            "proto": 6, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 87040, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": true, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 501592, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "10.147.243.144"
            ], 
            "state": 1, 
            "ino": 45567, 
            "flags": "0x2", 
            "dst_port": 47148, 
            "src_addr": [
                "10.147.243.137"
            ], 
            "type": 1, 
            "id": 182, 
            "backlog": 0
        }, 
        {
            "src_port": 7000, 
            "family": 2, 
            "proto": 6, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 87040, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": true, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 374400, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "10.147.243.147"
            ], 
            "state": 1, 
            "ino": 37473, 
            "flags": "0x2", 
            "dst_port": 53429, 
            "src_addr": [
                "10.147.243.137"
            ], 
            "type": 1, 
            "id": 184, 
            "backlog": 0
        }, 
        {
            "src_port": 7000, 
            "family": 2, 
            "proto": 6, 
            "opts": {
                "so_passsec": false, 
                "so_snd_tmo_sec": 0, 
                "so_sndbuf": 87040, 
                "so_passcred": false, 
                "so_mark": 0, 
                "reuseaddr": true, 
                "so_rcv_tmo_usec": 0, 
                "so_priority": 0, 
                "so_rcvlowat": 1, 
                "so_no_check": false, 
                "so_rcv_tmo_sec": 0, 
                "so_rcvbuf": 374400, 
                "so_dontroute": false, 
                "so_snd_tmo_usec": 0
            }, 
            "fown": {
                "pid_type": 0, 
                "signum": 0, 
                "pid": 0, 
                "uid": 0, 
                "euid": 0
            }, 
            "dst_addr": [
                "10.147.243.145"
            ], 
            "state": 1, 
            "ino": 39826, 
            "flags": "0x2", 
            "dst_port": 54119, 
            "src_addr": [
                "10.147.243.137"
            ], 
            "type": 1, 
            "id": 185, 
            "backlog": 0
        }
    ]
}


More information about the CRIU mailing list