master 的 Openshift ansible 错误(byo / origin / container)
Openshift ansible error for master( byo / origin / container )
我正在尝试通过 ansible 安装 openshift origin 并在 master 上遇到以下错误。有没有人遇到过类似的问题/这是解析错误吗?
systemctl -l status origin-master.service
● origin-master.service
Loaded: loaded (/etc/systemd/system/origin-master.service; enabled; vendor preset: disabled)
Active: activating (start-post) since Wed 2016-02-24 17:48:11 EST; 2s ago
Process: 25168 ExecStop=/usr/bin/docker stop origin-master (code=exited, status=1/FAILURE)
Process: 25175 ExecStartPre=/usr/bin/docker rm -f origin-master (code=exited, status=1/FAILURE)
Main PID: 25181 (docker); : 25182 (sleep)
Memory: 1.8M
CGroup: /system.slice/origin-master.service
├─25181 /usr/bin/docker run --rm --privileged --net=host --name origin-master -v /var/lib/origin:/var/lib/origin -v /var/run/docker.sock:/var/run/docker.sock -v /etc/origin:/etc/origin openshift/origin start master --config=/etc/origin/master/master-config.yaml --loglevel=2
└─control
└─25182 /usr/bin/sleep 10
Feb 24 17:48:11 ip-10-96-50-231.ec2.internal systemd[1]: Starting origin-master.service...
Feb 24 17:48:11 ip-10-96-50-231.ec2.internal docker[25175]: Error response from daemon: no such id: origin-master
Feb 24 17:48:11 ip-10-96-50-231.ec2.internal docker[25175]: Error: failed to remove containers: [origin-master]
Feb 24 17:48:11 ip-10-96-50-231.ec2.internal docker[25181]: F0224 22:48:11.517035 1 start_master.go:97] could not load config file "/etc/origin/master/master-config.yaml" due to an error: error reading config: [pos 2313]: json: decNum: got first char '"'
head -2 "/etc/origin/master/master-config.yaml" apiLevels:
- v1
如果有人遇到类似问题 - 我已经定义了
osm_host_subnet_length=/8
should be
osm_host_subnet_length=8
我正在尝试通过 ansible 安装 openshift origin 并在 master 上遇到以下错误。有没有人遇到过类似的问题/这是解析错误吗?
systemctl -l status origin-master.service
● origin-master.service
Loaded: loaded (/etc/systemd/system/origin-master.service; enabled; vendor preset: disabled)
Active: activating (start-post) since Wed 2016-02-24 17:48:11 EST; 2s ago
Process: 25168 ExecStop=/usr/bin/docker stop origin-master (code=exited, status=1/FAILURE)
Process: 25175 ExecStartPre=/usr/bin/docker rm -f origin-master (code=exited, status=1/FAILURE)
Main PID: 25181 (docker); : 25182 (sleep)
Memory: 1.8M
CGroup: /system.slice/origin-master.service
├─25181 /usr/bin/docker run --rm --privileged --net=host --name origin-master -v /var/lib/origin:/var/lib/origin -v /var/run/docker.sock:/var/run/docker.sock -v /etc/origin:/etc/origin openshift/origin start master --config=/etc/origin/master/master-config.yaml --loglevel=2
└─control
└─25182 /usr/bin/sleep 10
Feb 24 17:48:11 ip-10-96-50-231.ec2.internal systemd[1]: Starting origin-master.service...
Feb 24 17:48:11 ip-10-96-50-231.ec2.internal docker[25175]: Error response from daemon: no such id: origin-master
Feb 24 17:48:11 ip-10-96-50-231.ec2.internal docker[25175]: Error: failed to remove containers: [origin-master]
Feb 24 17:48:11 ip-10-96-50-231.ec2.internal docker[25181]: F0224 22:48:11.517035 1 start_master.go:97] could not load config file "/etc/origin/master/master-config.yaml" due to an error: error reading config: [pos 2313]: json: decNum: got first char '"'
head -2 "/etc/origin/master/master-config.yaml" apiLevels: - v1
如果有人遇到类似问题 - 我已经定义了
osm_host_subnet_length=/8
should be
osm_host_subnet_length=8