From ba2a23419574c2c1609d7b81927d091147e1afe2 Mon Sep 17 00:00:00 2001 From: ghanshyam Date: Wed, 15 Feb 2017 05:11:44 +0000 Subject: [PATCH] Fix to use correct config options for network_for_ssh network_for_ssh config options under compute group have been deprecated since 1 year and it has been under new group validation. Tempest will remove the deprecated config options soon. This commit use the config options from correct group. Change-Id: Ieb333745d62058ad2798821437373c636ba4af07 --- manila_tempest_tests/tests/scenario/manager_share.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manila_tempest_tests/tests/scenario/manager_share.py b/manila_tempest_tests/tests/scenario/manager_share.py index b29449a946..4bdaf5ff38 100644 --- a/manila_tempest_tests/tests/scenario/manager_share.py +++ b/manila_tempest_tests/tests/scenario/manager_share.py @@ -212,7 +212,8 @@ class ShareScenarioTest(manager.NetworkScenarioTest): if isinstance(server_or_ip, six.string_types): ip = server_or_ip else: - addr = server_or_ip['addresses'][CONF.compute.network_for_ssh][0] + addr = server_or_ip['addresses'][ + CONF.validation.network_for_ssh][0] ip = addr['addr'] # NOTE(u_glide): Both options (pkey and password) are required here to