test_gateway_chassis_rebalance fails randomly because of port not being bound yet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-ovn |
Fix Released
|
Undecided
|
Jakub Libosvar |
Bug Description
The test creates lots of routers and then binds a port. It may happen ovn-northd hasn't calculated from NB db to SB db yet and thus port binding for given port hasn't been created yet.
Traceback example:
2019-09-01 10:39:45.989734 | primary | 2019-09-01 10:39:45.988 | Traceback (most recent call last):
2019-09-01 10:39:45.993299 | primary | 2019-09-01 10:39:45.991 | File "/opt/stack/
2019-09-01 10:39:45.996311 | primary | 2019-09-01 10:39:45.995 | return f(self, *args, **kwargs)
2019-09-01 10:39:45.999119 | primary | 2019-09-01 10:39:45.998 | File "networking_
2019-09-01 10:39:46.002344 | primary | 2019-09-01 10:39:46.001 | may_exist=
2019-09-01 10:39:46.005762 | primary | 2019-09-01 10:39:46.004 | File "/opt/stack/
2019-09-01 10:39:46.008808 | primary | 2019-09-01 10:39:46.008 | t.add(self)
2019-09-01 10:39:46.011568 | primary | 2019-09-01 10:39:46.010 | File "/usr/lib/
2019-09-01 10:39:46.013817 | primary | 2019-09-01 10:39:46.013 | self.gen.next()
2019-09-01 10:39:46.016190 | primary | 2019-09-01 10:39:46.015 | File "/opt/stack/
2019-09-01 10:39:46.018197 | primary | 2019-09-01 10:39:46.017 | del self._nested_
2019-09-01 10:39:46.020931 | primary | 2019-09-01 10:39:46.020 | File "/opt/stack/
2019-09-01 10:39:46.023694 | primary | 2019-09-01 10:39:46.023 | self.result = self.commit()
2019-09-01 10:39:46.026191 | primary | 2019-09-01 10:39:46.025 | File "/opt/stack/
2019-09-01 10:39:46.029181 | primary | 2019-09-01 10:39:46.028 | raise result.ex
2019-09-01 10:39:46.032121 | primary | 2019-09-01 10:39:46.031 | ovsdbapp.
Changed in networking-ovn: | |
assignee: | nobody → Jakub Libosvar (libosvar) |
Fix proposed to branch: master /review. opendev. org/679663
Review: https:/