Fix for critical part of bug 929765.
Change-Id: I6ca3b3bc674305011d2469ca1f417a435d030a98
diff --git a/tempest/services/nova/json/floating_ips_client.py b/tempest/services/nova/json/floating_ips_client.py
index 8bd276f..99b5e9f 100644
--- a/tempest/services/nova/json/floating_ips_client.py
+++ b/tempest/services/nova/json/floating_ips_client.py
@@ -7,7 +7,7 @@
def __init__(self, config, username, key, auth_url, tenant_name=None):
self.config = config
self.client = rest_client.RestClient(config, username, key,
- auth_url, tenant_name)
+ auth_url, 'nova', tenant_name)
def list_floating_ips(self, params=None):
"""Returns a list of all floating IPs filtered by any parameters"""
diff --git a/tempest/tests/test_floating_ips_actions.py b/tempest/tests/test_floating_ips_actions.py
index ab9e22d..9a8a9a7 100644
--- a/tempest/tests/test_floating_ips_actions.py
+++ b/tempest/tests/test_floating_ips_actions.py
@@ -94,7 +94,8 @@
self.assertEqual(202, resp.status)
#Disassociation of floating IP that was associated in this method
resp, body = \
- self.client.disassociate_floating_ip_from_server(floating_ip_id)
+ self.client.disassociate_floating_ip_from_server(
+ self.floating_ip_id)
@attr(type='positive')
def test_dissociate_floating_ip(self):