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 <jose.laus...@ericsson.co
m> 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 <pavan.gu...@calsoftinc.com
> 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 <jose.lausuch@ericsson
.com> 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: opnfv-tech-discuss-boun...@lists.opnfv.org 
> > > > > > > > > > > > [mailto:opnfv-
tech-discuss-boun...@lists.opnfv.org] On
> > > >  Behalf Of Pavan Gupta
> > > > 
> > > > Sent: Thursday, July 13, 2017 14:29 PM
> > > > 
> > > > > > > > To: Manuel Buil <mb...@suse.com>
> > > > 
> > > > > > > > > > > > > > > > Cc: andres.sanchez.ra...@estudiant.upc.edu; 
> > > > > > > > > > > > > > > > OPNFV-TECH-DISCUSS
OPNFV <opnfv-tech-discuss@lists.opnfv.org>
> > > > 
> > > > 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 <mb...@suse.com> wrote:
> > > > 
> > > > 
> > > > 
> > > > 
> > > >  
> > > > 
> > > > 
> > > > 
> > > > 10.20.0.2
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
_______________________________________________
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to