安装了 MAAS 2.3 的服务器,节点可以毫无问题地投入使用。但是,在部署 ubuntu 映像时,我收到以下错误。
MAAS 图形用户界面:
节点 -> 事件
Node post-installation failure - 'cloudinit' running modules for config
Node post-installation failure - 'cloudinit' running config-apt-configure with frequency once-per-instance
我可以登录节点,安装包且没有错误,还可以 ping 和 traceroute 其他 DNS 服务器。
节点
命令:
sudo cloud-init status --长状态:
> error time: Thu, 21 Jun 2018
> 19:39:41 +0000 detail: ('apt-configure', ValueError('Old and New apt
> format defined with unequal values True vs False @
> apt_preserve_sources_list',))
文件: 云初始化日志
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 792, in _run_modules
freq=freq)
File "/usr/lib/python3/dist-packages/cloudinit/cloud.py", line 54, in run
return self._runners.run(name, functor, args, freq, clear_on_fail)
File "/usr/lib/python3/dist-packages/cloudinit/helpers.py", line 187, in run
results = functor(*args)
File "/usr/lib/python3/dist-packages/cloudinit/config/cc_apt_configure.py", line 274, in handle
ocfg = convert_to_v3_apt_format(ocfg)
File "/usr/lib/python3/dist-packages/cloudinit/config/cc_apt_configure.py", line 759, in convert_to_v3_apt_format
cfg = convert_v2_to_v3_apt_format(cfg)
File "/usr/lib/python3/dist-packages/cloudinit/config/cc_apt_configure.py", line 725, in convert_v2_to_v3_apt_format
oldkey))
ValueError: Old and New apt format defined with unequal values True vs False @ apt_preserve_sources_list
我尝试过不同的方法来解决该问题,但没有成功。
我不知道哪里出了问题。任何帮助都欢迎。
谢谢。