I am running CentOS 6.2 with OpenVZ kernel 2.6.32-042stab045.1 on x86_64 patched in after OpenNode script was used. I did "yum update opennode" to get the latest opennode-tui.
This is my third install of OpenVZ/OpenNode but this time I can't get a VM created without the following error. I added the template in the template cache and the files show up in /storage/local/openvz and /unpacked.
running cli
Traceback (most recent call last):
File "/opt/opennode/bin/opennode", line 83, in <module>
tui.run()
File "/usr/lib/python2.6/site-packages/opennode/cli/screen.py", line 392, in run
self.display_main_screen()
File "/usr/lib/python2.6/site-packages/opennode/cli/screen.py", line 47, in display_main_screen
logic[result]()
File "/usr/lib/python2.6/site-packages/opennode/cli/screen.py", line 341, in display_vm_create
template_settings = vm.get_ovf_template_settings(ovf_file)
File "/usr/lib/python2.6/site-packages/opennode/cli/actions/vm/openvz.py", line 27, in get_ovf_template_settings
settings["vm_id"] = _get_available_ct_id()
File "/usr/lib/python2.6/site-packages/opennode/cli/actions/vm/openvz.py", line 118, in _get_available_ct_id
return max (100, max([0] + _get_openvz_ct_id_list())) + 1
File "/usr/lib/python2.6/site-packages/opennode/cli/actions/vm/openvz.py", line 128, in _get_openvz_ct_id_list
return map(int, conn.listDefinedDomains() + conn.listDomainsID())
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2859, in listDomainsID
if ret is None: raise libvirtError ('virConnectListDomainsID() failed', conn=self)
libvirt.libvirtError: internal error Child process (/usr/sbin/vzlist -ovpsid -H) status unexpected: exit status 1
Files seem ok here:
[root@community openvz]# ls
centos-6.0-x86_64-asys.tar centos-6.0-x86_64-asys.tar.pfff unpacked
[root@community openvz]# ls unpacked
centos-6.0-x86_64-asys.ovf centos-6.0-x86_64-asys.tar.gz