Bug 1910347 - igmp options are not persistent after reboot
Summary: igmp options are not persistent after reboot
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openvswitch
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Open vSwitch development team
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-23 14:35 UTC by Miguel Angel Nieto
Modified: 2021-01-05 09:13 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-05 09:13:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Miguel Angel Nieto 2020-12-23 14:35:42 UTC
DDescription of problem:

igmp options are not persistent after reboot. This issue is happening in osp13 too, i opened this bz for osp13: https://bugzilla.redhat.com/show_bug.cgi?id=1910304


This is how I reproduce it:

1. Configure options:
   sudo ovs-vsctl set Bridge br-int mcast_snooping_enable=true
   sudo ovs-vsctl set Bridge br-int other_config:mcast-snooping-disable-flood- 
  unregistered=true
2. Get configuration
   ovs-vsctl list bridge br-int
_uuid               : c6875d8d-1500-4f02-9158-e039847b291e
auto_attach         : []
controller          : [83058d89-805e-4fa9-8ff8-275e211b1d22]
datapath_id         : "00008e5d87c6024f"
datapath_type       : netdev
datapath_version    : "<built-in>"
external_ids        : {}
fail_mode           : secure
flood_vlans         : []
flow_tables         : {}
ipfix               : []
mcast_snooping_enable: true
mirrors             : []
name                : br-int
netflow             : []
other_config        : {mac-table-size="50000", mcast-snooping-disable-flood-unregistered="true"}
ports               : [2bdecc2a-2172-4cd8-9cc2-5cf15298ae7d, 2e8a714c-a543-4b53-a84e-820129d84162, aadaafd2-6a4a-4783-a8b7-649db45a9bef, ad320f9a-8331-47b8-8400-58df9e47b5ad, b0c24414-a25c-49ef-816f-b041f51d5917]
protocols           : ["OpenFlow10", "OpenFlow11", "OpenFlow12", "OpenFlow13", "OpenFlow14"]
rstp_enable         : false
rstp_status         : {}
sflow               : []
status              : {}
stp_enable          : false

3. Restart ovs
   systemctl restart openvswitch.service

4. Get ovs options
   ovs-vsctl list bridge br-int
_uuid               : c6875d8d-1500-4f02-9158-e039847b291e
auto_attach         : []
controller          : [c1c983ad-4449-4d1b-857e-ffbed97a87e1]
datapath_id         : "00008e5d87c6024f"
datapath_type       : netdev
datapath_version    : "<built-in>"
external_ids        : {}
fail_mode           : secure
flood_vlans         : []
flow_tables         : {}
ipfix               : []
mcast_snooping_enable: false
mirrors             : []
name                : br-int
netflow             : []
other_config        : {mac-table-size="50000", mcast-snooping-disable-flood-unregistered=False}
ports               : [2bdecc2a-2172-4cd8-9cc2-5cf15298ae7d, 2e8a714c-a543-4b53-a84e-820129d84162, aadaafd2-6a4a-4783-a8b7-649db45a9bef, ad320f9a-8331-47b8-8400-58df9e47b5ad, b0c24414-a25c-49ef-816f-b041f51d5917]
protocols           : ["OpenFlow10", "OpenFlow11", "OpenFlow12", "OpenFlow13", "OpenFlow14"]
rstp_enable         : false
rstp_status         : {}
sflow               : []
status              : {}
stp_enable          : false


Version-Release number of selected component (if applicable):
2020-11-13.1
openvswitch2.11-2.11.3-64.el7fdp.x86_64

Actual results:
configuration is lost after reboot


Expected results:
configuration should not be lost


Additional info:

Comment 1 Miguel Angel Nieto 2020-12-23 14:39:07 UTC
sorry, puddle in the descrition is for osp13, for osp16 versions is:
RHOS-16.1-RHEL-8-20201214.n.3

Comment 2 Rodolfo Alonso 2021-01-05 09:13:06 UTC
Hello:

The integration bridge "mcast_snooping_enable" and "other_config:mcast-snooping-disable-flood-unregistered" options are set during the OVS agent initialization, according to the configuration parameter "OVS.igmp_snooping_enable".

Any value set on those configuration options will be overwritten during the OVS initialization when [1] is executed. In order to set a desirable value, please modify "OVS.igmp_snooping_enable".

*NOTE*: any manual action or configuration on the Open vSwitch is not recommended. OVS agent is in charge of handling and configuring this service. No manual configuration commands should be executed.

Regards.

[1]https://github.com/openstack/neutron/blob/4d33a64931fd35583952e45dbc8fd7272cb67c0d/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L1339


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