tos master安装最后一步启动报错


#1

下面是日志。。。重复安装过很多次,这里的日志信息没有看出来是什么问题
Wed Apr 11 14:44:48 CST 2018 [Manager] Starting task local part …
start handle local part, dataModel is
Map(localhostname -> tdh1, current.user -> root, service -> Map(keytab -> /etc/tos/conf/tos.keytab, tos.master.apiserver.secure.port -> 8553, tos.master.dashboard.username -> dashboard, plugins -> List(), tos.master.controller.port -> 10252, auth -> simple, tdh1 -> Map(tos.master.etcd.initial.cluster.state -> new), domain -> , tos.slave.kubelet.port -> 10250, tos.master.etcd.heartbeat.interval -> 250, tos.master.apiserver.port -> 8080, kdc -> Map(hostname -> , port -> ), id -> 1, tos.registry.ui.port -> 8081, roles -> Map(TOS_REGISTRY -> List(Map(id -> 4, hostname -> tdh1, ip -> 192.168.10.198, toDecommission -> false)), TOS_MASTER -> List(Map(id -> 5, hostname -> tdh1, ip -> 192.168.10.198, toDecommission -> false)), TOS_SLAVE -> List(Map(id -> 1, hostname -> tdh1, ip -> 192.168.10.198, toDecommission -> false), Map(id -> 2, hostname -> tdh2, ip -> 192.168.10.199, toDecommission -> false), Map(id -> 3, hostname -> tdh3, ip -> 192.168.10.200, toDecommission -> false))), tos.master.dashboard.password -> password, realm -> , tos.master.etcd.initial.cluster.state -> new, tos.master.etcd.port -> 4001, tos.registry.port -> 5000, tos.slave.kubelet.healthzport -> 10248, tos.master.etcd.election.timeout -> 1250, tos.master.leader.elect.port -> 4002, sid -> tos, tos.master.scheduler.port -> 10251), transwarpRepo -> http://192.168.10.198:8180/pub/transwarp, node.id -> 1, role.id -> 5, dependencies -> Map(TOS -> Map(keytab -> /etc/tos/conf/tos.keytab, tos.master.apiserver.secure.port -> 8553, tos.master.dashboard.username -> dashboard, plugins -> List(), tos.master.controller.port -> 10252, auth -> simple, tdh1 -> Map(tos.master.etcd.initial.cluster.state -> new), domain -> , tos.slave.kubelet.port -> 10250, tos.master.etcd.heartbeat.interval -> 250, tos.master.apiserver.port -> 8080, kdc -> Map(hostname -> , port -> ), id -> 1, tos.registry.ui.port -> 8081, roles -> Map(TOS_REGISTRY -> List(Map(id -> 4, hostname -> tdh1, ip -> 192.168.10.198, toDecommission -> false)), TOS_MASTER -> List(Map(id -> 5, hostname -> tdh1, ip -> 192.168.10.198, toDecommission -> false)), TOS_SLAVE -> List(Map(id -> 1, hostname -> tdh1, ip -> 192.168.10.198, toDecommission -> false), Map(id -> 2, hostname -> tdh2, ip -> 192.168.10.199, toDecommission -> false), Map(id -> 3, hostname -> tdh3, ip -> 192.168.10.200, toDecommission -> false))), tos.master.dashboard.password -> password, realm -> , tos.master.etcd.initial.cluster.state -> new, tos.master.etcd.port -> 4001, tos.registry.port -> 5000, tos.slave.kubelet.healthzport -> 10248, tos.master.etcd.election.timeout -> 1250, tos.master.leader.elect.port -> 4002, sid -> tos, tos.master.scheduler.port -> 10251), LICENSE_SERVICE -> Map(keytab -> /etc/transwarp_license_cluster/conf/license_service.keytab, syncLimit -> 5, zoo_cfg -> Map(maxClientCnxns -> 0, tickTime -> 9000, initLimit -> 10, syncLimit -> 5), plugins -> List(), auth -> simple, zookeeper.jmxremote.port -> 9922, domain -> , zookeeper.container.requests.memory -> -1, kdc -> Map(hostname -> , port -> ), zookeeper.container.limits.cpu -> -1, id -> 2, maxClientCnxns -> 0, roles -> Map(LICENSE_NODE -> List(Map(id -> 30, hostname -> tdh2, ip -> 192.168.10.199, toDecommission -> false))), zookeeper.server.memory -> 256, zookeeper.container.limits.memory -> -1, zookeeper.container.requests.cpu -> -1, zookeeper.memory.ratio -> -1, realm -> , initLimit -> 10, tickTime -> 9000, sid -> transwarp_license_cluster, tdh2 -> Map(zookeeper.client.port -> 2291, zookeeper.leader.elect.port -> 3988, zookeeper.peer.communicate.port -> 2988))))
Wed Apr 11 14:44:48 CST 2018 [Manager] execute command: RenderFileOp(FreeMarker,tos-etcd.manifest,/opt/kubernetes/manifests-multi/tos-etcd.manifest,755,None,None)
rendering content of /opt/kubernetes/manifests-multi/tos-etcd.manifest …
content of host tdh1 file /opt/kubernetes/manifests-multi/tos-etcd.manifest generated
copying to host tdh1 file /var/lib/transwarp-manager/agent/operations/resource-tmp/@opt@kubernetes@manifests-multi@tos-etcd.manifest …
host tdh1 file /opt/kubernetes/manifests-multi/tos-etcd.manifest copied at /var/lib/transwarp-manager/agent/operations/resource-tmp/@opt@kubernetes@manifests-multi@tos-etcd.manifest
Wed Apr 11 14:44:48 CST 2018 [Manager] execute command: RenderFileOp(FreeMarker,tos-apiserver.manifest,/opt/kubernetes/manifests-multi/tos-apiserver.manifest,755,None,None)
rendering content of /opt/kubernetes/manifests-multi/tos-apiserver.manifest …
content of host tdh1 file /opt/kubernetes/manifests-multi/tos-apiserver.manifest generated
copying to host tdh1 file /var/lib/transwarp-manager/agent/operations/resource-tmp/@opt@kubernetes@manifests-multi@tos-apiserver.manifest …
host tdh1 file /opt/kubernetes/manifests-multi/tos-apiserver.manifest copied at /var/lib/transwarp-manager/agent/operations/resource-tmp/@opt@kubernetes@manifests-multi@tos-apiserver.manifest
Wed Apr 11 14:44:48 CST 2018 [Manager] execute command: RenderFileOp(FreeMarker,tos-controller.manifest,/opt/kubernetes/manifests-multi/tos-controller.manifest,755,None,None)
rendering content of /opt/kubernetes/manifests-multi/tos-controller.manifest …
content of host tdh1 file /opt/kubernetes/manifests-multi/tos-controller.manifest generated
copying to host tdh1 file /var/lib/transwarp-manager/agent/operations/resource-tmp/@opt@kubernetes@manifests-multi@tos-controller.manifest …
host tdh1 file /opt/kubernetes/manifests-multi/tos-controller.manifest copied at /var/lib/transwarp-manager/agent/operations/resource-tmp/@opt@kubernetes@manifests-multi@tos-controller.manifest
Wed Apr 11 14:44:48 CST 2018 [Manager] execute command: RenderFileOp(FreeMarker,tos-scheduler.manifest,/opt/kubernetes/manifests-multi/tos-scheduler.manifest,755,None,None)
rendering content of /opt/kubernetes/manifests-multi/tos-scheduler.manifest …
content of host tdh1 file /opt/kubernetes/manifests-multi/tos-scheduler.manifest generated
copying to host tdh1 file /var/lib/transwarp-manager/agent/operations/resource-tmp/@opt@kubernetes@manifests-multi@tos-scheduler.manifest …
host tdh1 file /opt/kubernetes/manifests-multi/tos-scheduler.manifest copied at /var/lib/transwarp-manager/agent/operations/resource-tmp/@opt@kubernetes@manifests-multi@tos-scheduler.manifest
Wed Apr 11 14:44:48 CST 2018 [Manager] Task local part ended
Waiting TOS Master (TOS,tdh1) to become Healthy within 600 seconds …
Latest health check result of roles:
VITAL_SIGN_CHECK HEALTHY at Wed Apr 11 14:47:43 CST 2018
Connection check result of TOS Master tdh1 was Healthy
DAEMON_CHECK DOWN at Wed Apr 11 14:47:47 CST 2018
TOS_MASTER is not running on tdh1
boot.sh --data-dir is running as 3f9b2a7417bf
boot.sh apiserver is running as 98c84a11488b
boot.sh controller has no running container
boot.sh scheduler has no running container
io.transwarp.manager.master.manager.service.health.WaitHealthy$$anon$1: TOS Master (TOS,tdh1) didn’t become Healthy within 600 secondsWed Apr 11 14:44:48 CST 2018 [Agent] execute command: mv -f “/var/lib/transwarp-manager/agent/operations/resource-tmp/@opt@kubernetes@manifests-multi@tos-etcd.manifest” “/opt/kubernetes/manifests-multi/tos-etcd.manifest” && chmod 755 “/opt/kubernetes/manifests-multi/tos-etcd.manifest”
Wed Apr 11 14:44:48 CST 2018 [Agent] exit status: 0
Wed Apr 11 14:44:48 CST 2018 [Agent] execute command: mv -f “/var/lib/transwarp-manager/agent/operations/resource-tmp/@opt@kubernetes@manifests-multi@tos-apiserver.manifest” “/opt/kubernetes/manifests-multi/tos-apiserver.manifest” && chmod 755 “/opt/kubernetes/manifests-multi/tos-apiserver.manifest”
Wed Apr 11 14:44:48 CST 2018 [Agent] exit status: 0
Wed Apr 11 14:44:48 CST 2018 [Agent] execute command: mv -f “/var/lib/transwarp-manager/agent/operations/resource-tmp/@opt@kubernetes@manifests-multi@tos-controller.manifest” “/opt/kubernetes/manifests-multi/tos-controller.manifest” && chmod 755 “/opt/kubernetes/manifests-multi/tos-controller.manifest”
Wed Apr 11 14:44:48 CST 2018 [Agent] exit status: 0
Wed Apr 11 14:44:48 CST 2018 [Agent] execute command: mv -f “/var/lib/transwarp-manager/agent/operations/resource-tmp/@opt@kubernetes@manifests-multi@tos-scheduler.manifest” “/opt/kubernetes/manifests-multi/tos-scheduler.manifest” && chmod 755 “/opt/kubernetes/manifests-multi/tos-scheduler.manifest”
Wed Apr 11 14:44:49 CST 2018 [Agent] exit status: 0


#2

执行以下这个命令有什么显示


#3

问题解决了。。。因为创建虚拟机的时候设置的2核cpu,改为6核之后就好了


#4

目标文件不存在


#5

好,感谢关注星环产品~~