The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 1720728 - [RFE] [RHEL 7] Add the option in ovn-northd to pause/resume logical flow calculation
Summary: [RFE] [RHEL 7] 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:
Blocks: 1761405
TreeView+ depends on / blocked
 
Reported: 2019-06-14 17:02 UTC by Numan Siddique
Modified: 2020-01-14 21:15 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1761405 (view as bug list)
Environment:
Last Closed: 2019-11-06 05:00:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3718 0 None None None 2019-11-06 05:00:27 UTC

Description Numan Siddique 2019-06-14 17:02:09 UTC
Description of problem:

With this user can pause/resume the ovn-northd by running

ovs-appctl -t ovn-northd pause/resume

If an ovn-northd is paused, it should not process any changes to the DB.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Numan Siddique 2019-06-17 05:41:03 UTC
Submitted the patch upstream for review - https://patchwork.ozlabs.org/patch/1116716/

Comment 4 Jianlin Shi 2019-10-21 02:05:34 UTC
Verified on 2.11..1-8:

[root@ibm-x3650m5-03 bz1720728]# rpm -qa | grep ovn
ovn2.11-2.11.1-8.el7fdp.x86_64
ovn2.11-central-2.11.1-8.el7fdp.x86_64
kernel-kernel-networking-openvswitch-ovn-1.0-148.noarch
ovn2.11-host-2.11.1-8.el7fdp.x86_64

+ 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     

<=== pause ovn-nbrthd
                                                                 
+ ovs-appctl -t ovn-northd is-paused                                                                  
true                                                                                                  
+ ovn-nbctl ls-add ls2                                                                                
+ ovn-sbctl lflow-list ls2                                                                            
+ echo 1                                                                                              
1                        

<=== the changes to DB is not processed by ovn-northd after ovn-northd is paused
                                                                             
+ ovs-appctl -t ovn-northd resume  

<=== resumed
                                                                   
+ ovs-appctl -t ovn-northd is-paused                                                                  
false                                                                                                 
+ ovn-sbctl lflow-list ls2                                                                            
+ echo 0                                                                                              
0                         

<===  changes to DB is processed
                                                                            
+ ovn-nbctl ls-del ls2

Comment 6 errata-xmlrpc 2019-11-06 05:00:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:3718


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