Hi,
Problem:
I had installed openNebula in ubuntu 10.04. but can not start any vm. the
output of "onevm list" shows that the STAT is always PEND. and I couldn't find
any error in log files.
$ onehost list
ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT
5 work-node1 default 0 0 0 100 0K 366.6M on
$ onevm list
ID USER NAME STAT CPU MEM HOSTNAME TIME
9 oneadmin ttylinux pend 0 0K 00 00:00:33
Cause:
finally I found what cause this problem: It is locale that cause this!
In my ubuntu:
$ cat /etc/default/locale
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh"
This would cause IM scripts (e.g. /var/tmp/one/im/kvm.d/kvm.rb) not able to get
correct node info. Because in OpenNebula node info gathered by running shell
command like "virsh -c qemu:///system nodeinfo".
Locale besides English will cause problem!
Solution:
modify /etc/default/locale and add the following to it
LANG=en_US.UTF-8
LANGUAGE=en_US.en
2. echo “export LANGUAGE=en_US:en” >> ~/.bashrc
2011-02-22
shamaya
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org