Stop overriding ssh default timeout 67/67167/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sun, 3 Mar 2019 12:31:15 +0000 (13:31 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sun, 3 Mar 2019 13:33:56 +0000 (14:33 +0100)
It should be modified by tempest custom yaml file instead.
It's safe as the default timeout is bigger than the previous one.

It also cleans the obsolete tempest/rally data in config_functest.yaml.

[1] https://docs.openstack.org/tempest/latest/sampleconf.html

Change-Id: Ibad02d8aaf90f154c82f3b60a6d3f04fc37bd7de
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 147f5a373b4c8659826f1f626bd9b6042afc3934)

functest/ci/config_functest.yaml
functest/opnfv_tests/openstack/tempest/conf_utils.py

index eded26e..07686f8 100644 (file)
@@ -132,24 +132,9 @@ odl_sfc:
 
 tempest:
     verifier_name: opnfv-tempest
-    identity:
-        tenant_name: tempest
-        tenant_description: Tenant for Tempest test suite
-        user_name: tempest
-        user_password: Tempest123!
-    validation:
-        ssh_timeout: 130
-    # network_type: vlan
-    # physical_network: physnet2
-    # segmentation_id: 2366
-    private_net_name: tempest-net
-    private_subnet_name: tempest-subnet
-    private_subnet_cidr: 192.168.150.0/24
-    router_name: tempest-router
 
 rally:
     deployment_name: opnfv-rally
-    network_name: rally-net
 
 vnf:
     juju_epc:
index 5639f43..7e42ad3 100644 (file)
@@ -165,9 +165,6 @@ def configure_tempest_update_params(
     rconfig.set('network', 'default_network', cidr)
     rconfig.set('network', 'project_network_cidr', cidr)
     rconfig.set('network', 'project_networks_reachable', False)
-    rconfig.set(
-        'validation', 'ssh_timeout',
-        getattr(config.CONF, 'tempest_validation_ssh_timeout'))
     rconfig.set(
         'identity', 'v3_endpoint_type',
         os.environ.get('OS_INTERFACE', 'public'))