Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 1761405

Summary: [RFE] [RHEL 8] Add the option in ovn-northd to pause/resume logical flow calculation
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Numan Siddique <nusiddiq>
Component: ovn2.11Assignee: Open vSwitch development team <ovs-team>
Status: CLOSED ERRATA QA Contact: Jianlin Shi <jishi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: FDP 19.GCC: ctrautma, dcbw, fleitner, jishi, ovs-qe, ovs-team, qding
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovn2.11.1-8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1720728 Environment:
Last Closed: 2021-05-18 20:24:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1720728    
Bug Blocks:    

Comment 1 Jianlin Shi 2019-10-21 03:32:01 UTC
Verified on ovn2.11.1-8:

[root@ibm-x3650m5-03 bz1761405]# rpm -qa | grep ovn                                                   
ovn2.11-2.11.1-8.el8fdp.x86_64
ovn2.11-central-2.11.1-8.el8fdp.x86_64
ovn2.11-host-2.11.1-8.el8fdp.x86_64

[root@ibm-x3650m5-03 bz1761405]# bash -x rep.sh                                                       
+ ovn-nbctl ls-add ls2
+ ovn-sbctl lflow-list ls2                                                                            
+ echo 0                                                                                              
0
+ ovn-nbctl ls-del ls2                                                                                
+ ovn-sbctl lflow-list ls2
ovn-sbctl: ls2 is not a UUID or the beginning of a UUID                                               
+ echo 1                                                                                              
1
+ ovs-appctl -t ovn-northd is-paused                                                                  
false
+ ovs-appctl -t ovn-northd pause  

<==== set paused
                                                                    
+ ovs-appctl -t ovn-northd is-paused                                                                  
true
+ ovn-nbctl ls-add ls2
+ ovn-sbctl lflow-list ls2                                                                            
ovn-sbctl: ls2 is not a UUID or the beginning of a UUID                                               
+ echo 1                                                                                              
1                                       

<==== changes on DB is not processed by northd
                                                              
+ ovs-appctl -t ovn-northd resume   
 
<=== resumed
                                                                 
+ ovs-appctl -t ovn-northd is-paused                                                                  
false
+ ovn-sbctl lflow-list ls2
+ echo 0
0

<==== DB is processed by ovn-northd

+ ovn-nbctl ls-del ls2