[Rdo-list] tempest_config fails if network service is not enabled

David Kranz dkranz at redhat.com
Thu Jan 8 14:03:56 UTC 2015


On 01/08/2015 07:12 AM, Kaul, Yaniv wrote:
>
> Not everyone needs network for testing...
>
> [root at lgdrm1499 tempest(keystone_admin)]# tools/config_tempest.py 
> --create identity.uri $OS_AUTH_URL identity.admin_username 
> $OS_USERNAME identity.admin_password $OS_PASSWORD 
> identity.admin_tenant_name $OS_TENANT_NAME
>
> 2015-01-08 14:10:41,932 - tempest.common.api_discovery - ERROR - 
> Request on service 'network' with url 
> 'http://10.102.37.163:9696/v2.0/extensions.json' failed
>
> Traceback (most recent call last):
>
>   File "tools/config_tempest.py", line 782, in <module>
>
>     main()
>
>  File "tools/config_tempest.py", line 137, in main
>
>     services = api_discovery.discover(clients.identity)
>
>   File "/root/tempest/tempest/common/api_discovery.py", line 143, in 
> discover
>
>     services[name]['extensions'] = service.get_extensions()
>
>   File "/root/tempest/tempest/common/api_discovery.py", line 83, in 
> get_extensions
>
>     body = self.do_get(self.service_url + 'v2.0/extensions.json')
>
>   File "/root/tempest/tempest/common/api_discovery.py", line 47, in do_get
>
>     raise e
>
> socket.error: [Errno 111] Connection refused
>
> (I believe it used to work in the past, so it's most likely a regression).
>
The discovery is done for each service listed in the keystone catalog. 
Is it possible that your catalog lists a neutron endpoint but neutron 
was not configured or its port is blocked?

  -David
>
> TIA,
>
> Y.
>
>
>
> _______________________________________________
> Rdo-list mailing list
> Rdo-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20150108/c44ef8c1/attachment.html>


More information about the dev mailing list