当前位置: 首页 > 工具软件 > Dragonfly > 使用案例 >

signature=4d7e0a8216b57730ec16fe4e5ae2b93f,dragonfly对接harbor拉取镜像没有走dragonfly问题

慕河
2023-12-01

@lowzj 启动时添加了配置文件,目前在日志里是可以看到下载信息了 谢谢。

同时我发现另一个问题,虽然dfdaemon调用dfget从supernode下载了镜像,日志中能够看到相关的信息,在supernode上的repo下也可以看到文件,但client上只有pull镜像的这台data下有文件,其他client上data目录下是空的。难道不应该是client之间会同步block么?

另一方面,我在同一台client上pull同一个镜像,每次pull之后,data目录下都会多出一些文件,supernode上文件不变。这个也是正常的么?

看上去感觉是没有正常组成p2p网络

在dfclient日志中可以看到

2020-04-28 06:43:19.669 INFO sign:22-1588056199.667 : get cmd params:["/opt/dragonfly/df-client/dfget" "-u" "http://172.25.66.110/v2/dragonfly/img/blobs/sha256:482cc0370c7c888dc656ab9801e1cd257d447c5d5bacc33ee048604aa1649a83" "-o" "/root/.small-dragonfly/dfdaemon/data/461ea45e-af68-4d9c-89b1-b2877aa4cef4" "--node" "172.25.66.111=1" "-f" "Expires&Signature" "--dfdaemon" "-s" "100MB" "--totallimit" "100MB" "--node" "172.25.66.111" "--header" "User-Agent:docker/19.03.8 go/go1.12.17 git-commit/afacb8b kernel/3.10.0-1062.12.1.el7.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/19.03.8 \\(linux\\))" "--header" "Authorization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IkdWSVI6Rk1ESTpEVFZOOjVJWlY6N1VDMzpNWkFEOkFJTFI6QUxBRzpVUk41OjIyUUM6VEtSRjpXNFdXIn0.eyJpc3MiOiJoYXJib3ItdG9rZW4taXNzdWVyIiwic3ViIjoiYWRtaW4iLCJhdWQiOiJoYXJib3ItcmVnaXN0cnkiLCJleHAiOjE1ODgwNTc5OTgsIm5iZiI6MTU4ODA1NjE5OCwiaWF0IjoxNTg4MDU2MTk4LCJqdGkiOiJ5OHdYSUR3dWdGUnExWWNDIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJkcmFnb25mbHkvaW1nIiwiYWN0aW9ucyI6WyJwdXNoIiwiKiIsInB1bGwiXX1dfQ.eBvaHvOMMN9sdd7XrhdH3sFizMvalGpgaCBssdvCKjqq2BGEOXMkxKkiZyqO6gui3FfvZoZ64I7OkraQ0D5zy7gp2KGkBwzUILhD1hDLejsJZNzH5u44xvPveACe91qMe8kiT_KJ3u415UOaNpjbcNTsnCiEOlDwz5rBPL4B7CsYSNaB6ZSMJ9lLdZx_yuH9RsIzgHuEHbsFFy0LPDXUgU3awtiWNP3VMsLFaxOuPoyz8qWln-dxhnN7WBjJVjeKvuSNJBz2dDAJEOqxizLpn4N9gl2FIFJn8asC5jb0MJT-c-GlAoWQP1yII3SENs5kDhiNNxtFggmjpQir_yfcF0Zr-QDu_387wgZXEN7f1vtSTqUtSwiM6JGHCP27kUy8eiCVpfQoQdwDj_DMe5L9gSdD9lYw8YklSCBDtlVGxBStuCZpoSgLz1VZpGteufD2mcJCq9w508ie8KmXntkGG-yxorK_OGp21n3MglPMdBn6lQdxSEeOSOrn_u9wV13Y0h6Vc_VGqV5xT9u-pZZeIo3fwwfMSkfSCkBI1y7aMMbjdafxSNoqPKrUjuYW-Kt3u2Nwr4fhCW1bkye67V4_esx08LsE894iKvRWbQlzSLxB35KMD8WDyIRd5lsqdM9aEYbsedz5eV_QCbrKoYd3XGW_dwGOkhr6vGRhrLpwne0" "--header" "Connection:close"]

2020-04-28 06:43:19.669 INFO sign:22-1588056199.667 : get init config:{"url":"http://172.25.66.110/v2/dragonfly/img/blobs/sha256:482cc0370c7c888dc656ab9801e1cd257d447c5d5bacc33ee048604aa1649a83","output":"/root/.small-dragonfly/dfdaemon/data/461ea45e-af68-4d9c-89b1-b2877aa4cef4","pattern":"p2p","filter":["Expires","Signature"],"header":["User-Agent:docker/19.03.8 go/go1.12.17 git-commit/afacb8b kernel/3.10.0-1062.12.1.el7.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/19.03.8 \\(linux\\))","Authorization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IkdWSVI6Rk1ESTpEVFZOOjVJWlY6N1VDMzpNWkFEOkFJTFI6QUxBRzpVUk41OjIyUUM6VEtSRjpXNFdXIn0.eyJpc3MiOiJoYXJib3ItdG9rZW4taXNzdWVyIiwic3ViIjoiYWRtaW4iLCJhdWQiOiJoYXJib3ItcmVnaXN0cnkiLCJleHAiOjE1ODgwNTc5OTgsIm5iZiI6MTU4ODA1NjE5OCwiaWF0IjoxNTg4MDU2MTk4LCJqdGkiOiJ5OHdYSUR3dWdGUnExWWNDIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJkcmFnb25mbHkvaW1nIiwiYWN0aW9ucyI6WyJwdXNoIiwiKiIsInB1bGwiXX1dfQ.eBvaHvOMMN9sdd7XrhdH3sFizMvalGpgaCBssdvCKjqq2BGEOXMkxKkiZyqO6gui3FfvZoZ64I7OkraQ0D5zy7gp2KGkBwzUILhD1hDLejsJZNzH5u44xvPveACe91qMe8kiT_KJ3u415UOaNpjbcNTsnCiEOlDwz5rBPL4B7CsYSNaB6ZSMJ9lLdZx_yuH9RsIzgHuEHbsFFy0LPDXUgU3awtiWNP3VMsLFaxOuPoyz8qWln-dxhnN7WBjJVjeKvuSNJBz2dDAJEOqxizLpn4N9gl2FIFJn8asC5jb0MJT-c-GlAoWQP1yII3SENs5kDhiNNxtFggmjpQir_yfcF0Zr-QDu_387wgZXEN7f1vtSTqUtSwiM6JGHCP27kUy8eiCVpfQoQdwDj_DMe5L9gSdD9lYw8YklSCBDtlVGxBStuCZpoSgLz1VZpGteufD2mcJCq9w508ie8KmXntkGG-yxorK_OGp21n3MglPMdBn6lQdxSEeOSOrn_u9wV13Y0h6Vc_VGqV5xT9u-pZZeIo3fwwfMSkfSCkBI1y7aMMbjdafxSNoqPKrUjuYW-Kt3u2Nwr4fhCW1bkye67V4_esx08LsE894iKvRWbQlzSLxB35KMD8WDyIRd5lsqdM9aEYbsedz5eV_QCbrKoYd3XGW_dwGOkhr6vGRhrLpwne0","Connection:close"],"dfdaemon":true,"nodes":["172.25.66.111:8002=1"],"localLimit":"100MB","minRate":"64KB","totalLimit":"100MB","clientQueueSize":6,"workHome":"/root/.small-dragonfly","logConfig":{"maxSize":0,"maxBackups":0}}

2020-04-28 06:43:19.670 INFO sign:22-1588056199.667 : target file path:/root/.small-dragonfly/dfdaemon/data/461ea45e-af68-4d9c-89b1-b2877aa4cef4

2020-04-28 06:43:19.671 INFO sign:22-1588056199.667 : runtimeVariable: {"MetaPath":"/root/.small-dragonfly/meta/host.meta","SystemDataDir":"/root/.small-dragonfly/data","DataDir":"/root/.small-dragonfly/data","RealTarget":"/root/.small-dragonfly/dfdaemon/data/461ea45e-af68-4d9c-89b1-b2877aa4cef4","TargetDir":"/root/.small-dragonfly/dfdaemon/data","TempTarget":"/root/.small-dragonfly/dfdaemon/data/dfget-22-1588056199.667.tmp-303407981","Cid":"172.17.0.2-22-1588056199.667","TaskURL":"http://172.25.66.110/v2/dragonfly/img/blobs/sha256:482cc0370c7c888dc656ab9801e1cd257d447c5d5bacc33ee048604aa1649a83","TaskFileName":"461ea45e-af68-4d9c-89b1-b2877aa4cef4-22-1588056199.667","LocalIP":"172.17.0.2","PeerPort":0,"FileLength":-1,"DataExpireTime":180000000000,"ServerAliveTime":300000000000}

2020-04-28 06:43:19.675 INFO sign:22-1588056199.667 : local http result: err:dial tcp4 172.17.0.2:0: connect: connection refused, port:0 path:/check/

2020-04-28 06:43:19.726 INFO sign:23-1588056199.726 : get cmd params:["/opt/dragonfly/df-client/dfget" "-u" "http://172.25.66.110/v2/dragonfly/img/blobs/sha256:aad63a9339440e7c3e1fff2b988991b9bfb81280042fa7f39a5e327023056819" "-o" "/root/.small-dragonfly/dfdaemon/data/73e80b11-d473-4306-8583-755602b1f859" "--node" "172.25.66.111=1" "-f" "Expires&Signature" "--dfdaemon" "-s" "100MB" "--totallimit" "100MB" "--node" "172.25.66.111" "--header" "User-Agent:docker/19.03.8 go/go1.12.17 git-commit/afacb8b kernel/3.10.0-1062.12.1.el7.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/19.03.8 \\(linux\\))" "--header" "Authorization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IkdWSVI6Rk1ESTpEVFZOOjVJWlY6N1VDMzpNWkFEOkFJTFI6QUxBRzpVUk41OjIyUUM6VEtSRjpXNFdXIn0.eyJpc3MiOiJoYXJib3ItdG9rZW4taXNzdWVyIiwic3ViIjoiYWRtaW4iLCJhdWQiOiJoYXJib3ItcmVnaXN0cnkiLCJleHAiOjE1ODgwNTc5OTgsIm5iZiI6MTU4ODA1NjE5OCwiaWF0IjoxNTg4MDU2MTk4LCJqdGkiOiJ5OHdYSUR3dWdGUnExWWNDIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJkcmFnb25mbHkvaW1nIiwiYWN0aW9ucyI6WyJwdXNoIiwiKiIsInB1bGwiXX1dfQ.eBvaHvOMMN9sdd7XrhdH3sFizMvalGpgaCBssdvCKjqq2BGEOXMkxKkiZyqO6gui3FfvZoZ64I7OkraQ0D5zy7gp2KGkBwzUILhD1hDLejsJZNzH5u44xvPveACe91qMe8kiT_KJ3u415UOaNpjbcNTsnCiEOlDwz5rBPL4B7CsYSNaB6ZSMJ9lLdZx_yuH9RsIzgHuEHbsFFy0LPDXUgU3awtiWNP3VMsLFaxOuPoyz8qWln-dxhnN7WBjJVjeKvuSNJBz2dDAJEOqxizLpn4N9gl2FIFJn8asC5jb0MJT-c-GlAoWQP1yII3SENs5kDhiNNxtFggmjpQir_yfcF0Zr-QDu_387wgZXEN7f1vtSTqUtSwiM6JGHCP27kUy8eiCVpfQoQdwDj_DMe5L9gSdD9lYw8YklSCBDtlVGxBStuCZpoSgLz1VZpGteufD2mcJCq9w508ie8KmXntkGG-yxorK_OGp21n3MglPMdBn6lQdxSEeOSOrn_u9wV13Y0h6Vc_VGqV5xT9u-pZZeIo3fwwfMSkfSCkBI1y7aMMbjdafxSNoqPKrUjuYW-Kt3u2Nwr4fhCW1bkye67V4_esx08LsE894iKvRWbQlzSLxB35KMD8WDyIRd5lsqdM9aEYbsedz5eV_QCbrKoYd3XGW_dwGOkhr6vGRhrLpwne0" "--header" "Connection:close"]

2020-04-28 06:43:19.726 INFO sign:23-1588056199.726 : get init config:{"url":"http://172.25.66.110/v2/dragonfly/img/blobs/sha256:aad63a9339440e7c3e1fff2b988991b9bfb81280042fa7f39a5e327023056819","output":"/root/.small-dragonfly/dfdaemon/data/73e80b11-d473-4306-8583-755602b1f859","pattern":"p2p","filter":["Expires","Signature"],"header":["User-Agent:docker/19.03.8 go/go1.12.17 git-commit/afacb8b kernel/3.10.0-1062.12.1.el7.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/19.03.8 \\(linux\\))","Authorization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IkdWSVI6Rk1ESTpEVFZOOjVJWlY6N1VDMzpNWkFEOkFJTFI6QUxBRzpVUk41OjIyUUM6VEtSRjpXNFdXIn0.eyJpc3MiOiJoYXJib3ItdG9rZW4taXNzdWVyIiwic3ViIjoiYWRtaW4iLCJhdWQiOiJoYXJib3ItcmVnaXN0cnkiLCJleHAiOjE1ODgwNTc5OTgsIm5iZiI6MTU4ODA1NjE5OCwiaWF0IjoxNTg4MDU2MTk4LCJqdGkiOiJ5OHdYSUR3dWdGUnExWWNDIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJkcmFnb25mbHkvaW1nIiwiYWN0aW9ucyI6WyJwdXNoIiwiKiIsInB1bGwiXX1dfQ.eBvaHvOMMN9sdd7XrhdH3sFizMvalGpgaCBssdvCKjqq2BGEOXMkxKkiZyqO6gui3FfvZoZ64I7OkraQ0D5zy7gp2KGkBwzUILhD1hDLejsJZNzH5u44xvPveACe91qMe8kiT_KJ3u415UOaNpjbcNTsnCiEOlDwz5rBPL4B7CsYSNaB6ZSMJ9lLdZx_yuH9RsIzgHuEHbsFFy0LPDXUgU3awtiWNP3VMsLFaxOuPoyz8qWln-dxhnN7WBjJVjeKvuSNJBz2dDAJEOqxizLpn4N9gl2FIFJn8asC5jb0MJT-c-GlAoWQP1yII3SENs5kDhiNNxtFggmjpQir_yfcF0Zr-QDu_387wgZXEN7f1vtSTqUtSwiM6JGHCP27kUy8eiCVpfQoQdwDj_DMe5L9gSdD9lYw8YklSCBDtlVGxBStuCZpoSgLz1VZpGteufD2mcJCq9w508ie8KmXntkGG-yxorK_OGp21n3MglPMdBn6lQdxSEeOSOrn_u9wV13Y0h6Vc_VGqV5xT9u-pZZeIo3fwwfMSkfSCkBI1y7aMMbjdafxSNoqPKrUjuYW-Kt3u2Nwr4fhCW1bkye67V4_esx08LsE894iKvRWbQlzSLxB35KMD8WDyIRd5lsqdM9aEYbsedz5eV_QCbrKoYd3XGW_dwGOkhr6vGRhrLpwne0","Connection:close"],"dfdaemon":true,"nodes":["172.25.66.111:8002=1"],"localLimit":"100MB","minRate":"64KB","totalLimit":"100MB","clientQueueSize":6,"workHome":"/root/.small-dragonfly","logConfig":{"maxSize":0,"maxBackups":0}}

2020-04-28 06:43:19.726 INFO sign:23-1588056199.726 : target file path:/root/.small-dragonfly/dfdaemon/data/73e80b11-d473-4306-8583-755602b1f859

2020-04-28 06:43:19.727 INFO sign:25-1588056199.727 : get cmd params:["/opt/dragonfly/df-client/dfget" "-u" "http://172.25.66.110/v2/dragonfly/img/blobs/sha256:97acd4fda45b91f29808af0e87de69f595bb09f866282ae21c666c473de712ab" "-o" "/root/.small-dragonfly/dfdaemon/data/aaf91c86-66e7-4a33-b983-331c3d346281" "--node" "172.25.66.111=1" "-f" "Expires&Signature" "--dfdaemon" "-s" "100MB" "--totallimit" "100MB" "--node" "172.25.66.111" "--header" "User-Agent:docker/19.03.8 go/go1.12.17 git-commit/afacb8b kernel/3.10.0-1062.12.1.el7.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/19.03.8 \\(linux\\))" "--header" "Authorization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IkdWSVI6Rk1ESTpEVFZOOjVJWlY6N1VDMzpNWkFEOkFJTFI6QUxBRzpVUk41OjIyUUM6VEtSRjpXNFdXIn0.eyJpc3MiOiJoYXJib3ItdG9rZW4taXNzdWVyIiwic3ViIjoiYWRtaW4iLCJhdWQiOiJoYXJib3ItcmVnaXN0cnkiLCJleHAiOjE1ODgwNTc5OTgsIm5iZiI6MTU4ODA1NjE5OCwiaWF0IjoxNTg4MDU2MTk4LCJqdGkiOiJ5OHdYSUR3dWdGUnExWWNDIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJkcmFnb25mbHkvaW1nIiwiYWN0aW9ucyI6WyJwdXNoIiwiKiIsInB1bGwiXX1dfQ.eBvaHvOMMN9sdd7XrhdH3sFizMvalGpgaCBssdvCKjqq2BGEOXMkxKkiZyqO6gui3FfvZoZ64I7OkraQ0D5zy7gp2KGkBwzUILhD1hDLejsJZNzH5u44xvPveACe91qMe8kiT_KJ3u415UOaNpjbcNTsnCiEOlDwz5rBPL4B7CsYSNaB6ZSMJ9lLdZx_yuH9RsIzgHuEHbsFFy0LPDXUgU3awtiWNP3VMsLFaxOuPoyz8qWln-dxhnN7WBjJVjeKvuSNJBz2dDAJEOqxizLpn4N9gl2FIFJn8asC5jb0MJT-c-GlAoWQP1yII3SENs5kDhiNNxtFggmjpQir_yfcF0Zr-QDu_387wgZXEN7f1vtSTqUtSwiM6JGHCP27kUy8eiCVpfQoQdwDj_DMe5L9gSdD9lYw8YklSCBDtlVGxBStuCZpoSgLz1VZpGteufD2mcJCq9w508ie8KmXntkGG-yxorK_OGp21n3MglPMdBn6lQdxSEeOSOrn_u9wV13Y0h6Vc_VGqV5xT9u-pZZeIo3fwwfMSkfSCkBI1y7aMMbjdafxSNoqPKrUjuYW-Kt3u2Nwr4fhCW1bkye67V4_esx08LsE894iKvRWbQlzSLxB35KMD8WDyIRd5lsqdM9aEYbsedz5eV_QCbrKoYd3XGW_dwGOkhr6vGRhrLpwne0" "--header" "Connection:close"]

2020-04-28 06:43:19.728 INFO sign:25-1588056199.727 : get init config:{"url":"http://172.25.66.110/v2/dragonfly/img/blobs/sha256:97acd4fda45b91f29808af0e87de69f595bb09f866282ae21c666c473de712ab","output":"/root/.small-dragonfly/dfdaemon/data/aaf91c86-66e7-4a33-b983-331c3d346281","pattern":"p2p","filter":["Expires","Signature"],"header":["User-Agent:docker/19.03.8 go/go1.12.17 git-commit/afacb8b kernel/3.10.0-1062.12.1.el7.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/19.03.8 \\(linux\\))","Authorization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IkdWSVI6Rk1ESTpEVFZOOjVJWlY6N1VDMzpNWkFEOkFJTFI6QUxBRzpVUk41OjIyUUM6VEtSRjpXNFdXIn0.eyJpc3MiOiJoYXJib3ItdG9rZW4taXNzdWVyIiwic3ViIjoiYWRtaW4iLCJhdWQiOiJoYXJib3ItcmVnaXN0cnkiLCJleHAiOjE1ODgwNTc5OTgsIm5iZiI6MTU4ODA1NjE5OCwiaWF0IjoxNTg4MDU2MTk4LCJqdGkiOiJ5OHdYSUR3dWdGUnExWWNDIiwiYWNjZXNzIjpbeyJ0eXBlIjoicmVwb3NpdG9yeSIsIm5hbWUiOiJkcmFnb25mbHkvaW1nIiwiYWN0aW9ucyI6WyJwdXNoIiwiKiIsInB1bGwiXX1dfQ.eBvaHvOMMN9sdd7XrhdH3sFizMvalGpgaCBssdvCKjqq2BGEOXMkxKkiZyqO6gui3FfvZoZ64I7OkraQ0D5zy7gp2KGkBwzUILhD1hDLejsJZNzH5u44xvPveACe91qMe8kiT_KJ3u415UOaNpjbcNTsnCiEOlDwz5rBPL4B7CsYSNaB6ZSMJ9lLdZx_yuH9RsIzgHuEHbsFFy0LPDXUgU3awtiWNP3VMsLFaxOuPoyz8qWln-dxhnN7WBjJVjeKvuSNJBz2dDAJEOqxizLpn4N9gl2FIFJn8asC5jb0MJT-c-GlAoWQP1yII3SENs5kDhiNNxtFggmjpQir_yfcF0Zr-QDu_387wgZXEN7f1vtSTqUtSwiM6JGHCP27kUy8eiCVpfQoQdwDj_DMe5L9gSdD9lYw8YklSCBDtlVGxBStuCZpoSgLz1VZpGteufD2mcJCq9w508ie8KmXntkGG-yxorK_OGp21n3MglPMdBn6lQdxSEeOSOrn_u9wV13Y0h6Vc_VGqV5xT9u-pZZeIo3fwwfMSkfSCkBI1y7aMMbjdafxSNoqPKrUjuYW-Kt3u2Nwr4fhCW1bkye67V4_esx08LsE894iKvRWbQlzSLxB35KMD8WDyIRd5lsqdM9aEYbsedz5eV_QCbrKoYd3XGW_dwGOkhr6vGRhrLpwne0","Connection:close"],"dfdaemon":true,"nodes":["172.25.66.111:8002=1"],"localLimit":"100MB","minRate":"64KB","totalLimit":"100MB","clientQueueSize":6,"workHome":"/root/.small-dragonfly","logConfig":{"maxSize":0,"maxBackups":0}}

2020-04-28 06:43:19.728 INFO sign:25-1588056199.727 : target file path:/root/.small-dragonfly/dfdaemon/data/aaf91c86-66e7-4a33-b983-331c3d346281

2020-04-28 06:43:19.728 INFO sign:23-1588056199.726 : runtimeVariable: {"MetaPath":"/root/.small-dragonfly/meta/host.meta","SystemDataDir":"/root/.small-dragonfly/data","DataDir":"/root/.small-dragonfly/data","RealTarget":"/root/.small-dragonfly/dfdaemon/data/73e80b11-d473-4306-8583-755602b1f859","TargetDir":"/root/.small-dragonfly/dfdaemon/data","TempTarget":"/root/.small-dragonfly/dfdaemon/data/dfget-23-1588056199.726.tmp-851871739","Cid":"172.17.0.2-23-1588056199.726","TaskURL":"http://172.25.66.110/v2/dragonfly/img/blobs/sha256:aad63a9339440e7c3e1fff2b988991b9bfb81280042fa7f39a5e327023056819","TaskFileName":"73e80b11-d473-4306-8583-755602b1f859-23-1588056199.726","LocalIP":"172.17.0.2","PeerPort":0,"FileLength":-1,"DataExpireTime":180000000000,"ServerAliveTime":300000000000}

2020-04-28 06:43:19.728 INFO sign:23-1588056199.726 : local http result: err:dial tcp4 172.17.0.2:0: connect: connection refused, port:0 path:/check/

2020-04-28 06:43:19.728 INFO sign:25-1588056199.727 : runtimeVariable: {"MetaPath":"/root/.small-dragonfly/meta/host.meta","SystemDataDir":"/root/.small-dragonfly/data","DataDir":"/root/.small-dragonfly/data","RealTarget":"/root/.small-dragonfly/dfdaemon/data/aaf91c86-66e7-4a33-b983-331c3d346281","TargetDir":"/root/.small-dragonfly/dfdaemon/data","TempTarget":"/root/.small-dragonfly/dfdaemon/data/dfget-25-1588056199.727.tmp-737472291","Cid":"172.17.0.2-25-1588056199.727","TaskURL":"http://172.25.66.110/v2/dragonfly/img/blobs/sha256:97acd4fda45b91f29808af0e87de69f595bb09f866282ae21c666c473de712ab","TaskFileName":"aaf91c86-66e7-4a33-b983-331c3d346281-25-1588056199.727","LocalIP":"172.17.0.2","PeerPort":0,"FileLength":-1,"DataExpireTime":180000000000,"ServerAliveTime":300000000000}

2020-04-28 06:43:19.728 INFO sign:25-1588056199.727 : local http result: err:dial tcp4 172.17.0.2:0: connect: connection refused, port:0 path:/check/

2020-04-28 06:43:19.839 INFO sign:22-1588056199.667 : local http result:461ea45e-af68-4d9c-89b1-b2877aa4cef4-22-1588056199.667 err:, port:58520 path:/check/

2020-04-28 06:43:19.839 INFO sign:22-1588056199.667 : use peer server on port:58520

2020-04-28 06:43:19.839 INFO sign:22-1588056199.667 : do register to one of [172.25.66.111:8002 172.25.66.111:8002]

2020-04-28 06:43:19.872 INFO sign:22-1588056199.667 : do register to 172.25.66.111:8002, res:{"code":200,"msg":"success","data":{"taskId":"0e0e2514115973347fc84dc7ef0667dfd79f573982246c11371e032be2ae8fc2","fileLength":1785,"pieceSize":4194304}} error:

2020-04-28 06:43:19.872 INFO sign:22-1588056199.667 : do register result:{"code":200,"msg":"success","data":{"taskId":"0e0e2514115973347fc84dc7ef0667dfd79f573982246c11371e032be2ae8fc2","fileLength":1785,"pieceSize":4194304}} and cost:0.033s

2020-04-28 06:43:19.872 INFO sign:22-1588056199.667 : downloading piece:{"taskID":"0e0e2514115973347fc84dc7ef0667dfd79f573982246c11371e032be2ae8fc2","superNode":"172.25.66.111:8002","dstCid":"","range":"","result":502,"status":700,"pieceSize":0,"pieceNum":0}

2020-04-28 06:43:19.873 INFO sign:22-1588056199.667 : pull piece task({"taskID":"0e0e2514115973347fc84dc7ef0667dfd79f573982246c11371e032be2ae8fc2","superNode":"172.25.66.111:8002","dstCid":"","range":"","result":502,"status":700,"pieceSize":0,"pieceNum":0}) result:{"code":602,"msg":"clientSucCount:0,cdnSucCount:0: {\"Code\":9,\"Msg\":\"peer should wait\"}"} and sleep 0.096s

2020-04-28 06:43:19.889 INFO sign:25-1588056199.727 : local http result:aaf91c86-66e7-4a33-b983-331c3d346281-25-1588056199.727 err:, port:58520 path:/check/

2020-04-28 06:43:19.889 INFO sign:25-1588056199.727 : use peer server on port:58520

2020-04-28 06:43:19.889 INFO sign:25-1588056199.727 : do register to one of [172.25.66.111:8002 172.25.66.111:8002]

2020-04-28 06:43:19.930 INFO sign:25-1588056199.727 : do register to 172.25.66.111:8002, res:{"code":200,"msg":"success","data":{"taskId":"32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","fileLength":1074069681,"pieceSize":12582912}} error:

2020-04-28 06:43:19.930 INFO sign:25-1588056199.727 : do register result:{"code":200,"msg":"success","data":{"taskId":"32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","fileLength":1074069681,"pieceSize":12582912}} and cost:0.041s

2020-04-28 06:43:19.931 INFO sign:25-1588056199.727 : downloading piece:{"taskID":"32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","superNode":"172.25.66.111:8002","dstCid":"","range":"","result":502,"status":700,"pieceSize":0,"pieceNum":0}

2020-04-28 06:43:19.931 INFO sign:25-1588056199.727 : pull piece task({"taskID":"32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","superNode":"172.25.66.111:8002","dstCid":"","range":"","result":502,"status":700,"pieceSize":0,"pieceNum":0}) result:{"code":602,"msg":"clientSucCount:0,cdnSucCount:0: {\"Code\":9,\"Msg\":\"peer should wait\"}"} and sleep 0.084s

2020-04-28 06:43:19.936 INFO sign:23-1588056199.726 : local http result:73e80b11-d473-4306-8583-755602b1f859-23-1588056199.726 err:, port:58520 path:/check/

2020-04-28 06:43:19.936 INFO sign:23-1588056199.726 : use peer server on port:58520

2020-04-28 06:43:19.937 INFO sign:23-1588056199.726 : do register to one of [172.25.66.111:8002 172.25.66.111:8002]

2020-04-28 06:43:19.971 INFO sign:22-1588056199.667 : pull rate result:104857600 cost:400.672µs

2020-04-28 06:43:19.974 INFO sign:22-1588056199.667 : downloading piece:{"taskID":"0e0e2514115973347fc84dc7ef0667dfd79f573982246c11371e032be2ae8fc2","superNode":"172.25.66.111:8002","dstCid":"cdnnode:172.25.66.111~0e0e2514115973347fc84dc7ef0667dfd79f573982246c11371e032be2ae8fc2","range":"0-4194303","result":503,"status":701,"pieceSize":4194304,"pieceNum":0}

2020-04-28 06:43:19.975 INFO sign:22-1588056199.667 : remaining piece to be written count:0

2020-04-28 06:43:19.978 INFO sign:22-1588056199.667 : wait client writer finish cost:0.003,main qu size:0,client qu size:0

2020-04-28 06:43:19.978 INFO sign:22-1588056199.667 : move src:/root/.small-dragonfly/data/461ea45e-af68-4d9c-89b1-b2877aa4cef4-22-1588056199.667 to dst:/root/.small-dragonfly/dfdaemon/data/461ea45e-af68-4d9c-89b1-b2877aa4cef4 result:true cost:0.000

2020-04-28 06:43:19.978 INFO sign:22-1588056199.667 : download successfully from dragonfly

2020-04-28 06:43:19.979 INFO sign:22-1588056199.667 : download SUCCESS from supernode [172.25.66.111:8002] cost:0.312s length:1785

2020-04-28 06:43:19.980 INFO sign:23-1588056199.726 : do register to 172.25.66.111:8002, res:{"code":200,"msg":"success","data":{"taskId":"b569bdc724005f622a4004bb3bd7b7271e8e81a935e582af7feb26578974ce3e","fileLength":2803255,"pieceSize":4194304}} error:

2020-04-28 06:43:19.980 INFO sign:23-1588056199.726 : do register result:{"code":200,"msg":"success","data":{"taskId":"b569bdc724005f622a4004bb3bd7b7271e8e81a935e582af7feb26578974ce3e","fileLength":2803255,"pieceSize":4194304}} and cost:0.043s

2020-04-28 06:43:19.981 INFO sign:23-1588056199.726 : downloading piece:{"taskID":"b569bdc724005f622a4004bb3bd7b7271e8e81a935e582af7feb26578974ce3e","superNode":"172.25.66.111:8002","dstCid":"","range":"","result":502,"status":700,"pieceSize":0,"pieceNum":0}

2020-04-28 06:43:19.982 INFO sign:23-1588056199.726 : pull piece task({"taskID":"b569bdc724005f622a4004bb3bd7b7271e8e81a935e582af7feb26578974ce3e","superNode":"172.25.66.111:8002","dstCid":"","range":"","result":502,"status":700,"pieceSize":0,"pieceNum":0}) result:{"code":602,"msg":"clientSucCount:0,cdnSucCount:0: {\"Code\":9,\"Msg\":\"peer should wait\"}"} and sleep 0.050s

2020-04-28 06:43:20.016 INFO sign:25-1588056199.727 : pull piece task({"taskID":"32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","superNode":"172.25.66.111:8002","dstCid":"","range":"","result":502,"status":700,"pieceSize":0,"pieceNum":0}) result:{"code":602,"msg":"clientSucCount:0,cdnSucCount:0: {\"Code\":9,\"Msg\":\"peer should wait\"}"} and sleep 0.148s

2020-04-28 06:43:20.032 INFO sign:23-1588056199.726 : pull piece task({"taskID":"b569bdc724005f622a4004bb3bd7b7271e8e81a935e582af7feb26578974ce3e","superNode":"172.25.66.111:8002","dstCid":"","range":"","result":502,"status":700,"pieceSize":0,"pieceNum":0}) result:{"code":602,"msg":"clientSucCount:0,cdnSucCount:0: {\"Code\":9,\"Msg\":\"peer should wait\"}"} and sleep 0.121s

2020-04-28 06:43:20.154 INFO sign:23-1588056199.726 : pull piece task({"taskID":"b569bdc724005f622a4004bb3bd7b7271e8e81a935e582af7feb26578974ce3e","superNode":"172.25.66.111:8002","dstCid":"","range":"","result":502,"status":700,"pieceSize":0,"pieceNum":0}) result:{"code":602,"msg":"clientSucCount:0,cdnSucCount:0: {\"Code\":9,\"Msg\":\"peer should wait\"}"} and sleep 0.394s

2020-04-28 06:43:20.165 INFO sign:25-1588056199.727 : pull rate result:104857600 cost:254.268µs

2020-04-28 06:43:20.224 INFO sign:25-1588056199.727 : downloading piece:{"taskID":"32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","superNode":"172.25.66.111:8002","dstCid":"cdnnode:172.25.66.111~32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","range":"0-12582911","result":503,"status":701,"pieceSize":12582912,"pieceNum":0}

2020-04-28 06:43:20.227 INFO sign:25-1588056199.727 : pull piece task({"taskID":"32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","superNode":"172.25.66.111:8002","dstCid":"cdnnode:172.25.66.111~32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","range":"0-12582911","result":503,"status":701,"pieceSize":12582912,"pieceNum":0}) result:{"code":602,"msg":"clientSucCount:1,cdnSucCount:1: {\"Code\":9,\"Msg\":\"peer should wait\"}"} and sleep 0.302s

2020-04-28 06:43:20.530 INFO sign:25-1588056199.727 : pull piece task({"taskID":"32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","superNode":"172.25.66.111:8002","dstCid":"cdnnode:172.25.66.111~32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","range":"0-12582911","result":503,"status":701,"pieceSize":12582912,"pieceNum":0}) result:{"code":602,"msg":"clientSucCount:1,cdnSucCount:1: {\"Code\":9,\"Msg\":\"peer should wait\"}"} and sleep 0.623s

2020-04-28 06:43:20.554 INFO sign:23-1588056199.726 : pull rate result:52428800 cost:307.986µs

2020-04-28 06:43:20.581 INFO sign:23-1588056199.726 : downloading piece:{"taskID":"b569bdc724005f622a4004bb3bd7b7271e8e81a935e582af7feb26578974ce3e","superNode":"172.25.66.111:8002","dstCid":"cdnnode:172.25.66.111~b569bdc724005f622a4004bb3bd7b7271e8e81a935e582af7feb26578974ce3e","range":"0-4194303","result":503,"status":701,"pieceSize":4194304,"pieceNum":0}

2020-04-28 06:43:20.586 INFO sign:23-1588056199.726 : remaining piece to be written count:0

2020-04-28 06:43:20.611 INFO sign:23-1588056199.726 : wait client writer finish cost:0.025,main qu size:0,client qu size:0

2020-04-28 06:43:20.612 INFO sign:23-1588056199.726 : move src:/root/.small-dragonfly/data/73e80b11-d473-4306-8583-755602b1f859-23-1588056199.726 to dst:/root/.small-dragonfly/dfdaemon/data/73e80b11-d473-4306-8583-755602b1f859 result:true cost:0.000

2020-04-28 06:43:20.612 INFO sign:23-1588056199.726 : download successfully from dragonfly

2020-04-28 06:43:20.613 INFO sign:23-1588056199.726 : download SUCCESS from supernode [172.25.66.111:8002] cost:0.887s length:2803255

2020-04-28 06:43:21.155 INFO sign:25-1588056199.727 : pull piece task({"taskID":"32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","superNode":"172.25.66.111:8002","dstCid":"cdnnode:172.25.66.111~32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","range":"0-12582911","result":503,"status":701,"pieceSize":12582912,"pieceNum":0}) result:{"code":602,"msg":"clientSucCount:1,cdnSucCount:1: {\"Code\":9,\"Msg\":\"peer should wait\"}"} and sleep 1.388s

2020-04-28 06:43:22.661 INFO sign:25-1588056199.727 : downloading piece:{"taskID":"32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","superNode":"172.25.66.111:8002","dstCid":"cdnnode:172.25.66.111~32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","range":"25165824-37748735","result":503,"status":701,"pieceSize":12582912,"pieceNum":2}

2020-04-28 06:43:22.738 INFO sign:25-1588056199.727 : downloading piece:{"taskID":"32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","superNode":"172.25.66.111:8002","dstCid":"cdnnode:172.25.66.111~32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","range":"75497472-88080383","result":503,"status":701,"pieceSize":12582912,"pieceNum":6}

2020-04-28 06:43:22.739 INFO sign:25-1588056199.727 : pull piece task({"taskID":"32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","superNode":"172.25.66.111:8002","dstCid":"cdnnode:172.25.66.111~32592bb75d28a781b23dd2010f9ccb33c670ce85ec16fda2b568b81875b25c1d","range":"75497472-88080383","result":503,"status":701,"pieceSize":12582912,"pieceNum":6}) result:{"code":602,"msg":"{\"Code\":9,\"Msg\":\"peer should wait\"}"} and sleep 0.850s

2020-04-28 06:43:23.590 INFO sign:25-1588056199.727 : pull rate result:104857600 cost:319.994µs

......

为了方便测试,supernode只留下172.25.66.111

/etc/dragonfly/dfdaemon.yml

dfget_flags: ["--node","172.25.66.111=1","-f","Expires&Signature"]

proxies:

- regx: blobs/sha256.*

 类似资料: