[one-users] Fwd: OpenVZ

knawnd at gmail.com knawnd at gmail.com
Wed Feb 16 08:34:43 PST 2011


Hi!

I am trying to enable OpenVZ support in ONE.

I used KVM scripts as an example since they are using libvirt library on 
cluster nodes what I am trying to use too.
The following sections were added in oned.conf:
#-------------------------------------------------------------------------------
#  OpenVZ Information Driver Manager Configuration
#-------------------------------------------------------------------------------
IM_MAD = [
       name       = "im_ovz",
       executable = "one_im_ssh",
       arguments  = "ovz" ]
#-------------------------------------------------------------------------------


#-------------------------------------------------------------------------------
#  OpenVZ Virtualization Driver Manager Configuration
#-------------------------------------------------------------------------------
VM_MAD = [
     name       = "vmm_ovz",
     executable = "one_vmm_ssh",
     arguments  = "ovz",
     default    = "vmm_ssh/vmm_ssh_ovz.conf",
     type       = "ovz" ]
#-------------------------------------------------------------------------------

But when I run oned I get the following error:
$ /etc/init.d/oned start
Starting OpenNebula daemon:
Error while parsing configuration file:
syntax error, unexpected OBRACKET, expecting STRING at line 176, columns 
7290:7296
Could not load nebula configuration file.
Error executing /usr/bin/oned.
                                                            [FAILED]

176  line of oned.conf file is
     name       = "vmm_ovz",

from custom section mentioned above in that email.


$ ls -al /usr/lib/one/remotes/vmm/
total 12
drwxr-xr-x 2 root root 4096 Feb 11 14:42 kvm
drwxr-xr-x 2 root root 4096 Feb 16 18:28 ovz
drwxr-xr-x 2 root root 4096 Feb 11 14:45 xen

$ ls -al /usr/lib/one/remotes/vmm/ovz/
total 32
-rwxr-xr-x 1 root root 1289 Feb 16 18:20 cancel
-rwxr-xr-x 1 root root 1443 Feb 16 18:20 deploy
-rwxr-xr-x 1 root root 1347 Feb 16 16:32 migrate
-rw-r--r-- 1 root root 1281 Feb 16 16:28 ovzrc
-rwxr-xr-x 1 root root 1890 Feb 16 18:22 poll
-rwxr-xr-x 1 root root 1279 Feb 16 18:23 restore
-rwxr-xr-x 1 root root 1364 Feb 16 18:24 save
-rwxr-xr-x 1 root root 1664 Feb 16 18:28 shutdown

Some additional info:
$ rpm -q opennebula
opennebula-2.0.1-1

Both front-end host and cluster node are running CentOS release 5.5 
(Final) x86.

Any ideas what needs to be fixed?
Nikolay.



More information about the Users mailing list