-
Type: Story
-
Status: Resolved (View Workflow)
-
Priority: High
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.8
-
Component/s: onos-olt
-
Labels:
-
Story Points:3
-
Epic Link:
-
Sprint:VOLTHA Sprint 2
Mastership state can persist for some time on master during device disconnection.
issue is that onos-2 has
[90m12:21:26.574[0m [1;32mINFO [m [90m[Olt][0m master Checking master for: of:00000a0a0a0a0a00
[90m12:21:26.574[0m [1;32mINFO [m [90m[TopologyManager][0m Topology DefaultTopology
changed
[90m12:21:26.574[0m [1;32mINFO [m [90m[Olt][0m master Local master. Returning true.
[90m12:21:26.574[0m [36mDEBUG[m [90m[Olt][0m OLT got DEVICE_AVAILABILITY_CHANGED event for DefaultDevice
/null
[90m12:21:26.575[0m [1;32mINFO [m [90m[Olt][0m Handling controlled device disconnection .. flushing all state for dev:of:00000a0a0a0a0a00
because it was the master of that device
but also onos-1
does the same operation
[90m12:21:26.601[0m [1;32mINFO [m [90m[Olt][0m master Checking master for: of:00000a0a0a0a0a00
[90m12:21:26.601[0m [1;32mINFO [m [90m[Olt][0m master Not master for device: of:00000a0a0a0a0a00
[90m12:21:26.613[0m [1;32mINFO [m [90m[Olt][0m master Checked is local leader. Returning true.
[90m12:21:26.613[0m [36mDEBUG[m [90m[Olt][0m OLT got DEVICE_AVAILABILITY_CHANGED event for DefaultDevice
/null
[90m12:21:26.614[0m [1;32mINFO [m [90m[Olt][0m Handling controlled device disconnection .. flushing all state for dev:of:00000a0a0a0a0a00
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
24582,3 | [VOL-4065] Fix race condition between mastership and local leadership | master | olt | Status: MERGED | +2 | +1 |
24583,2 | [VOL-4065] Fix race condition between mastership and local leadership | master | igmpproxy | Status: MERGED | +2 | +1 |
24584,2 | [VOL-4065] Fix race condition between mastership and local leadership | master | dhcpl2relay | Status: MERGED | +2 | +1 |
24585,3 | [VOL-4065] Fix race condition between mastership and local leadership | master | mcast | Status: MERGED | +2 | +1 |