ovn-kubernetes icon indicating copy to clipboard operation
ovn-kubernetes copied to clipboard

ovn-kubernetes can overwrite NB_Global.options set by ovn-northd or OVN utilities.

Open igsilya opened this issue 3 years ago • 4 comments

To set NB_Global.options:e2e_timestamp ovn-kubernetes reds the options as a whole, updates e2e_timestamp and writes options back as a whole. If options will be changed in between by a separate process (northd, nbctl, etc.), ovn-kubernetes will overwrite them back to old values.

To avoid this issue, ovn-kubernetes should add verification of old values to the transaction or use mutation instead of setting options as a whole.

igsilya avatar Sep 08 '21 11:09 igsilya