On Fri, Jun 26, 2020 at 10:18 PM Ricardo Alonso
<[email protected]> wrote:
>
> I managed to fix temporally and turn on the machine using a hook, but when 
> I'm trying to update the VM, I get this error:
>
> Error while executing action:
>
> HostedEngine:
> - There was an attempt to change Hosted Engine VM values that are locked.
>
> Is this a bug?

If the UI let you update this value, this is a UI bug. Locked fields should be
disabled in the UI so you will not try to change something which you cannot
change.

If you try to change the vm using the API, getting an error for locked fields is
the best we can do, so there is no bug here.

Maybe the field should not be blocked for hosted engine, someone working
on hosted engine can tell.

Nir

>
> This are the log messages:
>
> 2020-06-26 16:15:53,705-03 INFO  [org.ovirt.engine.core.bll.UpdateVmCommand] 
> (default task-10) [a7cbe999-2d59-4e5d-a641-b649e12759d7] Lock Acquired to 
> object 'EngineLock:{exclusiveLocks='[HostedEngine=VM_NAME]', 
> sharedLocks='[6f7d90a5-4160-47ee-a945-5b7a5ba64a40=VM]'}'
> 2020-06-26 16:15:53,706-03 WARN  [org.ovirt.engine.core.bll.UpdateVmCommand] 
> (default task-10) [a7cbe999-2d59-4e5d-a641-b649e12759d7] Validation of action 
> 'UpdateVm' failed for user admin@internal-authz. Reasons: 
> VAR__ACTION__UPDATE,VAR__TYPE__VM,VM_CANNOT_UPDATE_HOSTED_ENGINE_FIELD
> 2020-06-26 16:15:53,707-03 INFO  [org.ovirt.engine.core.bll.UpdateVmCommand] 
> (default task-10) [a7cbe999-2d59-4e5d-a641-b649e12759d7] Lock freed to object 
> 'EngineLock:{exclusiveLocks='[HostedEngine=VM_NAME]', 
> sharedLocks='[6f7d90a5-4160-47ee-a945-5b7a5ba64a40=VM]'}'
> _______________________________________________
> Users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]/message/C56FY4O2QKDIAYVZXCL6AFFC6ATN5ROH/
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/E3DZ7ULOYSYQPGWYRN3RD7PN2NGUAWKV/

Reply via email to