any news/help on that?

Nikolay.

kna...@gmail.com wrote on 23/08/11 15:16:
Tino Vazquez wrote on 23/08/11 14:45:
Hi,

Let's try this, since this seems like a bug. Could you please copy the
hook into "/var/lib/one/remotes" and "onehost sync" again?
Since in my deployment scenario OpenNebula is installed in
self-contained mode there was no such dir as /var/lib/one/. So I created
it:
[root@FN]$ mkdir -p /var/lib/one/remotes
[root@FN]$ chown oneadmin:cloud -R /var/lib/one/

And then
[oneadmin@FN]$ cp $ONE_LOCATOIN/share/hooks/* /var/lib/one/remotes/

[oneadmin@FN]$ ll /var/lib/one/remotes/
total 28
-rwxr-xr-x 1 oneadmin cloud 3589 Aug 23 15:59 ebtables-flush
-rwxr-xr-x 1 oneadmin cloud 3529 Aug 23 15:59 ebtables-kvm
-rwxr-xr-x 1 oneadmin cloud 3459 Aug 23 15:59 ebtables-xen
-rwxr-xr-x 1 oneadmin cloud 3084 Aug 23 15:59 host_error.rb
-rwxr-xr-x 1 oneadmin cloud 2408 Aug 23 15:59 image.rb
-rwxr-xr-x 1 oneadmin cloud 2151 Aug 23 15:59 image.rb.bk
-rwxr-xr-x 1 oneadmin cloud 42 Aug 23 15:59 vzfirewall.sh

[oneadmin@FN]$ onehost sync

During next monitoring cycle the driver scripts had been updated on CNs
(i.e. the content of /tmp/one/im/ovz/ and /tmp/one/vmm/ovz/ dirs) but no
hooks scripts appeared in /tmp/one on CNs (checked by running 'find
/tmp/one/ -name vzfirewall.sh').

So it looks like hooks scripts were not copied even from
/var/lib/one/remotes.
More ideas?

Thanks!
Nikolay.


Regards,

-Tino
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to