[one-users] Fwd: Error trying to CREATE HOST Error inserting Host Share in DB
Carlos Martín Sánchez
cmartin at opennebula.org
Thu Apr 14 03:59:38 PDT 2011
Hi Sebastian,
Any other error messages? What about the bootstrapping section of the log?
Try that sqlite3 command (assuming you have sqlite set in your oned.conf) in
/var/lib/one; or $ONE_LOCATION/var if you installed it in self-contained
mode. That's where you'll find the one.db file.
On a side note, if you are using localhost as front-end and Host then you
can use the tm_nfs drivers, since the FS is shared.
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
2011/4/14 Sebastian Neg <neg.sebastian at gmail.com>
> 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/4833392b/attachment-0002.htm>
More information about the Users
mailing list