[one-users] Fwd: Error trying to CREATE HOST Error inserting Host Share in DB

Sebastian Neg neg.sebastian at gmail.com
Thu Apr 14 03:04:56 PDT 2011


Hi,
I installed Opennebula 2.2 and it works fine.
but when i want to create a host, i get this error:

[oneadmin at root ~]$ onehost create localhost im_kvm vmm_kvm tm_ssh
Error: [HostAllocate] Error trying to CREATE HOST Error inserting Host in
DB.

When i try to run this command "sqlite3 one.db ".schema"", i got nothing:
[oneadmin at root ~]$ sqlite3 one.db ".schema"
[oneadmin at root ~]$

Note: I installed the front-end and the cluster in one machine.


2011/4/1 Carlos Martín Sánchez <cmartin at opennebula.org>

> Hi Vivek,
>
> You are installing OpenNebula 2.0, right?
>
> Could you check if there is any error message in oned.log right after this
> message?
> [ONE][I]: Bootstraping OpenNebula database.
>
>
> It may be also helpful if you could send the output of
> $ sqlite3 one.db ".schema"
>
>
> Regards,
> Carlos
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org <http://www.opennebula.org/> | cmartin at opennebula.org
>
>
> On 31 March 2011 16:02, Vivek Shrivastava <shrivastava.vivex at gmail.com>wrote:
>
>>
>>
>> Hello all,
>>
>> I've installed opennebula with the help of express installation, while
>> creating node I'm getting the problem:-
>>
>>
>> oneadmin at oneadmin-desktop:~/Downloads$ onehost create node01 im_kvm
>> vmm_kvm tm_ssh
>> Error: [HostAllocate] Error trying to CREATE HOST Error inserting Host
>> Share in DB.
>>
>> (1)  I made /etc/one chmod 777, so that install.sh can run easily, is this
>> the problem?
>>
>> (2) What should I do to solve above problem?
>>
>> (3) if I want to use kvm with ssh in cluster nodes, is that necessary to
>> configure nfs (in node-install script) ?
>>
>> (4)  in oned.log I got this error:-
>>
>> SQL command was: INSERT INTO host_shares (hid,disk_usage, mem_usage,
>> cpu_usage,max_disk,   max_mem,   max_cpu,free_disk,  free_mem,
>> free_cpu,used_disk,  used_mem,  used_cpu,running_vms) VALUES
>> (0,0,0,0,0,0,0,0,0,0,0,0,0,0), error: table host_shares has no column named
>> free_disk
>>
>> What should I do?
>>
>>
>> Thanks in advance.
>> --
>> Regards,
>>
>> Vivek Shrivastava
>>
>>
>>
>>
>> --
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110414/08e9d30c/attachment-0002.htm>


More information about the Users mailing list