看到主机是 ubuntu14.04 ,必须要是ubuntu16.04 吗?或者在是 ubuntu14.04 怎么操作?
准备提交主机初始化任务...
主机初始化任务提交成功
正在检查是否可通过SSH访问目标主机...
目标主机可通过SSH访问
开始检查目标主机salt安装版本...
salt是否安装: false
开始自动安装salt(此过程可能耗时几分钟,请耐心等待)...
salt 检查和安装出错 java.lang.RuntimeException: 安装salt失败 command: sshpass -p weijunjiea11..** ssh -l root -o StrictHostKeyChecking=no 47.98.198.240 bash /tmp/init_entrypoint.sh -A install -S d2VpanVuamllYTExLi4qKg== exitValue: 1 stdout: 主机系统不是 ubuntu16.04 ! 安装 salt-minion 失败 errout: sudo: unable to resolve host iZbp1c741lskofxgw8nqh1Z at com.justep.salt.SaltMinionInstaller.install(SaltMinionInstaller.java:162) at com.justep.salt.SaltMinionCheckAndInstall.installAndAccept(SaltMinionCheckAndInstall.java:111) at com.justep.console.core.service.DefaultSaltService.installSalt(DefaultSaltService.java:485) at com.justep.console.core.service.DefaultSaltService.processWithSSHAccess(DefaultSaltService.java:155) at com.justep.console.core.service.DefaultSaltService.checkAndInstall2(DefaultSaltService.java:119) at com.justep.console.core.service.DefaultSaltService.checkAndInstall(DefaultSaltService.java:55) at org.app.agent.inithost.InitAgentHostRunner.run(InitAgentHostRunner.java:54) at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:732) at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:716) at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:703) at org.springframework.boot.SpringApplication.run(SpringApplication.java:304) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) at org.app.agent.inithost.AppInitAgentHost.main(AppInitAgentHost.java:87) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
主机初始化失败