我正在尝试部署 JUJU Gui,但无法部署。我发现其他帖子也存在同样的问题,并提到了这个错误。
该错误已在 1.25.4 中修复,但我使用的是 1.25.5,仍然遇到同样的问题。其他人也遇到过这种情况吗?
landscape@juju-machine-0-lxc-1:/var/log/juju$ juju deploy juju-gui
ERROR cannot load cookies: file locked for too long; giving up
landscape@juju-machine-0-lxc-1:/var/log/juju$ juju deploy --to 0 juju-gui
ERROR cannot load cookies: file locked for too long; giving up
[Machines]
ID STATE VERSION DNS INS-ID SERIES HARDWARE
0 started 1.25.5 node00.maas /MAAS/api/1.0/nodes/node-0c195d0a-1837-11e6-b5b2-0015c5efa6ff/ trusty arch=amd64 cpu-cores=4 mem=16384M
1 started 1.25.5 node01.maas /MAAS/api/1.0/nodes/node-81978dfc-185c-11e6-b442-0015c5efa6ff/ trusty arch=amd64 cpu-cores=8 mem=32768M
2 started 1.25.5 node03.maas /MAAS/api/1.0/nodes/node-857a9eaa-185c-11e6-86a5-0015c5efa6ff/ trusty arch=amd64 cpu-cores=8 mem=32768M
3 started 1.25.5 node02.maas /MAAS/api/1.0/nodes/node-8304f3a0-185c-11e6-9f9d-0015c5efa6ff/ trusty arch=amd64 cpu-cores=8 mem=32768M
landscape@juju-machine-0-lxc-1:/var/log/juju$ juju status --format summary
Running on subnets: 10.14.0.101/8
Utilizing ports: 123/udp, 27017/tcp, 27019/tcp,
27021/tcp, 28017/tcp, 3333/tcp,
443/tcp, 5672/tcp, 80/tcp,
8773/tcp, 8774/tcp, 8777/tcp,
9292/tcp, 9696/tcp
# MACHINES: (4)
started: 4
# UNITS: (87)
started: 87
# SERVICES: (23)
base-machine 0/1 exposed
ceilometer 0/1 exposed
ceilometer-agent 0/1 exposed
ceph-mon 0/1 exposed
ceph-osd 0/1 exposed
ceph-radosgw 0/1 exposed
cinder 0/1 exposed
glance 0/1 exposed
keystone 0/1 exposed
landscape-client 0/1 exposed
mongodb 0/1 exposed
mysql 0/1 exposed
nagios 0/1 exposed
neutron-api 0/1 exposed
neutron-gateway 0/1 exposed
neutron-openvswitch 0/1 exposed
nova-cloud-controller 0/1 exposed
nova-compute 0/1 exposed
nrpe 0/1 exposed
ntp 0/1 exposed
ntpmaster 0/1 exposed
openstack-dashboard 0/1 exposed
rabbitmq-server 0/1 exposed
答案1
该错误已确认并重新打开。
答案2
与此同时,如果您正在进行测试和开发,我非常希望您能对 Juju 2.0 测试版提供反馈。最新版本 (b7) 似乎与 LXD 配合良好,我认为公共云也如此。在 2.0 中,GUI 是基本控制器的一部分,因此您所要做的就是:
$ juju 自动加载凭据 $ juju bootstrap aws $ juju gui
看看这对您是否有用。