Ubuntu 14.04를 설치하고 실행하면
maas root node-groups import-boot-images
내가 얻는 전부는
root@maas:~# maas xxxx node-groups import-boot-images
usage: /usr/lib/python2.7/dist-packages/maascli/__main__.py [-h] COMMAND ...
/usr/lib/python2.7/dist-packages/maascli/__main__.py: error: argument COMMAND: invalid choice: u'xxxx' (choose from u'list', u'login', u'logout', u'refresh')
실행하면 maas-import-pxe-files
다음 오류가 발생합니다.
root@maas:~# maas-import-pxe-files
usage: maas-import-pxe-files [-h] --sources-file SOURCES_FILE
maas-import-pxe-files: error: argument --sources-file is required
root@maas:~# maas-import-pxe-files --sources-file /etc/maas/bootresources.yaml
2014-10-28 14:16:05,919 ERROR Unhandled exception; unable to continue.
Traceback (most recent call last):
File "/usr/sbin/maas-import-pxe-files", line 30, in <module>
main(args)
File "/usr/lib/python2.7/dist-packages/provisioningserver/import_images/boot_resources.py", line 269, in main
sources = read_sources(args.sources_file)
File "/usr/lib/python2.7/dist-packages/provisioningserver/import_images/boot_resources.py", line 197, in read_sources
return BootSources.load(filename=sources_yaml)
File "/usr/lib/python2.7/dist-packages/provisioningserver/config.py", line 349, in load
return cls.parse(stream)
File "/usr/lib/python2.7/dist-packages/provisioningserver/config.py", line 343, in parse
return cls.sources.to_python(yaml.safe_load(stream))
File "/usr/lib/python2.7/dist-packages/formencode/api.py", line 439, in to_python
value = tp(value, state)
File "/usr/lib/python2.7/dist-packages/formencode/compound.py", line 58, in _to_python
to_python)
File "/usr/lib/python2.7/dist-packages/formencode/foreach.py", line 102, in attempt_convert
error_list=errors)
Invalid: Errors:
The input must be dict-like (not a <type 'str'>: 'boot')
이미지가 전혀 표시되지 않습니다. 웹 UI에서도 마찬가지입니다.
어떤 아이디어가 있나요?
답변1
다음을 사용하여 콘솔에서 첫 번째 로그인 대량이 링크.
그런 다음 콘솔에서:
sudo maas root node-groups import-boot-images
Import of boot images started on all cluster controllers