sealerio / sealer

Build, Share and Run Both Your Kubernetes Cluster and Distributed Applications (Project under CNCF)
http://sealer.cool
Apache License 2.0
2.05k stars 360 forks source link

copying files too slow #716

Open willzhang opened 2 years ago

willzhang commented 2 years ago

What happened:

when use sealer run copying files too slow , need 10 min or more to copy file to destation host.

What you expected to happen:

copy file fast

How to reproduce it (as minimally and precisely as possible):

[root@internal ~]# sealer run kubernetes:v1.19.9 --masters 192.168.92.12 --passwd 123456
2021-09-27 11:09:30 [INFO] [default_image.go:55] image kubernetes:v1.19.9 already exists
copying files to 192.168.92.12: 184/318 

Anything else we need to know?:

Environment:

[root@internal ~]# sealer version
{"gitVersion":"v0.4.0","gitCommit":"7341634","buildDate":"2021-08-31 10:45:26","goVersion":"go1.14.15","compiler":"gc","platform":"linux/amd64"}
[root@internal ~]# 

vmware workstation 16

[root@internal ~]# cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (Core)
[root@internal ~]# uname -a
Linux internal.registry.com 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@internal ~]# 

sealer

bxy4543 commented 2 years ago

Change UseDNS yes in the /etc/ssh/sshd_config configuration to no, Change the value of "GSSAPIAuthentication" to "no" (if there is no such configuration option, add the configuration).

mingmingshiliyu commented 12 months ago

so ridiculous! today I tried this,the same problem exists still.