Primeira massa de login do console usando este link .
Então, a partir do console:
sudo maas root node-groups import-boot-images
Import of boot images started on all cluster controllers
Eu instalei o Ubuntu 14.04 e quando eu corro
maas root node-groups import-boot-images
tudo que eu obtenho é
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')
quando executo maas-import-pxe-files
, recebo este erro:
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')
e eu não recebo nenhuma imagem, o mesmo vale para a web ui.
Alguma idéia?
Primeira massa de login do console usando este link .
Então, a partir do console:
sudo maas root node-groups import-boot-images
Import of boot images started on all cluster controllers
Tags maas