Bug #1036
Local hooks are not executed
Status: | Closed | Start date: | 12/16/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Ruben S. Montero | % Done: | 0% | |
Category: | Core & System | |||
Target version: | Release 3.2 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 3.2 |
Description
This hook should be executed locally:
VM_HOOK = [ name = "test_hook", on = "DONE", command = "test.rb", arguments = "$VMID" ]
But instead of /var/lib/one/remotes/hooks/test.rb, the executed command is this one:
Fri Dec 16 04:00:19 2011 [HKM][D]: Message received: LOG I 34 Command execution fail: /var/tmp/one/hooks/test.rb 34 Fri Dec 16 04:00:19 2011 [HKM][D]: Message received: LOG I 34 sh: /var/tmp/one/hooks/test.rb: not found
Associated revisions
Bug #1036: Local hooks are now executed from $VAR_LOCATION/remotes/hooks. Remote hooks are still executed from the SCRIPTS_REMOTE_PATH.
History
#1 Updated by Ruben S. Montero over 9 years ago
- Category set to Core & System
- Status changed from New to Assigned
- Assignee set to Ruben S. Montero
#2 Updated by Ruben S. Montero over 9 years ago
- Status changed from Assigned to Closed
- Resolution set to fixed