Re: [one-users] VM_HOOK "on = CREATE" cannot work on remote hosts

2012-06-24 Thread Akihiko Ota
Hi Carlos, OK, I've modified the deploy script to execute my preparation script. It works fine. This behavior is just what I needed! Thanks! -- Akihiko Ota From: Carlos Martín Sánchez Subject: Re: [one-users] VM_HOOK "on = CREATE" cannot work on remote hosts Date: Thu, 21 Ju

Re: [one-users] VM_HOOK "on = CREATE" cannot work on remote hosts

2012-06-21 Thread Carlos Martín Sánchez
gt; Akihiko Ota > > From: Carlos Martín Sánchez > Subject: Re: [one-users] VM_HOOK "on = CREATE" cannot work on remote hosts > Date: Mon, 18 Jun 2012 18:19:16 +0200 > > > Hi, > > > > When a VM is created it is not assigned yet to any host, until

Re: [one-users] VM_HOOK "on = CREATE" cannot work on remote hosts

2012-06-19 Thread Akihiko Ota
an up after VM shutdown. I expect this config works fine. Thanks, -- Akihiko Ota From: Carlos Martín Sánchez Subject: Re: [one-users] VM_HOOK "on = CREATE" cannot work on remote hosts Date: Mon, 18 Jun 2012 18:19:16 +0200 > Hi, > > When a VM is created it is not assigned ye

Re: [one-users] VM_HOOK "on = CREATE" cannot work on remote hosts

2012-06-18 Thread Carlos Martín Sánchez
Hi, When a VM is created it is not assigned yet to any host, until the scheduler decides to deploy it, thus the hook can't be remote. You can use the RUNNING hook instead. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenN

[one-users] VM_HOOK "on = CREATE" cannot work on remote hosts

2012-06-17 Thread Akihiko Ota
Hi, I tryed to run a script on remote hosts by VM_HOOK. It works as intended if it is defined "on = DONE", but don't work if defined "on = CREATE". I have defined a hook in etc/oned.conf as follows: VM_HOOK = [ name = "clear_work", on= "CREATE", command = "ft/clear_work.sh