[one-users] Problem creating/adding host. Bug?
Carlos Martín Sánchez
cmartin at opennebula.org
Fri Nov 11 09:12:07 PST 2011
Hi,
You can use the command "onehost sync" to force OpenNebula to copy the
remote scripts in the next monitorization cycle.
The error message appears in the host template because is it a flexible way
to include information for components in the upper layers, like Sunstone.
This way you can get error messages instantly instead of having to open and
search the log files, and you can delete that error message once you have
fixed the issue.
Regards.
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Tue, Nov 8, 2011 at 4:26 PM, Humberto N. Castejon Martinez <
humcasma at gmail.com> wrote:
> Hi,
>
> I just tried adding a new worker to my cloud and found what it could be a
> bug. I had forgotten setting /var/lib/one as home directory for oneadmin in
> the worker I wanted to add, so when I added it using Sunstone, the process
> failed. In the log I can read:
>
> Command execution fail: scp -r /var/lib/one/remotes/. lex.no:/var/tmp/one
>
> I fixed the problem with the home directory and checked that SSH was
> working as expected. After that, i waited for Opennebula to change the host
> state from Error to On, but it did not happen. In the log I can read:
>
> Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then
> /var/tmp/one/im/run_probes kvm 3 lex.no; else exit 42; fi'
>
> It seems to me that Opennebula does not try to create copy again the
> probes to /var/tmp/one if it failed the first time, so the only solution is
> to delete and add the host again.
>
> I have also found a what I think it is a small problem with the "Update
> template" option for Hosts. Error messages are shown under the Host
> template tab, and they also appear in the template info when trying to
> update. For example, this is what I get when I click "Update template" and
> select one of my hosts:
>
> ARCH=x86_64
> CPUSPEED=2532
> ERROR=[
> MESSAGE="Error monitoring host 1 : MONITOR FAILURE 1 -
> ",
> TIMESTAMP="Fri Nov 4 10:48:28 2011" ]
> FREECPU=800.0
> FREEMEMORY=7914184
> HOSTNAME=skeletor
> HYPERVISOR=kvm
> MODELNAME="Intel(R) Xeon(R) CPU E5540 @ 2.53GHz"
> NETRX=0
> NETTX=0
> TOTALCPU=800
> TOTALMEMORY=8181208
> USEDCPU=0.0
> USEDMEMORY=267024
>
> I would say the error message should not appear there. Or there is any
> reason for that behavior?
>
> Cheers,
> Humberto
>
>
> _______________________________________________
> 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/20111111/8d310bfa/attachment-0002.htm>
More information about the Users
mailing list