Juju lxc 部署不起作用!

Juju lxc 部署不起作用!

我在 lxc 容器上部署服務時遇到問題。這是 juju 狀態:

environment: maas
machines:
"0":
agent-state: started
agent-version: 1.24.0
dns-name: node4.maas
instance-id: /MAAS/api/1.0/nodes/node-98e78102-1e47-11e5-885d-0030487c90c8/
series: trusty
containers:
  0/lxc/9:
    agent-state-info: 'container failed to start and was destroyed: juju-machine-0-lxc-9'
    instance-id: pending
    series: trusty
hardware: arch=amd64 cpu-cores=2 mem=16384M
state-server-member-status: has-vote

我可以在單機上部署服務,但無法將其部署到lxc。有人可以幫忙嗎?

答案1

調試的最佳方法是查看調試日誌,看看它是否洩露了更多信息

juju debug-log -n 1000

過去幾個月,這一領域取得了許多進展。使用更新版本的 juju 重試可能會有所幫助

相關內容