Fill *_id information for client when using static accounts
Related-Prod: PRODX-18763
Change-Id: Ie6f4092e07bdf28af6cfcfd0fe37645dd1b794c4
diff --git a/neutron_tempest_plugin/api/base.py b/neutron_tempest_plugin/api/base.py
index 7cf8dd4..a8cfbcc 100644
--- a/neutron_tempest_plugin/api/base.py
+++ b/neutron_tempest_plugin/api/base.py
@@ -106,6 +106,11 @@
super(BaseNetworkTest, cls).setup_clients()
cls.client = cls.os_primary.network_client
+ # NOTE(vsaienko): when using static accounts we need
+ # to fill *_id information like project_id, user_id
+ # by authenticating in keystone
+ cls.client.auth_provider.get_token()
+
@classmethod
def resource_setup(cls):
super(BaseNetworkTest, cls).resource_setup()