Skip to content

Conversation

@PlagueCZ
Copy link
Contributor

@PlagueCZ PlagueCZ commented Nov 4, 2025

This PR implements a mechanism for synchonizing the active and standby instances of dpservice.

  • synchronizes current NAT connections
  • synchronizes current virtual service connections
  • synchronizes VF neightbor MACs
  • uses TAP devices in a bridge for synchronization
  • connection tracking is not synchronized, but re-created when needed

Pytest suite and documentation are part of this PR

Fixes #697

Connected to #329

@PlagueCZ PlagueCZ requested a review from a team as a code owner November 4, 2025 16:51
@github-actions github-actions bot added size/XXL documentation Improvements or additions to documentation enhancement New feature or request labels Nov 4, 2025
@PlagueCZ PlagueCZ changed the title Feature/ha sync cleanup Implement dpservice-ha synchronization Nov 4, 2025
@PlagueCZ PlagueCZ force-pushed the feature/ha_sync_cleanup branch from b4f8eb5 to cd131d5 Compare November 4, 2025 20:08
@PlagueCZ
Copy link
Contributor Author

PlagueCZ commented Nov 4, 2025

I am not sure I properly understand why test is failing, If I read it correctly, the problem is that the TAP devices and bridge were not properly created? Maybe the runner needs some privileges?

@PlagueCZ
Copy link
Contributor Author

PlagueCZ commented Nov 6, 2025

Solved. For some reason in a container pytest is not automatically refreshing interfaces. And when the test re-starts secondary dpservice, which uses the same interface names all the time, its interfaces are not properly registered in pytest.

@PlagueCZ PlagueCZ force-pushed the feature/ha_sync_cleanup branch from 9fdc14b to 5070519 Compare November 14, 2025 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/networking documentation Improvements or additions to documentation enhancement New feature or request ok-to-image size/XXL

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

NAT table synchronization between two dpservice instances

4 participants