Import exist instances

14 views
Skip to first unread message

Oliveiros Neto

unread,
Oct 15, 2017, 7:28:02 PM10/15/17
to Synnefo
I installed synnefo in version 0.19 and when trying to import exists vms the error is returned.


root@node01:~# snf-manage server-import --user=6a3a831b-7b59-44a4-b902-a9029be2d569 --backend-id=1 --image=b8b800c6-8fc0-4779-89d6-50ae70e9195f --flavor=30 gagede
Traceback (most recent call last):
  File "/usr/bin/snf-manage", line 9, in <module>
    load_entry_point('snf-webproject==0.19', 'console_scripts', 'snf-manage')()
  File "/usr/lib/python2.7/dist-packages/synnefo/webproject/manage.py", line 51, in main
    mu.execute()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 377, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/snf_django/management/commands/__init__.py", line 187, in run_from_argv
    super(SynnefoCommand, self).run_from_argv(argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 288, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 338, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/synnefo/logic/management/commands/server-import.py", line 104, in handle
    if not locals()[field.replace("-", "_")]:
KeyError: 'user'


Thanks for yours help!
Reply all
Reply to author
Forward
0 new messages