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

Kaul, Yaniv Yaniv.Kaul at emc.com
Thu Jan 8 12:12:02 UTC 2015

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 '' failed
Traceback (most recent call last):
  File "tools/config_tempest.py", line 782, in <module>
 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).

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

More information about the dev mailing list