The neutron_lbaas.tests.tempest.v2.scenario.test_session_persistence.testsessionpersistence test_session_persistence test fails with the error message below. It is related to this known issue, which was closed previously, in mitaka. The actual problem is that once session persistence has been set on a pool, it is impossible, through the CLI, to set it back to None. It is possible to set it to None via the api, but the test has a bug where it is not set properly. We can fixit by calling the rest endpoint with the session_persistence key set in the pool dict and the value equal to None.
Traceback (most recent call last):
File "/home/jenkins/neutron-lbaas/.tox/scenariov2/local/lib/python2.7/site-packages/tempest/test.py", line 113, in wrapper
return f(self, *func_args, **func_kwargs)
File "/home/jenkins/neutron-lbaas/neutron_lbaas/tests/tempest/v2/scenario/test_session_persistence.py", line 54, in test_session_persistence
self._update_pool_session_persistence()
File "/home/jenkins/neutron-lbaas/neutron_lbaas/tests/tempest/v2/scenario/base.py", line 626, in _update_pool_session_persistence
persistence_type)
File "/home/jenkins/neutron-lbaas/neutron_lbaas/tests/tempest/v2/scenario/base.py", line 508, in _wait_for_pool_session_persistence
type=sp_type))
Exception: Wait for pool ran for 10 seconds and did not observe 722ccb14-8f37-4d64-a608-ed000aad4c77 update session persistence type to None.
The
neutron_lbaas.tests.tempest.v2.scenario.test_session_persistence.testsessionpersistence test_session_persistence
test fails with the error message below. It is related to this known issue, which was closed previously, in mitaka. The actual problem is that once session persistence has been set on a pool, it is impossible, through the CLI, to set it back to None. It is possible to set it to None via the api, but the test has a bug where it is not set properly. We can fixit by calling the rest endpoint with the session_persistence key set in the pool dict and the value equal to None.