Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1324556

Summary: race between SetupNetwork and event-triggered getVdsCaps
Product: [oVirt] ovirt-engine Reporter: Michael Burman <mburman>
Component: BLL.NetworkAssignee: Alona Kaplan <alkaplan>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Burman <mburman>
Severity: medium Docs Contact:
Priority: high    
Version: ---CC: bugs, danken, edwardh, gklein, ylavi
Target Milestone: ovirt-4.0.2Flags: rule-engine: ovirt-4.0.z+
rule-engine: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: 4.0.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-12 14:31:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Logs none

Description Michael Burman 2016-04-06 15:42:01 UTC
Created attachment 1144247 [details]
Logs

Description of problem:
vdsm sending notifications and events every half second when recognize engine is not sampling and this is causing and invoking caps and cause the setup networks to be locked. 

It is blocking from add host to 4.0 alpha1 engine with 'ovirtmgmt' is missing and host become NonOperational.  

'Host orchid-vds1.qa.lab.tlv.redhat.com does not comply with the cluster CL1 networks, the following networks are missing on host: 'ovirtmgmt'

Version-Release number of selected component (if applicable):
vdsm-4.17.999-883.git1c06132.el7.centos
4.0.0-0.0.master.20160404161620.git4ffd5a4.el7.centos


Steps to Reproduce:
1. Try to add host(4.0) to 4.0 alpha1 

Actual results:
Add host failed and host in NonOperational. 

Expected results:
vdsm shouldn't generate and send events if can't sample engine.
Add host must work.

Comment 1 Sandro Bonazzola 2016-05-02 10:10:14 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 2 Dan Kenigsberg 2016-05-05 12:59:55 UTC
We have reverted event-changing from Vdsm https://gerrit.ovirt.org/55967 , so the Engine-side race is less urgent now, and should not be considered as an automation blocker.

Comment 3 Michael Burman 2016-07-24 13:29:54 UTC
Verified on - 4.0.2-0.1.rc.el7ev and vdsm-4.18.8-1.el7ev.x86_64