[one-users] Error when trying to add a new host

Jaime Melis jmelis at opennebula.org
Sun Feb 16 23:44:39 PST 2014


Hi Jim,

apologies for taking so long to reply. Can you check if they exist under
/var/tmp/one in the remote node?

regards,
Jaime


On Wed, Jan 29, 2014 at 5:43 PM, Jim Bradfield <jbradfield at gmail.com> wrote:

> Did so, same error. I cleared oned.log, ran "onehost sync", then "onehost
> enable 8" (where the relevant server is ID 8). Console/log dumps follow
> (apologies for length):
>
> Console output:
>
>  -bash-4.1$ onehost sync
> * Adding bigdata-corona.cticore.local to upgrade
> [========================================] 1/1 bigdata-corona.cticore.local
>  All hosts updated successfully.
> -bash-4.1$ onehost enable 8
> -bash-4.1$ onehost list
>    ID NAME            CLUSTER   RVM      ALLOCATED_CPU      ALLOCATED_MEM
> STAT
>    1 one-sandbox     -           0       0 / 100 (0%)   0K / 490.4M (0%) on
>     8 bigdata-corona. -           0                  -                  -
> init
> (... repeated until...)
>  -bash-4.1$ onehost list
>   ID NAME            CLUSTER   RVM      ALLOCATED_CPU      ALLOCATED_MEM
> STAT
>    1 one-sandbox     -           0       0 / 100 (0%)   0K / 490.4M (0%) on
>     8 bigdata-corona. -           0                  -                  -
> err
>
> Log contents after error:
>
>  Mon Jan 27 20:28:51 2014 [ReM][D]: Req:8464 UID:0 SystemConfig invoked
> Mon Jan 27 20:28:51 2014 [ReM][D]: Req:8464 UID:0 SystemConfig result
> SUCCESS, "<TEMPLATE><AUTH_MAD>..."
>  Mon Jan 27 20:28:51 2014 [ReM][D]: Req:5952 UID:0 HostPoolInfo invoked
> Mon Jan 27 20:28:51 2014 [ReM][D]: Req:5952 UID:0 HostPoolInfo result
> SUCCESS, "<HOST_POOL><HOST><ID..."
>  Mon Jan 27 20:28:52 2014 [ReM][D]: Req:5408 UID:0 HostUpdateTemplate
> invoked, 8, "ERROR="Mon Jan 27 20...", 0
> Mon Jan 27 20:28:52 2014 [ReM][D]: Req:5408 UID:0 HostUpdateTemplate
> result SUCCESS, 8
>  Mon Jan 27 20:28:54 2014 [ImM][D]: Datastore system (0) successfully
> monitored.
> Mon Jan 27 20:28:54 2014 [InM][D]: Host one-sandbox (1) successfully
> monitored.
>  Mon Jan 27 20:29:01 2014 [InM][I]: --Mark--
> Mon Jan 27 20:29:02 2014 [ReM][D]: Req:7632 UID:0 VirtualMachinePoolInfo
> invoked, -2, -1, -1, -1
>  Mon Jan 27 20:29:02 2014 [ReM][D]: Req:7632 UID:0 VirtualMachinePoolInfo
> result SUCCESS, "<VM_POOL><VM><ID>1</..."
> Mon Jan 27 20:29:02 2014 [ReM][D]: Req:7632 UID:0 VirtualMachinePoolInfo
> invoked, -2, -1, -1, -1
>  Mon Jan 27 20:29:02 2014 [ReM][D]: Req:7632 UID:0 VirtualMachinePoolInfo
> result SUCCESS, "<VM_POOL><VM><ID>1</..."
> Mon Jan 27 20:29:02 2014 [ReM][D]: Req:8064 UID:0 DatastorePoolInfo invoked
>  Mon Jan 27 20:29:02 2014 [ReM][D]: Req:8064 UID:0 DatastorePoolInfo
> result SUCCESS, "<DATASTORE_POOL><DAT..."
> Mon Jan 27 20:29:02 2014 [ReM][D]: Req:8064 UID:0 DatastorePoolInfo invoked
>  Mon Jan 27 20:29:02 2014 [ReM][D]: Req:8064 UID:0 DatastorePoolInfo
> result SUCCESS, "<DATASTORE_POOL><DAT..."
> Mon Jan 27 20:29:02 2014 [ReM][D]: Req:3056 UID:0 HostPoolInfo invoked
>  Mon Jan 27 20:29:02 2014 [ReM][D]: Req:3056 UID:0 HostPoolInfo result
> SUCCESS, "<HOST_POOL><HOST><ID..."
> Mon Jan 27 20:29:02 2014 [ReM][D]: Req:8368 UID:0 ClusterPoolInfo invoked
>  Mon Jan 27 20:29:02 2014 [ReM][D]: Req:8368 UID:0 ClusterPoolInfo result
> SUCCESS, "<CLUSTER_POOL></CLUS..."
> Mon Jan 27 20:29:02 2014 [ReM][D]: Req:4160 UID:0 AclInfo invoked
>  Mon Jan 27 20:29:02 2014 [ReM][D]: Req:4160 UID:0 AclInfo result
> SUCCESS, "<ACL_POOL><ACL><ID>0..."
> Mon Jan 27 20:29:02 2014 [ReM][D]: Req:4976 UID:0
> VirtualMachineUpdateTemplate invoked, 1, "<TEMPLATE><SCHED_MES..."
>  Mon Jan 27 20:29:02 2014 [ReM][D]: Req:4976 UID:0
> VirtualMachineUpdateTemplate result SUCCESS, 1
> Mon Jan 27 20:29:02 2014 [ReM][D]: Req:7504 UID:0 HostEnable invoked, 8,
> true
>  Mon Jan 27 20:29:02 2014 [ReM][D]: Req:7504 UID:0 HostEnable result
> SUCCESS, 8
> Mon Jan 27 20:29:06 2014 [ReM][D]: Req:6256 UID:0 HostPoolInfo invoked
>  Mon Jan 27 20:29:06 2014 [ReM][D]: Req:6256 UID:0 HostPoolInfo result
> SUCCESS, "<HOST_POOL><HOST><ID..."
> Mon Jan 27 20:29:11 2014 [InM][D]: Monitoring datastore default (1)
>  Mon Jan 27 20:29:11 2014 [InM][D]: Monitoring datastore files (2)
> Mon Jan 27 20:29:11 2014 [ImM][D]: Datastore default (1) successfully
> monitored.
>  Mon Jan 27 20:29:11 2014 [ImM][D]: Datastore files (2) successfully
> monitored.
> Mon Jan 27 20:29:13 2014 [ReM][D]: Req:6416 UID:1 DocumentPoolInfo
> invoked, -2, -1, -1, 100
>  Mon Jan 27 20:29:13 2014 [ReM][D]: Req:6416 UID:1 DocumentPoolInfo
> result SUCCESS, "<DOCUMENT_POOL></DOC..."
> Mon Jan 27 20:29:14 2014 [ImM][D]: Datastore system (0) successfully
> monitored.
>  Mon Jan 27 20:29:14 2014 [InM][D]: Host one-sandbox (1) successfully
> monitored.
> Mon Jan 27 20:29:26 2014 [ReM][D]: Req:4048 UID:0 HostPoolInfo invoked
>  Mon Jan 27 20:29:26 2014 [ReM][D]: Req:4048 UID:0 HostPoolInfo result
> SUCCESS, "<HOST_POOL><HOST><ID..."
> Mon Jan 27 20:29:31 2014 [InM][D]: Monitoring host
> bigdata-corona.cticore.local (8)
>  Mon Jan 27 20:29:31 2014 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm
> /var/lib/one//datastores 4124 20 8 bigdata-corona.cticore.local; else
>                        exit 42; fi'
>  Mon Jan 27 20:29:31 2014 [InM][I]: ExitCode: 42
> Mon Jan 27 20:29:31 2014 [InM][I]: Remote worker node files not found
>  Mon Jan 27 20:29:31 2014 [InM][I]: Updating remotes
> Mon Jan 27 20:29:32 2014 [ReM][D]: Req:1072 UID:0 VirtualMachinePoolInfo
> invoked, -2, -1, -1, -1
>  Mon Jan 27 20:29:32 2014 [ReM][D]: Req:1072 UID:0 VirtualMachinePoolInfo
> result SUCCESS, "<VM_POOL><VM><ID>1</..."
> Mon Jan 27 20:29:32 2014 [ReM][D]: Req:1072 UID:0 VirtualMachinePoolInfo
> invoked, -2, -1, -1, -1
>  Mon Jan 27 20:29:32 2014 [ReM][D]: Req:1072 UID:0 VirtualMachinePoolInfo
> result SUCCESS, "<VM_POOL><VM><ID>1</..."
> Mon Jan 27 20:29:32 2014 [ReM][D]: Req:944 UID:0 DatastorePoolInfo invoked
>  Mon Jan 27 20:29:32 2014 [ReM][D]: Req:944 UID:0 DatastorePoolInfo
> result SUCCESS, "<DATASTORE_POOL><DAT..."
> Mon Jan 27 20:29:32 2014 [ReM][D]: Req:944 UID:0 DatastorePoolInfo invoked
>  Mon Jan 27 20:29:32 2014 [ReM][D]: Req:944 UID:0 DatastorePoolInfo
> result SUCCESS, "<DATASTORE_POOL><DAT..."
> Mon Jan 27 20:29:32 2014 [ReM][D]: Req:576 UID:0 HostPoolInfo invoked
>  Mon Jan 27 20:29:32 2014 [ReM][D]: Req:576 UID:0 HostPoolInfo result
> SUCCESS, "<HOST_POOL><HOST><ID..."
> Mon Jan 27 20:29:32 2014 [ReM][D]: Req:4928 UID:0 ClusterPoolInfo invoked
>  Mon Jan 27 20:29:32 2014 [ReM][D]: Req:4928 UID:0 ClusterPoolInfo result
> SUCCESS, "<CLUSTER_POOL></CLUS..."
> Mon Jan 27 20:29:32 2014 [ReM][D]: Req:1360 UID:0 AclInfo invoked
>  Mon Jan 27 20:29:32 2014 [ReM][D]: Req:1360 UID:0 AclInfo result
> SUCCESS, "<ACL_POOL><ACL><ID>0..."
> Mon Jan 27 20:29:32 2014 [ReM][D]: Req:8896 UID:0
> VirtualMachineUpdateTemplate invoked, 1, "<TEMPLATE><SCHED_MES..."
>  Mon Jan 27 20:29:32 2014 [ReM][D]: Req:8896 UID:0
> VirtualMachineUpdateTemplate result SUCCESS, 1
> Mon Jan 27 20:29:33 2014 [ReM][D]: Req:7712 UID:0 HostPoolInfo invoked
>  Mon Jan 27 20:29:33 2014 [ReM][D]: Req:7712 UID:0 HostPoolInfo result
> SUCCESS, "<HOST_POOL><HOST><ID..."
> Mon Jan 27 20:29:33 2014 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm
> /var/lib/one//datastores 4124 20 8 bigdata-corona.cticore.local; else
>                        exit 42; fi'
>  Mon Jan 27 20:29:33 2014 [InM][I]: ExitCode: 42
> Mon Jan 27 20:29:33 2014 [InM][I]: Remote worker node files not found
>  Mon Jan 27 20:29:33 2014 [InM][I]: Updating remotes
> Mon Jan 27 20:29:34 2014 [ImM][D]: Datastore system (0) successfully
> monitored.
>  Mon Jan 27 20:29:34 2014 [InM][D]: Host one-sandbox (1) successfully
> monitored.
> Mon Jan 27 20:29:35 2014 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm
> /var/lib/one//datastores 4124 20 8 bigdata-corona.cticore.local; else
>                        exit 42; fi'
>  Mon Jan 27 20:29:35 2014 [InM][I]: ExitCode: 42
> Mon Jan 27 20:29:35 2014 [InM][I]: Remote worker node files not found
>  Mon Jan 27 20:29:35 2014 [InM][I]: Updating remotes
> Mon Jan 27 20:29:37 2014 [ReM][D]: Req:3648 UID:0 HostPoolInfo invoked
>  Mon Jan 27 20:29:37 2014 [ReM][D]: Req:3648 UID:0 HostPoolInfo result
> SUCCESS, "<HOST_POOL><HOST><ID..."
> Mon Jan 27 20:29:37 2014 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm
> /var/lib/one//datastores 4124 20 8 bigdata-corona.cticore.local; else
>                        exit 42; fi'
>  Mon Jan 27 20:29:37 2014 [InM][I]: ExitCode: 42
> Mon Jan 27 20:29:37 2014 [ONE][E]: Error monitoring Host
> bigdata-corona.cticore.local (8): -
>  Mon Jan 27 20:29:39 2014 [ReM][D]: Req:2336 UID:0 HostPoolInfo invoked
> Mon Jan 27 20:29:39 2014 [ReM][D]: Req:2336 UID:0 HostPoolInfo result
> SUCCESS, "<HOST_POOL><HOST><ID..."
>  Mon Jan 27 20:29:43 2014 [AuM][D]: Message received: AUTHENTICATE
> SUCCESS 2855 -
>
> Mon Jan 27 20:29:43 2014 [ReM][D]: Req:9856 UID:1 DocumentPoolInfo
> invoked, -2, -1, -1, 100
>  Mon Jan 27 20:29:43 2014 [ReM][D]: Req:9856 UID:1 DocumentPoolInfo
> result SUCCESS, "<DOCUMENT_POOL></DOC..."
>
>
> On Mon, Jan 27, 2014 at 4:29 AM, Jaime Melis <jmelis at opennebula.org>wrote:
>
>> Hi,
>>
>> it looks like the remotes haven't been copied to the remote server. Can
>> you try and execute "onehost sync" as oneadmin in the frontend and try
>> again?
>>
>> cheers,
>> Jaime
>>
>>
>> On Fri, Jan 24, 2014 at 5:31 PM, <jbradfield at gmail.com> wrote:
>>
>>>  I'm running OpeNebula 4.4 with a frontend on CentOS and a host on
>>> RHEL6. I've configured the frontend and host and (I believe) have
>>> everything up and running, but I get an error when trying to add the host
>>> to the frontend. Following the quick-start guide (
>>> http://docs.opennebula.org/stable/design_and_installation/quick_starts/qs_centos_kvm.html),I tried to add the host by running
>>>
>>>     -bash-4.1$ onehost create localhost -i kvm -v kvm -n dummy
>>>
>>> And then checked the host list:
>>>
>>>     -bash-4.1$ onehost list
>>>       ID NAME            CLUSTER   RVM      ALLOCATED_CPU
>>> ALLOCATED_MEM STAT
>>>        1 one-sandbox     -           0       0 / 100 (0%)   0K / 490.4M
>>> (0%) on
>>>        7 bigdata-corona. -           0
>>> -                  - err
>>>
>>> The logs at /var/log/one/oned.log contain the following:
>>>
>>> Fri Jan 24 17:37:56 2014 [InM][D]: Monitoring host
>>> bigdata-corona.cticore.local (7)
>>> Fri Jan 24 17:37:56 2014 [InM][I]: Command execution fail: 'if [ -x
>>> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm
>>> /var/lib/one//datastores 4124 20 7 bigdata-corona.cticore.local;
>>> else                              exit 42; fi'
>>> Fri Jan 24 17:37:56 2014 [InM][I]: ExitCode: 42
>>> Fri Jan 24 17:37:56 2014 [InM][I]: Remote worker node files not found
>>> Fri Jan 24 17:37:56 2014 [InM][I]: Updating remotes
>>> Fri Jan 24 17:37:58 2014 [InM][I]: Command execution fail: 'if [ -x
>>> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm
>>> /var/lib/one//datastores 4124 20 7 bigdata-corona.cticore.local;
>>> else                              exit 42; fi'
>>> Fri Jan 24 17:37:58 2014 [InM][I]: ExitCode: 42
>>> Fri Jan 24 17:37:58 2014 [InM][I]: Remote worker node files not found
>>> Fri Jan 24 17:37:58 2014 [InM][I]: Updating remotes
>>> Fri Jan 24 17:38:00 2014 [InM][I]: Command execution fail: 'if [ -x
>>> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm
>>> /var/lib/one//datastores 4124 20 7 bigdata-corona.cticore.local;
>>> else                              exit 42; fi'
>>> Fri Jan 24 17:38:00 2014 [InM][I]: ExitCode: 42
>>> Fri Jan 24 17:38:00 2014 [InM][I]: Remote worker node files not found
>>> Fri Jan 24 17:38:00 2014 [InM][I]: Updating remotes
>>> Fri Jan 24 17:38:02 2014 [InM][I]: Command execution fail: 'if [ -x
>>> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm
>>> /var/lib/one//datastores 4124 20 7 bigdata-corona.cticore.local;
>>> else                              exit 42; fi'
>>> Fri Jan 24 17:38:02 2014 [InM][I]: ExitCode: 42
>>> Fri Jan 24 17:38:02 2014 [ONE][E]: Error monitoring Host
>>> bigdata-corona.cticore.local (7): -
>>>
>>> No clue what's going on here; any help would be appreciated.
>>>
>>> - Jim Bradfield
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>>
>> --
>> Jaime Melis
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | jmelis at opennebula.org
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140217/d2c7d8b5/attachment-0001.htm>


More information about the Users mailing list