[one-users] VM deploy_id in non-English environment causes trouble

Pellaeon Lin nfsmwlin at gmail.com
Tue Sep 4 08:19:32 PDT 2012


Hi,
I use the OpenNebula 3.6.0 deb package on Ubuntu Server 12.04.1 , I have
KVM and Sunstone working.
When I create a new VM via Sunstone, it would normally boot up and show the
state "RUNNING", and I can ssh into it.
But via Sunstone I saw the VM's Deploy ID was "區域" , which instead should
be "one-<number>"
After a while its state would become "UNKNOWN". Here's what I get in
oned.log:

> Message received: LOG I 19 錯誤: 無法取得區域「區域」
> Message received: LOG I 19 錯誤: Domain not found: no domain with matching
> name '區域'
> Message received: LOG I 19 ExitCode: 0
> Message received: POLL SUCCESS 19 STATE=d
>

I installed Ubuntu in Traditional Chinese, so I'm guessing that some shell
commands' output would be in Chinese, thus OpenNubula would be unable to
parse it.

I added

> export LANG="C"
> export LANGUAGE="en_US:en"
>
to oneadmin's .bashrc , logged in again, restart oned, then create a new VM
via Sunstone, the issue persists.

I then added

> ENV['LANGUAGE']='en_US:en'
>
to /var/lib/one/remotes/vmm/kvm/poll, the issue still persists.

>From oned.log above, I think OpenNebula was trying to execute a "virsh
<something>" command, but I can't find where it was invoked nor which
command it actually was.

Any advice?

Thanks :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120904/5c428faa/attachment-0001.htm>


More information about the Users mailing list