[one-users] Command execution fail: 'if [ -x "<some command on remote node>" ]; then <some command on remote node> Creating; else exit 42; fi'

knawnd at gmail.com knawnd at gmail.com
Fri May 6 05:25:36 PDT 2011


Indeed the problem was in wrong returning value of deploy script. Fixed now.
Thanks a lot, Tino!

Tino Vazquez wrote on 06/05/11 14:49:
> Hi,
>
> The cancel script expects the deploy_id (which is not the vm_id, but
> rather the identifier of the VM in the hypervisor). Please check you
> deploy script, it should return the deploy_id and now it is probably
> returning "Creating". You can check this deploy_id in the VM template
> as well.
>
> Regards,
>
> -Tino
>
> --
> Constantino Vázquez Blanco, MSc
> OpenNebula Major Contributor
> www.OpenNebula.org | @tinova79
>
>
>
> On Thu, May 5, 2011 at 5:55 PM,<knawnd at gmail.com>  wrote:
>> '$SOME_PATH_TO_REMOTE_SCRIPTS/vmm/ovz/cancel<VMID>' but as one can see from
>> vm.log these command is '/tmp/one//vmm/ovz/cancel Creating' (Creating
>> instead of VMID).



More information about the Users mailing list