Created attachment 859669 [details] engine log Description of problem: Failure to commit network changes to host appears as an INFO message/event in the engine log. It should be an ERROR or WARNING: 2014-02-05 14:19:35,008 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-26) [7cb98534] Correlation ID: 7cb98534, Call Stack: null, Custom Event ID: -1, Message: Failed to commit network changes on gold-vdsd.qa.lab.tlv.redhat.com Version-Release number of selected component (if applicable): ovirt-engine-3.4.0-0.5.beta1.el6.noarch How reproducible: 100% Steps to Reproduce: 1 DC, 1 Cluster, 1 Host 1. Block communications between host and engine. 2. Trigger network configuration change from engine / UI Actual results: Message appears in log and in UI as event with INFO level Expected results: Should be a warning or error level event Additional info:
This bug is referenced in ovirt-engine-3.4.0-beta3 logs. Moving to ON_QA
Moti, could you please look into the code and tell me how to achieve displaying of this error? simply blocking traffic by iptables does not do the trick nor does corrupting ifcfg files or manginling with their permissions nor does vdsm restart during the change being applied
You can modify the vdsm on the tested host by editing /usr/share/vdsm/configNetwork.py and adding to setSafeNetworkConfig() method the last line as below: def setSafeNetworkConfig(): ... raise ConfigNetworkError(ne.ERR_LOST_CONNECTION, 'connectivity check failed') after saving the file, make sure to restart the supervdsmd service: service supervdsmd stop && service vdsmd restart
it seems that patch did not make it to av2 message is still marked as INFO
moving to verified (av2), since this BZ was about icon which is shown in GUI (red cross instead of green tick) the confusion araised from the engine.log message marked as info
this is an automated message: moving to Closed CURRENT RELEASE since oVirt 3.4.0 has been released