From f9a9c6eb7e11ba70e39b5b05b4dbba743bf3fd02 Mon Sep 17 00:00:00 2001 From: spisarski Date: Mon, 31 Jul 2017 15:13:33 -0600 Subject: Fixed failing router test on Aricent pod. Removed project ID from network lookup for the router_external network as the test test_create_router_admin_user_to_new_project() as the OpenStackRouter object was including its own project ID to the API call causing the network lookup to fail. Note: this is the only pod where this bug has reared it's ugly head. Change-Id: I159252b3f3c3bc418f9947710e9e97d8471ec538 Signed-off-by: spisarski --- snaps/openstack/create_router.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/snaps/openstack/create_router.py b/snaps/openstack/create_router.py index 335be2c..209f9d2 100644 --- a/snaps/openstack/create_router.py +++ b/snaps/openstack/create_router.py @@ -253,8 +253,7 @@ class RouterSettings: if self.admin_state_up is not None: out['admin_state_up'] = self.admin_state_up if self.external_gateway: - ext_net = neutron_utils.get_network(neutron, self.external_gateway, - project_id) + ext_net = neutron_utils.get_network(neutron, self.external_gateway) if ext_net: ext_gw['network_id'] = ext_net.id out['external_gateway_info'] = ext_gw -- cgit 1.2.3-korg