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')
画像が表示されません。Web UI も同様です。
何か案は?
答え1
最初にコンソールからログインしてこのリンク。
次にコンソールから:
sudo maas root node-groups import-boot-images
Import of boot images started on all cluster controllers