Hi Pavan, Can you please attach functest log, located in /home/opnfv/functest/results/functest.log ?
Also answer to the following questions about your environment: Which docker image (tag) are you using? Which installer? Version? The credentials to access the installer node are in [1]. If you have deployed your installer node with different user/password, make sure you update that as well. Jose [1] https://git.opnfv.org/functest/tree/functest/ci/installer_params.yaml?h=stable/danube On 14 Jul 2017, at 13:31, Pavan Gupta <[email protected]<mailto:[email protected]>> wrote: Hi Manuel, - I am using funkiest command list. I run this command: 'functest testcase run odl-sfc’ - I am new openstack as well, can you please tell me, what all env variables need to be set. Do I need to copy these in openstack.creds. This is what is there at present in this file: OS_REGION_NAME=RegionOne OS_DEFAULT_DOMAIN=default OS_USER_DOMAIN_NAME=Default OS_PROJECT_NAME=admin OS_IDENTITY_API_VERSION=3 OS_PASSWORD=admin OS_AUTH_STRATEGY=keystone OS_AUTH_URL=http://192.168.0.2:5000/ OS_USERNAME=admin OS_TENANT_NAME=admin OS_ENDPOINT_TYPE=internalURL OS_NO_CACHE=true OS_PROJECT_DOMAIN_NAME=Default - Where do I run ‘openstack server list’ command. I tried running it on node-1 machine, which is a controller machine, the output was blank. Any useful pointer would be appreciated. Pavan - On 14-Jul-2017, at 4:49 PM, Manuel Buil <[email protected]<mailto:[email protected]>> wrote: HI Pavan, I think your openstack env. variables are not set. How do you execute the tests? If you are not using the functest command line, you need to source the env variables (from openrc or tackerc). To check that everything is ok, try to execute one openstack command before executing the test and check that you don't get any error (e.g. openstack server list). Regards, Manuel On Fri, 2017-07-14 at 16:40 +0530, Pavan Gupta wrote: Hello Folks, I have managed to begin the test but hit across this error: Traceback (most recent call last): File "./run_tests.py", line 189, in <module> main(report=args.report) File "./run_tests.py", line 91, in main disable_heat_resource_finder_cache(nodes) File "./run_tests.py", line 67, in disable_heat_resource_finder_cache controller.run_cmd('rm -f {0}'.format(remote_heat_conf)) File "/home/opnfv/repos/releng/modules/opnfv/deployment/manager.py", line 184, in run_cmd _, stdout, stderr = (self.ssh_client.exec_command(cmd)) AttributeError: 'NoneType' object has no attribute ‘exec_command' Does anyone know fix for this? Pavan On 14-Jul-2017, at 12:56 PM, Jose Lausuch <[email protected]<mailto:[email protected]>> wrote: Ok, just for your information: if you are using Functest Danube, you need connectivity to the admin network. We are working on removing that constraint in Euphrates against OpenStack Ocata. Thanks, Jose On 14 Jul 2017, at 08:45, Pavan Gupta <[email protected]<mailto:[email protected]>> wrote: Hi Jose, I added the following route on Junper host and connectivity worked, so the SFC test environment was successfully prepared. sudo route add -net 192.168.0.0 netmask 255.255.255.0 gw 172.26.48.23 Thanks for your help. Pavan On 13-Jul-2017, at 7:06 PM, Jose Lausuch <[email protected]<mailto:[email protected]>> wrote: Hi Pavan, It seems your installer is not supported by the script fetch_os_creds.sh In that case, you need to provide the openstack RC file from your deployment manually to the container, or just copy the content to /home/opnfv/functest/conf/openstack.creds Let me know if it still fails that way. Regards, Jose From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Pavan Gupta Sent: Thursday, July 13, 2017 14:29 PM To: Manuel Buil <[email protected]<mailto:[email protected]>> Cc: [email protected]<mailto:[email protected]>; OPNFV-TECH-DISCUSS OPNFV <[email protected]<mailto:[email protected]>> Subject: Re: [opnfv-tech-discuss] SFC Project Hi Manuel/Andres, When I run 'functest env prepare’, I also see this issue: /home/opnfv/repos/releng/utils/fetch_os_creds.sh: line 76: SALT_MASTER_IP: unbound variable What should be SALT_MASTER_IP address? Pavan On 13-Jul-2017, at 3:37 PM, Manuel Buil <[email protected]<mailto:[email protected]>> wrote: 10.20.0.2
_______________________________________________ opnfv-tech-discuss mailing list [email protected] https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
