我尽可能地遵循了指南。但是缺少了一些信息,例如以 root 或普通用户身份执行操作..格式化,引号不引号..ssh 的密码或释义应该是什么..其他一些琐碎的事情。我确信这些信息加起来就是我所处的位置(卡住了!)
因此,我在 mx-nas-01 和 3 个节点上有一个可运行的 mass 服务器,并且一直在尝试启动 juju。我已尝试以 root 和我的常规帐户 sudo no-sudo 执行此操作,这是我从 juju bootstrap 获得的输出(无论我如何尝试)我不知道这是否是主机、域、帐户问题,或者我将提到的是,我确实必须关闭我的 dhcp 服务器并安装 masq(所有默认值)才能使 maas pxe 为节点工作
mxdog@mx-nas-01:/$ juju bootstrap
Traceback (most recent call last):
File "/usr/bin/juju", line 8, in <module>
main(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/juju/control/__init__.py", line 183, in main
env_config.load_or_write_sample()
File "/usr/lib/python2.7/dist-packages/juju/environment/config.py", line 229, in load_or_write_sample
self.load()
File "/usr/lib/python2.7/dist-packages/juju/environment/config.py", line 115, in load
self.parse(file.read(), path)
File "/usr/lib/python2.7/dist-packages/juju/environment/config.py", line 138, in parse
config = SCHEMA.coerce(config, [])
File "/usr/lib/python2.7/dist-packages/juju/lib/schema.py", line 266, in coerce
new_dict[k] = self.schema[k].coerce(v, path)
File "/usr/lib/python2.7/dist-packages/juju/lib/schema.py", line 233, in coerce
new_subvalue = self.value_schema.coerce(subvalue, value_path)
File "/usr/lib/python2.7/dist-packages/juju/lib/schema.py", line 301, in coerce
return self.schemas[selected].coerce(value, path)
KeyError: 'mass'
环境:
马斯:
type: mass
mass-server: http://192.168.0.30:80/MAAS
mass-oauth: tDRdtJeEKVARBh93eT:N5dK5HSZBsA45cBdx9:S8wMNrfkT9PeYvQN9YrnbHGxmKARv8vb
admin-secret: ##########
default-series: precise
答案1
type: mass
看起来你那里有一些拼写错误,maas
至少应该如此。