Ask Your Question
0

All tempest volume tests failling: ResponseNotReady

asked 2014-07-25 15:03:31 -0500

Lucas Ribeiro gravatar image

updated 2014-07-29 06:59:26 -0500

Hello all.

I created a tempest server that is pointing to another machine which contains the openstack deploy I would test.

All tests returns the message below:

======================================================================
FAIL: setUpClass (tempest.api.volume.v2.test_volumes_list.VolumesV2ListTestXML)
----------------------------------------------------------------------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
  File "/home/ubuntu/tempest/tempest/test.py", line 76, in decorator
    f(cls)
  File "/home/ubuntu/tempest/tempest/api/volume/v2/test_volumes_list.py", line 44, in setUpClass
    volume = cls.create_volume(metadata=cls.metadata)
  File "/home/ubuntu/tempest/tempest/api/volume/base.py", line 92, in create_volume
    size, name=vol_name, **kwargs)
  File "/home/ubuntu/tempest/tempest/services/volume/xml/volumes_client.py", line 177, in create_volume
    resp, body = self.post('volumes', str(common.Document(volume)))
  File "/home/ubuntu/tempest/tempest/common/rest_client.py", line 218, in post
    return self.request('POST', url, extra_headers, headers, body)
  File "/home/ubuntu/tempest/tempest/common/rest_client.py", line 417, in request
    headers=headers, body=body)
  File "/home/ubuntu/tempest/tempest/common/rest_client.py", line 388, in _request
    req_url, method, headers=req_headers, body=req_body)
  File "/home/ubuntu/tempest/tempest/common/http.py", line 25, in request
    return super(ClosingHttp, self).request(*args, **new_kwargs)
  File "/home/ubuntu/tempest/.venv/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1593, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/home/ubuntu/tempest/.venv/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1335, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/home/ubuntu/tempest/.venv/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1291, in _conn_request
    response = conn.getresponse()
  File "/usr/lib/python2.7/httplib.py", line 1033, in getresponse
    raise ResponseNotReady()
ResponseNotReady

Could someone help me?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2014-07-29 10:48:27 -0500

Lucas Ribeiro gravatar image

I have fixed it with my friend's help. The problem in my case was the firewall in the machine I was pointing in the tempest.conf.

edit flag offensive delete link more

Comments

What was the issue? Can you elaborate? Seems like I have the same issue.

jay-janardhan gravatar imagejay-janardhan ( 2014-09-15 16:02:36 -0500 )edit

In my case,m the firewall was in the target machine was blocking the access to the endpoint services. I just turned off the firewall as I was using a VM.

Lucas Ribeiro gravatar imageLucas Ribeiro ( 2014-09-16 07:02:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-07-25 15:03:31 -0500

Seen: 426 times

Last updated: Jul 29 '14