← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1280767] [NEW] tempest rest_client _error_checker fails while parsing resoponse

 

Public bug reported:

Running tempest test on devstack (happens also on jenkins gate)
    nosetests -sv tempest.api.network.test_load_balancer.py

create_vip failes and returns:
<?xml version='1.0' encoding='UTF-8'?>
<NeutronError xmlns="http://openstack.org/quantum/api/v2.0"; xmlns:quantum="http://openstack.org/quantum/api/v2.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>Request Failed: internal server error while processing your request.</NeutronError>

tempest/common/rest_client.py:RestClient._error_checker (line 484:
message = resp_body['error']['message']) fails.

....
  File "/home/radware/tempest/tempest/common/rest_client.py", line 448, in _error_checker
    message = resp_body['error']['message']
TypeError: string indices must be integers, not str

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: tempest

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1280767

Title:
  tempest rest_client _error_checker fails while parsing resoponse

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Running tempest test on devstack (happens also on jenkins gate)
      nosetests -sv tempest.api.network.test_load_balancer.py

  create_vip failes and returns:
  <?xml version='1.0' encoding='UTF-8'?>
  <NeutronError xmlns="http://openstack.org/quantum/api/v2.0"; xmlns:quantum="http://openstack.org/quantum/api/v2.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>Request Failed: internal server error while processing your request.</NeutronError>

  tempest/common/rest_client.py:RestClient._error_checker (line 484:
  message = resp_body['error']['message']) fails.

  ....
    File "/home/radware/tempest/tempest/common/rest_client.py", line 448, in _error_checker
      message = resp_body['error']['message']
  TypeError: string indices must be integers, not str

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1280767/+subscriptions


Follow ups

References