Martin,

This is policy reset when we perform setupNetworks. This is expected
behavior but the stacktrace is confusing and we have a BZ [1] to
improve it.

The reason for it is that engine makes sure to keep connection alive
at all times by using heartbeats. When we are about to configure
network
we know that there will be connectivity issue so before performing the
operation we change heartbeat policy to ignore missing heartbeats.
This operation enforces to reconnect using different policy and we see
this nice stacktrace in the log.

Thanks,
Piotr


[1] https://bugzilla.redhat.com/1235683

On Fri, Jul 3, 2015 at 9:17 AM, Martin Mucha <[email protected]> wrote:
> Hi,
>
> I keep seeing in engine.log (no another error anywhere else) this error. Does 
> anyone knows what's wrong? Sometimes it takes days before it happens, 
> sometimes if fails very frequently.
>
>
> 2015-07-03 09:12:40,056 ERROR 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> (default task-10) [2428859b] Correlation ID: null, Call Stack: null, Custom 
> Event ID: -1, Message: VDSM 'dev07' command failed: Policy reset
> 2015-07-03 09:12:40,056 ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (default task-10) 
> [2428859b] Error: VDSGenericException: VDSNetworkException: Policy reset
> 2015-07-03 09:12:40,056 ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (default task-10) 
> [2428859b] Exception: 
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException: 
> VDSGenericException: VDSNetworkException: Policy reset
>         at 
> org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase.proceedProxyReturnValue(BrokerCommandBase.java:188)
>  [vdsbroker.jar:]
>         at 
> org.ovirt.engine.core.vdsbroker.vdsbroker.FutureVDSCommand.get(FutureVDSCommand.java:73)
>  [vdsbroker.jar:]
>         at 
> org.ovirt.engine.core.bll.network.host.HostSetupNetworkPoller.poll(HostSetupNetworkPoller.java:30)
>  [bll.jar:]
>         at 
> org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand.invokeSetupNetworksCommand(HostSetupNetworksCommand.java:253)
>  [bll.jar:]
>         at 
> org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand.executeCommand(HostSetupNetworksCommand.java:171)
>  [bll.jar:]
>         at 
> org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1212)
>  [bll.jar:]
>         at 
> org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1356)
>  [bll.jar:]
>         at 
> org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1979) 
> [bll.jar:]
>         at 
> org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:174)
>  [utils.jar:]
>         at 
> org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:116)
>  [utils.jar:]
>         at 
> org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1392) 
> [bll.jar:]
>         at 
> org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:375) 
> [bll.jar:]
>         at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:459) 
> [bll.jar:]
>         at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:441) 
> [bll.jar:]
>         at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:397) 
> [bll.jar:]
>         …
>         …
>
> 2015-07-03 09:12:40,106 ERROR 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (default task-10) 
> [2428859b] Command 'PollVDSCommand(HostName = dev07, 
> VdsIdVDSCommandParametersBase:{runAsync='true', 
> hostId='72456bb8-4afb-4104-b86e-ab692b4a6f2e'})' execution failed: 
> VDSGenericException: VDSNetworkException: Policy reset
>
>
>
> thanks,
>
> mar.
> _______________________________________________
> Devel mailing list
> [email protected]
> http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________
Devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/devel

Reply via email to