Tempest test_admin_dns_domains fails in Neutron environment

Bug #1202991 reported by Ala Rezmerita
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tempest
Fix Released
High
Ala Rezmerita

Bug Description

 The test tempest.cli.simple_read_only.test_compute:SimpleReadOnlyNovaClientTest.test_admin_dns_domains in Neutron environment fails

Tempest output :
tempest tempest.cli.simple_read_only.test_compute:SimpleReadOnlyNovaClientTest.test_admin_dns_domains
E
======================================================================
ERROR: tempest.cli.simple_read_only.test_compute.SimpleReadOnlyNovaClientTest.test_admin_dns_domains
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/opt/stack/tempest/tempest/cli/simple_read_only/test_compute.py", line 73, in test_admin_dns_domains
    self.nova('dns-domains')
  File "/opt/stack/tempest/tempest/cli/__init__.py", line 62, in nova
    'nova', action, flags, params, admin, fail_ok)
  File "/opt/stack/tempest/tempest/cli/__init__.py", line 94, in cmd_with_auth
    return self.cmd(cmd, action, flags, params, fail_ok)
  File "/opt/stack/tempest/tempest/cli/__init__.py", line 117, in cmd
    result = self.check_output(cmd, stderr=devnull)
  File "/opt/stack/tempest/tempest/cli/__init__.py", line 102, in check_output
    raise CommandFailed(proc.returncode, cmd, output)
CommandFailed: Command '['/usr/local/bin/nova', '--os-username', 'admin', '--os-tenant-name', 'admin', '--os-password', 'demo', '--os-auth-url', 'http://10.0.48.147:5000/v2.0/', 'dns-domains']' returned non-zero exit status 1

-------------------- >> begin captured logging << --------------------
tempest.config: INFO: Using tempest config file /opt/stack/tempest/etc/tempest.conf
tempest.cli: INFO: running: '/usr/local/bin/nova --os-username admin --os-tenant-name admin --os-password demo --os-auth-url http://10.0.48.147:5000/v2.0/ dns-domains '
tempest.cli: ERROR: command output:

--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 1 test in 0.621s

FAILED (errors=1)

Nova backtrace :

2013-07-19 11:15:17.920 ERROR nova.api.openstack [req-d7cec55b-afb0-41d8-bf03-eb37ea76cd0e admin admin] Caught error:
2013-07-19 11:15:17.920 TRACE nova.api.openstack Traceback (most recent call last):
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/__init__.py", line 110, in __call__
2013-07-19 11:15:17.920 TRACE nova.api.openstack return req.get_response(self.application)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
2013-07-19 11:15:17.920 TRACE nova.api.openstack application, catch_exc_info=False)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
2013-07-19 11:15:17.920 TRACE nova.api.openstack app_iter = application(self.environ, start_response)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-07-19 11:15:17.920 TRACE nova.api.openstack return resp(environ, start_response)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 461, in __call__
2013-07-19 11:15:17.920 TRACE nova.api.openstack return self.app(env, start_response)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-07-19 11:15:17.920 TRACE nova.api.openstack return resp(environ, start_response)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-07-19 11:15:17.920 TRACE nova.api.openstack return resp(environ, start_response)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-07-19 11:15:17.920 TRACE nova.api.openstack return resp(environ, start_response)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2013-07-19 11:15:17.920 TRACE nova.api.openstack response = self.app(environ, start_response)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-07-19 11:15:17.920 TRACE nova.api.openstack return resp(environ, start_response)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2013-07-19 11:15:17.920 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2013-07-19 11:15:17.920 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 903, in __call__
2013-07-19 11:15:17.920 TRACE nova.api.openstack content_type, body, accept)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 962, in _process_stack
2013-07-19 11:15:17.920 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 1043, in dispatch
2013-07-19 11:15:17.920 TRACE nova.api.openstack return method(req=request, **action_args)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/compute/contrib/floating_ip_dns.py", line 142, in index
2013-07-19 11:15:17.920 TRACE nova.api.openstack domains = self.network_api.get_dns_domains(context)
2013-07-19 11:15:17.920 TRACE nova.api.openstack File "/opt/stack/nova/nova/network/neutronv2/api.py", line 994, in get_dns_domains
2013-07-19 11:15:17.920 TRACE nova.api.openstack raise NotImplementedError()
2013-07-19 11:15:17.920 TRACE nova.api.openstack NotImplementedError
2013-07-19 11:15:17.920 TRACE nova.api.openstack

Changed in tempest:
assignee: nobody → Ala Rezmerita (arezmerita)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/37902

Changed in tempest:
status: New → In Progress
Sean Dague (sdague)
Changed in tempest:
importance: Undecided → High
milestone: none → havana-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/37902
Committed: http://github.com/openstack/tempest/commit/15373b034897cc549637c59ed0588fe340c4fd2d
Submitter: Jenkins
Branch: master

commit 15373b034897cc549637c59ed0588fe340c4fd2d
Author: Ala Rezmerita <email address hidden>
Date: Fri Jul 19 15:45:10 2013 +0200

    Skip test that is not relevant to Neutron

    Neutron does not support DNS domain feature,
    thus this test must be skipped in Neutron environment.
    Fixes: bug #1202991

    Change-Id: I78f4608cce488cd515d72df2178d7a5b45bf2b85

Changed in tempest:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.