Browse Source

Fix neutron nova port notification tests to check logs on controllers

/var/log/containers/neutron/server.log file is located in controller
nodes only

Change-Id: I46f13e4e3d0176080135dc618a3b010d976148a9
changes/41/776941/2
Alex Katz 5 months ago
parent
commit
26d385d7bf
  1. 2
      tobiko/tests/scenario/neutron/test_port.py

2
tobiko/tests/scenario/neutron/test_port.py

@ -162,6 +162,7 @@ class PortLogsTest(testtools.TestCase):
self.stack.ensure_server_status('ACTIVE')
log_digger = topology.get_log_file_digger(
service_name=neutron.SERVER,
groups=['controller'],
pattern=f'Nova.+event.+response.*{self.stack.server_id}')
with log_digger:
@ -175,6 +176,7 @@ class PortLogsTest(testtools.TestCase):
self.stack.ensure_server_status('SHUTOFF')
log_digger = topology.get_log_file_digger(
service_name=neutron.SERVER,
groups=['controller'],
pattern=f'Nova.+event.+response.*{self.stack.server_id}')
with log_digger:

Loading…
Cancel
Save