Fixing test_volume_boot_pattern when use_floatingip_for_ssh=false
It turns out that the "test_volume_boot_pattern" test doesn't
work if use_floatingip_for_ssh is false. To make this test working
the corresponding changes in the test were done.
Change-Id: I2a007ba46b7b93a8fb7aa70e52bced88383e5cd3
Closes-Bug: #1478482
diff --git a/tempest/scenario/test_volume_boot_pattern.py b/tempest/scenario/test_volume_boot_pattern.py
index 45b7b74..3809831 100644
--- a/tempest/scenario/test_volume_boot_pattern.py
+++ b/tempest/scenario/test_volume_boot_pattern.py
@@ -106,8 +106,7 @@
floating_ip['ip'], server['id'])
ip = floating_ip['ip']
else:
- network_name_for_ssh = CONF.compute.network_for_ssh
- ip = server.networks[network_name_for_ssh][0]
+ ip = server
return self.get_remote_client(ip, private_key=keypair['private_key'],
log_console_of_servers=[server])