← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1552735] [NEW] test_register_http_image fails with "Failed to establish a new connection: [Errno 101] ENETUNREACH', ))"

 

Public bug reported:

http://logs.openstack.org/45/287545/1/check/gate-tempest-dsvm-neutron-
src-oslo.versionedobjects/8b7d058/console.html#_2016-03-03_02_35_17_880

2016-03-03 02:35:17.876 | tempest.api.image.v1.test_images.CreateRegisterImagesTest.test_register_http_image[id-6d0e13a7-515b-460c-b91f-9f4793f09816]
2016-03-03 02:35:17.877 | ---------------------------------------------------------------------------------------------------------------------------
2016-03-03 02:35:17.877 | 
2016-03-03 02:35:17.877 | Captured traceback:
2016-03-03 02:35:17.877 | ~~~~~~~~~~~~~~~~~~~
2016-03-03 02:35:17.877 |     Traceback (most recent call last):
2016-03-03 02:35:17.877 |       File "tempest/api/image/v1/test_images.py", line 93, in test_register_http_image
2016-03-03 02:35:17.877 |         copy_from=CONF.image.http_image)
2016-03-03 02:35:17.878 |       File "tempest/api/image/base.py", line 67, in create_image
2016-03-03 02:35:17.878 |         image = cls.client.create_image(**kwargs)
2016-03-03 02:35:17.878 |       File "tempest/services/image/v1/json/images_client.py", line 158, in create_image
2016-03-03 02:35:17.878 |         resp, body = self.post('v1/images', None, headers)
2016-03-03 02:35:17.878 |       File "tempest/lib/common/rest_client.py", line 259, in post
2016-03-03 02:35:17.878 |         return self.request('POST', url, extra_headers, headers, body)
2016-03-03 02:35:17.879 |       File "tempest/lib/common/rest_client.py", line 642, in request
2016-03-03 02:35:17.879 |         resp, resp_body)
2016-03-03 02:35:17.879 |       File "tempest/lib/common/rest_client.py", line 700, in _error_checker
2016-03-03 02:35:17.879 |         raise exceptions.BadRequest(resp_body, resp=resp)
2016-03-03 02:35:17.879 |     tempest.lib.exceptions.BadRequest: Bad request
2016-03-03 02:35:17.879 |     Details: 400 Bad Request
2016-03-03 02:35:17.879 |     
2016-03-03 02:35:17.880 |     The HTTP URL is invalid: HTTPConnectionPool(host='git.openstack.org', port=80): Max retries exceeded with url: /static/openstack.png (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 101] ENETUNREACH',))


It's trying to get to this:

http://git.openstack.org/static/openstack.png

For whatever reason it can't. This could just be a hiccup with git.o.o
being unavailable.  Maybe Tempest should not rely on a remote static
image being available and just upload it's own image.

logstash is only showing 1 hit but I know there are more since it's
behind:

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22Max%20retries%20exceeded%20with%20url%3A%20%2Fstatic%2Fopenstack.png%5C%22%20AND%20message%3A%5C%22Failed%20to%20establish%20a%20new%20connection%3A%20%5BErrno%20101%5D%20ENETUNREACH'%2C))%5C%22%20AND%20tags%3A%5C%22screen-g-api.txt%5C%22&from=7d

** Affects: glance
     Importance: Undecided
         Status: New

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

Title:
  test_register_http_image fails with "Failed to establish a new
  connection: [Errno 101] ENETUNREACH',))"

Status in Glance:
  New

Bug description:
  http://logs.openstack.org/45/287545/1/check/gate-tempest-dsvm-neutron-
  src-
  oslo.versionedobjects/8b7d058/console.html#_2016-03-03_02_35_17_880

  2016-03-03 02:35:17.876 | tempest.api.image.v1.test_images.CreateRegisterImagesTest.test_register_http_image[id-6d0e13a7-515b-460c-b91f-9f4793f09816]
  2016-03-03 02:35:17.877 | ---------------------------------------------------------------------------------------------------------------------------
  2016-03-03 02:35:17.877 | 
  2016-03-03 02:35:17.877 | Captured traceback:
  2016-03-03 02:35:17.877 | ~~~~~~~~~~~~~~~~~~~
  2016-03-03 02:35:17.877 |     Traceback (most recent call last):
  2016-03-03 02:35:17.877 |       File "tempest/api/image/v1/test_images.py", line 93, in test_register_http_image
  2016-03-03 02:35:17.877 |         copy_from=CONF.image.http_image)
  2016-03-03 02:35:17.878 |       File "tempest/api/image/base.py", line 67, in create_image
  2016-03-03 02:35:17.878 |         image = cls.client.create_image(**kwargs)
  2016-03-03 02:35:17.878 |       File "tempest/services/image/v1/json/images_client.py", line 158, in create_image
  2016-03-03 02:35:17.878 |         resp, body = self.post('v1/images', None, headers)
  2016-03-03 02:35:17.878 |       File "tempest/lib/common/rest_client.py", line 259, in post
  2016-03-03 02:35:17.878 |         return self.request('POST', url, extra_headers, headers, body)
  2016-03-03 02:35:17.879 |       File "tempest/lib/common/rest_client.py", line 642, in request
  2016-03-03 02:35:17.879 |         resp, resp_body)
  2016-03-03 02:35:17.879 |       File "tempest/lib/common/rest_client.py", line 700, in _error_checker
  2016-03-03 02:35:17.879 |         raise exceptions.BadRequest(resp_body, resp=resp)
  2016-03-03 02:35:17.879 |     tempest.lib.exceptions.BadRequest: Bad request
  2016-03-03 02:35:17.879 |     Details: 400 Bad Request
  2016-03-03 02:35:17.879 |     
  2016-03-03 02:35:17.880 |     The HTTP URL is invalid: HTTPConnectionPool(host='git.openstack.org', port=80): Max retries exceeded with url: /static/openstack.png (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 101] ENETUNREACH',))

  
  It's trying to get to this:

  http://git.openstack.org/static/openstack.png

  For whatever reason it can't. This could just be a hiccup with git.o.o
  being unavailable.  Maybe Tempest should not rely on a remote static
  image being available and just upload it's own image.

  logstash is only showing 1 hit but I know there are more since it's
  behind:

  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22Max%20retries%20exceeded%20with%20url%3A%20%2Fstatic%2Fopenstack.png%5C%22%20AND%20message%3A%5C%22Failed%20to%20establish%20a%20new%20connection%3A%20%5BErrno%20101%5D%20ENETUNREACH'%2C))%5C%22%20AND%20tags%3A%5C%22screen-g-api.txt%5C%22&from=7d

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


Follow ups