On Fri, May 14, 2021 at 6:57 PM Martin Necas <mne...@redhat.com> wrote:

>  Hi Alessio,
>
> I just tested it and it seems to be working without a problem.
>
> To explain the examples which you sent, might help.
>
> The `next_run: true` "prepares" the VM parameters and after reboot, the
> parameters will be set.
> I noticed that you did not set any parameter to the VM in that task, so it
> has nothing to do.
>
> And as for the second example, with `state: next_run`, this updates the
> parameters and reboots automatically.
>
It checks the state of the parameters if it should update them or not, if
it is already HD it does not need any update so it just passes.

> Please check out if the VM does not already have boot_devices set to hard
> disk.
>

> Martin Necas
>
> On Fri, May 14, 2021 at 1:36 PM Alessio B. <
> alessio.battaglia.1...@gmail.com> wrote:
>
>> Hi,
>>
>> in debug mode I haven't any error.
>> The reboot can't be invoked when the VMs are in running state.
>> _______________________________________________
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/FBHDUVENYMKPZVUH4YBXXSJ3K7UA2AVQ/
>>
>
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RQZJPBPRVXTTWO4JTY26JKAQBZWJBG47/

Reply via email to