Author Topic: Error on Create VM  (Read 584 times)

TAfirehawk

  • Newbie
  • *
  • Posts: 38
Error on Create VM
« on: January 28, 2012, 08:35:13 PM »
Here is the error trying to create a new VM.  This may be affected by the previous post I made about the create template error.

Code: [Select]
Generating configuration...
Creating OpenVZ container...
Traceback (most recent call last):
  File "/opt/opennode/bin/opennode", line 82, in <module>
    tui.run()
  File "/usr/lib/python2.6/site-packages/opennode/cli/screen.py", line 473, in run
    self.display_main_screen()
  File "/usr/lib/python2.6/site-packages/opennode/cli/screen.py", line 51, in display_main_screen
    logic[result]()
  File "/usr/lib/python2.6/site-packages/opennode/cli/screen.py", line 434, in display_vm_create
    vm.deploy(user_settings, storage_pool)
  File "/usr/lib/python2.6/site-packages/opennode/cli/actions/vm/openvz.py", line 242, in deploy
    create_container(ovf_settings)
  File "/usr/lib/python2.6/site-packages/opennode/cli/actions/vm/openvz.py", line 205, in create_container
    ovf_settings["vm_id"]))
  File "/usr/lib/python2.6/site-packages/opennode/cli/actions/utils.py", line 55, in execute
    % (cmd, status, output), status)
opennode.cli.actions.utils.CommandException: Failed to execute command 'vzctl create 1004 --ostemplate Apache MPM-Worker --config 1004'. Status: '5120'. Output: 'non-option ARGV-elements: MPM-Worker '

TAfirehawk

  • Newbie
  • *
  • Posts: 38
Re: Error on Create VM
« Reply #1 on: January 28, 2012, 08:36:13 PM »
My setup is latest version of everything on CentOS 64 bit with kernel Linux 2.6.32-042stab049.2 on x86_64

ilja_l

  • Administrator
  • Full Member
  • *****
  • Posts: 226
Re: Error on Create VM
« Reply #2 on: February 02, 2012, 10:17:13 PM »
Hi,

(sorry, missed this post)

Basically, the problem is with a spacing in the template name. I've added an issue (https://github.com/opennode/opennode-tui/issues/64), meanwhile a workaround is simply not to have whitespaces in a template name. You know, real_developers_dont_use_whitespaces :)

I.