安装dcos“vagrant up m1 a1 boot”时出错

brccelvz  于 2021-06-26  发布在  Mesos
关注(0)|答案(1)|浏览(412)

我对dcos很陌生。我正在听从第二节的指示https://github.com/dcos/dcos-vagrant/blob/master/docs/deploy.md 在安装中,我在运行时出错
流浪汉上m1 a1 Boot
我正在使用

vagrant version 1.8.4 
 Virtual box version 5.0.20
 windows 7 , 8G RAM

以及错误

<pre>==> m1:       Sep 28 08:48:37 m1.dcos systemd[1]: Starting Navstar: A distribute
d systems & network overlay orchestration engine...
==> m1:       Sep 28 08:48:37 m1.dcos check-time[12001]: Time is marked as bad
==> m1:       Sep 28 08:48:37 m1.dcos systemd[1]: dcos-navstar.service: control
process exited, code=exited status=1
==> m1:       Sep 28 08:48:37 m1.dcos systemd[1]: Failed to start Navstar: A dis
tributed systems & network overlay orchestration engine.
==> m1:       Sep 28 08:48:37 m1.dcos systemd[1]: Unit dcos-navstar.service ente
red failed state.
==> m1:       Sep 28 08:48:37 m1.dcos systemd[1]: dcos-navstar.service failed.
==> m1:
==> m1:       time="2016-09-28T08:48:37-07:00" level=fatal msg="Found unhealthy
systemd units"
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

dcos-postflight

Stdout from the command:

Stderr from the command:

DC/OS Unhealthy\ntime="2016-09-28T08:48:37-07:00" level=info msg="/opt/mesospher
e/etc/endpoints_config.json not found"
time="2016-09-28T08:48:37-07:00" level=info msg="Command /opt/mesosphere/bin/det
ect_ip executed successfully, PID 12011"
[dcos-metronome.service]: DC/OS Metronome unit dcos-metronome.service has never
entered `active` state
-- Logs begin at Wed 2016-09-28 08:22:53 PDT, end at Wed 2016-09-28 08:48:37 PDT
. --
Sep 28 08:46:22 m1.dcos systemd[1]: Unit dcos-metronome.service entered failed s
tate.
Sep 28 08:46:22 m1.dcos systemd[1]: dcos-metronome.service failed.
Sep 28 08:46:37 m1.dcos systemd[1]: dcos-metronome.service holdoff time over, sc
heduling restart.
Sep 28 08:46:37 m1.dcos systemd[1]: Starting Jobs Service: DC/OS Metronome...
Sep 28 08:46:37 m1.dcos systemd[1]: dcos-metronome.service: control process exit
ed, code=exited status=1
Sep 28 08:46:37 m1.dcos systemd[1]: Failed to start Jobs Service: DC/OS Metronom
e.
Sep 28 08:46:37 m1.dcos systemd[1]: Unit dcos-metronome.service entered failed s
tate.
Sep 28 08:46:37 m1.dcos systemd[1]: dcos-metronome.service failed.
Sep 28 08:46:52 m1.dcos systemd[1]: dcos-metronome.service holdoff time over, sc
heduling restart.
Sep 28 08:46:52 m1.dcos systemd[1]: Starting Jobs Service: DC/OS Metronome...
Sep 28 08:46:52 m1.dcos systemd[1]: dcos-metronome.service: control process exit
ed, code=exited status=1
Sep 28 08:46:52 m1.dcos systemd[1]: Failed to start Jobs Service: DC/OS Metronom
e.
Sep 28 08:46:52 m1.dcos systemd[1]: Unit dcos-metronome.service entered failed s
tate.
Sep 28 08:46:52 m1.dcos systemd[1]: dcos-metronome.service failed.
Sep 28 08:47:07 m1.dcos systemd[1]: dcos-metronome.service holdoff time over, sc
heduling restart.
Sep 28 08:47:07 m1.dcos systemd[1]: Starting Jobs Service: DC/OS Metronome...
Sep 28 08:47:07 m1.dcos systemd[1]: dcos-metronome.service: control process exit
ed, code=exited status=1
Sep 28 08:47:07 m1.dcos systemd[1]: Failed to start Jobs Service: DC/OS Metronom
e.
Sep 28 08:47:07 m1.dcos systemd[1]: Unit dcos-metronome.service entered failed s
tate.
Sep 28 08:47:07 m1.dcos systemd[1]: dcos-metronome.service failed.
Sep 28 08:47:23 m1.dcos systemd[1]: dcos-metronome.service holdoff time over, sc
heduling restart.
Sep 28 08:47:23 m1.dcos systemd[1]: Starting Jobs Service: DC/OS Metronome...
Sep 28 08:47:23 m1.dcos systemd[1]: dcos-metronome.service: control process exit
ed, code=exited status=1
Sep 28 08:47:23 m1.dcos systemd[1]: Failed to start Jobs Service: DC/OS Metronom
e.
Sep 28 08:47:23 m1.dcos systemd[1]: Unit dcos-metronome.service entered failed s
tate.
Sep 28 08:47:23 m1.dcos systemd[1]: dcos-metronome.service failed.
Sep 28 08:47:38 m1.dcos systemd[1]: dcos-metronome.service holdoff time over, sc
heduling restart.
Sep 28 08:47:38 m1.dcos systemd[1]: Starting Jobs Service: DC/OS Metronome...
Sep 28 08:47:38 m1.dcos systemd[1]: dcos-metronome.service: control process exit
ed, code=exited status=1
Sep 28 08:47:38 m1.dcos systemd[1]: Failed to start Jobs Service: DC/OS Metronom
e.
Sep 28 08:47:38 m1.dcos systemd[1]: Unit dcos-metronome.service entered failed s
tate.
Sep 28 08:47:38 m1.dcos systemd[1]: dcos-metronome.service failed.
Sep 28 08:47:53 m1.dcos systemd[1]: dcos-metronome.service holdoff time over, sc
heduling restart.
Sep 28 08:47:53 m1.dcos systemd[1]: Starting Jobs Service: DC/OS Metronome...
Sep 28 08:47:53 m1.dcos systemd[1]: dcos-metronome.service: control process exit
ed, code=exited status=1
Sep 28 08:47:53 m1.dcos systemd[1]: Failed to start Jobs Service: DC/OS Metronom
e.
Sep 28 08:47:53 m1.dcos systemd[1]: Unit dcos-metronome.service entered failed s
tate.
Sep 28 08:47:53 m1.dcos systemd[1]: dcos-metronome.service failed.
Sep 28 08:48:08 m1.dcos systemd[1]: dcos-metronome.service holdoff time over, sc
heduling restart.
Sep 28 08:48:08 m1.dcos systemd[1]: Starting Jobs Service: DC/OS Metronome...
Sep 28 08:48:08 m1.dcos systemd[1]: dcos-metronome.service: control process exit
ed, code=exited status=1
Sep 28 08:48:08 m1.dcos systemd[1]: Failed to start Jobs Service: DC/OS Metronom
e.
Sep 28 08:48:08 m1.dcos systemd[1]: Unit dcos-metronome.service entered failed s
tate.
Sep 28 08:48:08 m1.dcos systemd[1]: dcos-metronome.service failed.
Sep 28 08:48:23 m1.dcos systemd[1]: dcos-metronome.service holdoff time over, sc
heduling restart.
Sep 28 08:48:23 m1.dcos systemd[1]: Starting Jobs Service: DC/OS Metronome...
Sep 28 08:48:23 m1.dcos systemd[1]: dcos-metronome.service: control process exit
ed, code=exited status=1
Sep 28 08:48:23 m1.dcos systemd[1]: Failed to start Jobs Service: DC/OS Metronom
e.
Sep 28 08:48:23 m1.dcos systemd[1]: Unit dcos-metronome.service entered failed s
tate.
Sep 28 08:48:23 m1.dcos systemd[1]: dcos-metronome.service failed.

[dcos-minuteman.service]: DC/OS Layer 4 Load Balancing Service unit dcos-minutem
an.service has never entered `active` state
-- Logs begin at Wed 2016-09-28 08:22:53 PDT, end at Wed 2016-09-28 08:48:37 PDT
. --
Sep 28 08:48:00 m1.dcos systemd[1]: dcos-minuteman.service failed.
Sep 28 08:48:06 m1.dcos systemd[1]: dcos-minuteman.service holdoff time over, sc
heduling restart.
Sep 28 08:48:06 m1.dcos systemd[1]: Starting Layer 4 Load Balancer: DC/OS Layer
4 Load Balancing Service...
Sep 28 08:48:06 m1.dcos systemd[1]: dcos-minuteman.service: control process exit
ed, code=exited status=1
Sep 28 08:48:06 m1.dcos systemd[1]: Failed to start Layer 4 Load Balancer: DC/OS
 Layer 4 Load Balancing Service.
Sep 28 08:48:06 m1.dcos systemd[1]: Unit dcos-minuteman.service entered failed s
tate.
Sep 28 08:48:06 m1.dcos systemd[1]: dcos-minuteman.service failed.
Sep 28 08:48:06 m1.dcos check-time[11810]: Time is marked as bad
Sep 28 08:48:11 m1.dcos systemd[1]: dcos-minuteman.service holdoff time over, sc
heduling restart.
Sep 28 08:48:11 m1.dcos systemd[1]: Starting Layer 4 Load Balancer: DC/OS Layer
4 Load Balancing Service...
Sep 28 08:48:11 m1.dcos check-time[11837]: Time is marked as bad
Sep 28 08:48:11 m1.dcos systemd[1]: dcos-minuteman.service: control process exit
ed, code=exited status=1
Sep 28 08:48:11 m1.dcos systemd[1]: Failed to start Layer 4 Load Balancer: DC/OS
 Layer 4 Load Balancing Service.
Sep 28 08:48:11 m1.dcos systemd[1]: Unit dcos-minuteman.service entered failed s
tate.
Sep 28 08:48:11 m1.dcos systemd[1]: dcos-minuteman.service failed.
Sep 28 08:48:16 m1.dcos systemd[1]: dcos-minuteman.service holdoff time over, sc
heduling restart.
Sep 28 08:48:16 m1.dcos systemd[1]: Starting Layer 4 Load Balancer: DC/OS Layer
4 Load Balancing Service...
Sep 28 08:48:16 m1.dcos check-time[11869]: Time is marked as bad
Sep 28 08:48:16 m1.dcos systemd[1]: dcos-minuteman.service: control process exit
ed, code=exited status=1
Sep 28 08:48:16 m1.dcos systemd[1]: Failed to start Layer 4 Load Balancer: DC/OS
 Layer 4 Load Balancing Service.
Sep 28 08:48:16 m1.dcos systemd[1]: Unit dcos-minuteman.service entered failed s
tate.
Sep 28 08:48:16 m1.dcos systemd[1]: dcos-minuteman.service failed.
Sep 28 08:48:21 m1.dcos systemd[1]: dcos-minuteman.service holdoff time over, sc
heduling restart.
Sep 28 08:48:21 m1.dcos systemd[1]: Starting Layer 4 Load Balancer: DC/OS Layer
4 Load Balancing Service...
Sep 28 08:48:21 m1.dcos systemd[1]: dcos-minuteman.service: control process exit
ed, code=exited status=1
Sep 28 08:48:21 m1.dcos systemd[1]: Failed to start Layer 4 Load Balancer: DC/OS
 Layer 4 Load Balancing Service.
Sep 28 08:48:21 m1.dcos systemd[1]: Unit dcos-minuteman.service entered failed s
tate.
Sep 28 08:48:21 m1.dcos systemd[1]: dcos-minuteman.service failed.
Sep 28 08:48:21 m1.dcos check-time[11898]: Time is marked as bad
Sep 28 08:48:26 m1.dcos systemd[1]: dcos-minuteman.service holdoff time over, sc
heduling restart.
Sep 28 08:48:26 m1.dcos systemd[1]: Starting Layer 4 Load Balancer: DC/OS Layer
4 Load Balancing Service...
Sep 28 08:48:26 m1.dcos check-time[11928]: Time is marked as bad
Sep 28 08:48:26 m1.dcos systemd[1]: dcos-minuteman.service: control process exit
ed, code=exited status=1
Sep 28 08:48:26 m1.dcos systemd[1]: Failed to start Layer 4 Load Balancer: DC/OS
 Layer 4 Load Balancing Service.
Sep 28 08:48:26 m1.dcos systemd[1]: Unit dcos-minuteman.service entered failed s
tate.
Sep 28 08:48:26 m1.dcos systemd[1]: dcos-minuteman.service failed.
Sep 28 08:48:31 m1.dcos systemd[1]: dcos-minuteman.service holdoff time over, sc
heduling restart.
Sep 28 08:48:31 m1.dcos systemd[1]: Starting Layer 4 Load Balancer: DC/OS Layer
4 Load Balancing Service...
Sep 28 08:48:31 m1.dcos systemd[1]: dcos-minuteman.service: control process exit
ed, code=exited status=1
Sep 28 08:48:31 m1.dcos systemd[1]: Failed to start Layer 4 Load Balancer: DC/OS
 Layer 4 Load Balancing Service.
Sep 28 08:48:31 m1.dcos systemd[1]: Unit dcos-minuteman.service entered failed s
tate.
Sep 28 08:48:31 m1.dcos systemd[1]: dcos-minuteman.service failed.
Sep 28 08:48:31 m1.dcos check-time[11962]: Time is marked as bad
Sep 28 08:48:37 m1.dcos systemd[1]: dcos-minuteman.service holdoff time over, sc
heduling restart.
Sep 28 08:48:37 m1.dcos systemd[1]: Starting Layer 4 Load Balancer: DC/OS Layer
4 Load Balancing Service...
Sep 28 08:48:37 m1.dcos check-time[12002]: Time is marked as bad
Sep 28 08:48:37 m1.dcos systemd[1]: dcos-minuteman.service: control process exit
ed, code=exited status=1
Sep 28 08:48:37 m1.dcos systemd[1]: Failed to start Layer 4 Load Balancer: DC/OS
 Layer 4 Load Balancing Service.
Sep 28 08:48:37 m1.dcos systemd[1]: Unit dcos-minuteman.service entered failed s
tate.
Sep 28 08:48:37 m1.dcos systemd[1]: dcos-minuteman.service failed.

[dcos-navstar.service]: A distributed systems & network overlay orchestration en
gine unit dcos-navstar.service has never entered `active` state
-- Logs begin at Wed 2016-09-28 08:22:53 PDT, end at Wed 2016-09-28 08:48:37 PDT
. --
Sep 28 08:48:00 m1.dcos systemd[1]: dcos-navstar.service failed.
Sep 28 08:48:06 m1.dcos systemd[1]: dcos-navstar.service holdoff time over, sche
duling restart.
Sep 28 08:48:06 m1.dcos systemd[1]: Starting Navstar: A distributed systems & ne
twork overlay orchestration engine...
Sep 28 08:48:06 m1.dcos systemd[1]: dcos-navstar.service: control process exited
, code=exited status=1
Sep 28 08:48:06 m1.dcos systemd[1]: Failed to start Navstar: A distributed syste
ms & network overlay orchestration engine.
Sep 28 08:48:06 m1.dcos systemd[1]: Unit dcos-navstar.service entered failed sta
te.
Sep 28 08:48:06 m1.dcos systemd[1]: dcos-navstar.service failed.
Sep 28 08:48:06 m1.dcos check-time[11809]: Time is marked as bad
Sep 28 08:48:11 m1.dcos systemd[1]: dcos-navstar.service holdoff time over, sche
duling restart.
Sep 28 08:48:11 m1.dcos systemd[1]: Starting Navstar: A distributed systems & ne
twork overlay orchestration engine...
Sep 28 08:48:11 m1.dcos check-time[11839]: Time is marked as bad
Sep 28 08:48:11 m1.dcos systemd[1]: dcos-navstar.service: control process exited
, code=exited status=1
Sep 28 08:48:11 m1.dcos systemd[1]: Failed to start Navstar: A distributed syste
ms & network overlay orchestration engine.
Sep 28 08:48:11 m1.dcos systemd[1]: Unit dcos-navstar.service entered failed sta
te.
Sep 28 08:48:11 m1.dcos systemd[1]: dcos-navstar.service failed.
Sep 28 08:48:16 m1.dcos systemd[1]: dcos-navstar.service holdoff time over, sche
duling restart.
Sep 28 08:48:16 m1.dcos systemd[1]: Starting Navstar: A distributed systems & ne
twork overlay orchestration engine...
Sep 28 08:48:16 m1.dcos check-time[11867]: Time is marked as bad
Sep 28 08:48:16 m1.dcos systemd[1]: dcos-navstar.service: control process exited
, code=exited status=1
Sep 28 08:48:16 m1.dcos systemd[1]: Failed to start Navstar: A distributed syste
ms & network overlay orchestration engine.
Sep 28 08:48:16 m1.dcos systemd[1]: Unit dcos-navstar.service entered failed sta
te.
Sep 28 08:48:16 m1.dcos systemd[1]: dcos-navstar.service failed.
Sep 28 08:48:21 m1.dcos systemd[1]: dcos-navstar.service holdoff time over, sche
duling restart.
Sep 28 08:48:21 m1.dcos systemd[1]: Starting Navstar: A distributed systems & ne
twork overlay orchestration engine...
Sep 28 08:48:21 m1.dcos systemd[1]: dcos-navstar.service: control process exited
, code=exited status=1
Sep 28 08:48:21 m1.dcos check-time[11899]: Time is marked as bad
Sep 28 08:48:21 m1.dcos systemd[1]: Failed to start Navstar: A distributed syste
ms & network overlay orchestration engine.
Sep 28 08:48:21 m1.dcos systemd[1]: Unit dcos-navstar.service entered failed sta
te.
Sep 28 08:48:21 m1.dcos systemd[1]: dcos-navstar.service failed.
Sep 28 08:48:26 m1.dcos systemd[1]: dcos-navstar.service holdoff time over, sche
duling restart.
Sep 28 08:48:26 m1.dcos systemd[1]: Starting Navstar: A distributed systems & ne
twork overlay orchestration engine...
Sep 28 08:48:26 m1.dcos check-time[11929]: Time is marked as bad
Sep 28 08:48:26 m1.dcos systemd[1]: dcos-navstar.service: control process exited
, code=exited status=1
Sep 28 08:48:26 m1.dcos systemd[1]: Failed to start Navstar: A distributed syste
ms & network overlay orchestration engine.
Sep 28 08:48:26 m1.dcos systemd[1]: Unit dcos-navstar.service entered failed sta
te.
Sep 28 08:48:26 m1.dcos systemd[1]: dcos-navstar.service failed.
Sep 28 08:48:31 m1.dcos systemd[1]: dcos-navstar.service holdoff time over, sche
duling restart.
Sep 28 08:48:31 m1.dcos systemd[1]: Starting Navstar: A distributed systems & ne
twork overlay orchestration engine...
Sep 28 08:48:31 m1.dcos systemd[1]: dcos-navstar.service: control process exited
, code=exited status=1
Sep 28 08:48:31 m1.dcos systemd[1]: Failed to start Navstar: A distributed syste
ms & network overlay orchestration engine.
Sep 28 08:48:31 m1.dcos systemd[1]: Unit dcos-navstar.service entered failed sta
te.
Sep 28 08:48:31 m1.dcos systemd[1]: dcos-navstar.service failed.
Sep 28 08:48:31 m1.dcos check-time[11963]: Time is marked as bad
Sep 28 08:48:37 m1.dcos systemd[1]: dcos-navstar.service holdoff time over, sche
duling restart.
Sep 28 08:48:37 m1.dcos systemd[1]: Starting Navstar: A distributed systems & ne
twork overlay orchestration engine...
Sep 28 08:48:37 m1.dcos check-time[12001]: Time is marked as bad
Sep 28 08:48:37 m1.dcos systemd[1]: dcos-navstar.service: control process exited
, code=exited status=1
Sep 28 08:48:37 m1.dcos systemd[1]: Failed to start Navstar: A distributed syste
ms & network overlay orchestration engine.
Sep 28 08:48:37 m1.dcos systemd[1]: Unit dcos-navstar.service entered failed sta
te.
Sep 28 08:48:37 m1.dcos systemd[1]: dcos-navstar.service failed.

time="2016-09-28T08:48:37-07:00" level=fatal msg="Found unhealthy systemd units"

不知道我在哪里错过了什么。谷歌搜索了一下,仍然找不到确切的错误。有什么帮助吗
谢谢您

wyyhbhjk

wyyhbhjk1#

“time is marked as bad”来自1.8.4中添加的一个新的时间检查过程,用于验证节点之间的时间是否同步。
通常,生产集群会使用ntp来同步节点时钟,但这还没有被烘焙到dcos vagrant基映像中(实际上,只是制作了一张票据)。virtualbox确实在本地进行了一些时间同步,这通常是可行的,但有时还不够好。
因此,为了暂时解决这个问题,更新了config.yaml示例以使用 check_time: false ,这将禁用时间检查。您需要更新本地副本。

相关问题