Bug 1761405 - [RFE] [RHEL 8] Add the option in ovn-northd to pause/resume logical flow calculation
Summary: [RFE] [RHEL 8] Add the option in ovn-northd to pause/resume logical flow calc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: ovn2.11
Version: FDP 19.G
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Open vSwitch development team
QA Contact: Jianlin Shi
URL:
Whiteboard:
Depends On: 1720728
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-14 10:52 UTC by Numan Siddique
Modified: 2021-05-18 20:24 UTC (History)
7 users (show)

Fixed In Version: ovn2.11.1-8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1720728
Environment:
Last Closed: 2021-05-18 20:24:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.