We used to have bug that made ovirt-shell fail when there wasn't a ttyOn 12/07/2014 05:05 PM, Grzegorz Szypa wrote:
> Hi,
>
> I have a problem with running ovirt-shell script, that it starting VMs.
> In dialog mode it's fine, but in background no :(
>
> Example script:
> ovirt-shell -E 'action vm WinSrv2012r2 start'
>
> I start this job in cron as root.
>
>
> Have somebody idea??
>
> --
> G.Sz.
>
available (like when running from cron):
ovirt-shell cannot run in cron (/dev/tty missing)
https://bugzilla.redhat.com/1119412
That was fixed in version 3.5.0.2, so make sure that you have at least
that version.
If you still have problems please share the output of the ovirt-shell
command.
--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.