← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1279591] Re: tempest.api.compute.images.test_list_image_filters.ListImageFiltersTestJSON / ListImageFiltersTestXML

 

Looks like a nova images issue, not glance.

** No longer affects: glance

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

Title:
  tempest.api.compute.images.test_list_image_filters.ListImageFiltersTestJSON
  / ListImageFiltersTestXML

Status in Tempest:
  New

Bug description:
  It seems that something is happening out of order here - there's a GET
  for a resource which raises a traceback, and then there's a PUT to the
  same resource?

  2014-02-12 22:11:29.795 | FAIL: setUpClass (tempest.api.compute.images.test_list_image_filters.ListImageFiltersTestJSON)
  2014-02-12 22:11:29.795 | setUpClass (tempest.api.compute.images.test_list_image_filters.ListImageFiltersTestJSON)
  2014-02-12 22:11:29.795 | ----------------------------------------------------------------------
  2014-02-12 22:11:29.795 | _StringException: Traceback (most recent call last):
  2014-02-12 22:11:29.795 |   File "tempest/api/compute/images/test_list_image_filters.py", line 60, in setUpClass
  2014-02-12 22:11:29.795 |     cls.server1['id'], wait_until='ACTIVE')
  2014-02-12 22:11:29.795 |   File "tempest/api/compute/base.py", line 219, in create_image_from_server
  2014-02-12 22:11:29.795 |     kwargs['wait_until'])
  2014-02-12 22:11:29.795 |   File "tempest/services/compute/json/images_client.py", line 85, in wait_for_image_status
  2014-02-12 22:11:29.795 |     waiters.wait_for_image_status(self, image_id, status)
  2014-02-12 22:11:29.796 |   File "tempest/common/waiters.py", line 105, in wait_for_image_status
  2014-02-12 22:11:29.796 |     resp, image = client.get_image(image_id)
  2014-02-12 22:11:29.796 |   File "tempest/services/compute/json/images_client.py", line 74, in get_image
  2014-02-12 22:11:29.796 |     resp, body = self.get("images/%s" % str(image_id))
  2014-02-12 22:11:29.796 |   File "tempest/common/rest_client.py", line 187, in get
  2014-02-12 22:11:29.796 |     return self.request('GET', url, headers)
  2014-02-12 22:11:29.796 |   File "tempest/common/rest_client.py", line 360, in request
  2014-02-12 22:11:29.796 |     resp, resp_body)
  2014-02-12 22:11:29.796 |   File "tempest/common/rest_client.py", line 404, in _error_checker
  2014-02-12 22:11:29.796 |     raise exceptions.NotFound(resp_body)
  2014-02-12 22:11:29.796 | NotFound: Object not found
  2014-02-12 22:11:29.796 | Details: {"itemNotFound": {"message": "Image not found.", "code": 404}}

  2014-02-12 22:11:33.271 | Log File: g-api
  2014-02-12 22:11:33.271 | 2014-02-12 21:34:29.646 27592 ERROR swiftclient [-] Container HEAD failed: http://127.0.0.1:8080/v1/AUTH_1e3775b302654e22a9de70d102849a1c/glance 404 Not Found

  2014-02-12 21:34:29.646 27592 ERROR swiftclient [-] Container HEAD failed: http://127.0.0.1:8080/v1/AUTH_1e3775b302654e22a9de70d102849a1c/glance 404 Not Found
  2014-02-12 21:34:29.646 27592 TRACE swiftclient Traceback (most recent call last):
  2014-02-12 21:34:29.646 27592 TRACE swiftclient   File "/opt/stack/new/python-swiftclient/swiftclient/client.py", line 1163, in _retry
  2014-02-12 21:34:29.646 27592 TRACE swiftclient     rv = func(self.url, self.token, *args, **kwargs)
  2014-02-12 21:34:29.646 27592 TRACE swiftclient   File "/opt/stack/new/python-swiftclient/swiftclient/client.py", line 595, in head_container
  2014-02-12 21:34:29.646 27592 TRACE swiftclient     http_response_content=body)
  2014-02-12 21:34:29.646 27592 TRACE swiftclient ClientException: Container HEAD failed: http://127.0.0.1:8080/v1/AUTH_1e3775b302654e22a9de70d102849a1c/glance 404 Not Found
  2014-02-12 21:34:29.646 27592 TRACE swiftclient 
  2014-02-12 21:34:29.694 27592 DEBUG swiftclient [-] REQ: curl -i http://127.0.0.1:8080/v1/AUTH_1e3775b302654e22a9de70d102849a1c/glance -X PUT -H "Content-Length: 0" -H "X-Auth-Token: <truncated>" http_log /opt/stack/new/python-swiftclient/swiftclient/client.py:81
  2014-02-12 21:34:29.694 27592 DEBUG swiftclient [-] RESP STATUS: 201 Created http_log /opt/stack/new/python-swiftclient/swiftclient/client.py:82
  2014-02-12 21:34:29.694 27592 DEBUG swiftclient [-] RESP HEADERS: [('date', 'Wed, 12 Feb 2014 21:34:29 GMT'), ('content-length', '0'), ('content-type', 'text/html; charset=UTF-8'), ('x-trans-id', 'tx3850b1a3b3dd47e0b1c7a-0052fbe8e5')] http_log /opt/stack/new/python-swiftclient/swiftclient/client.py:83
  2014-02-12 21:34:29.695 27592 DEBUG glance.store.swift [8e537c74-8b08-464e-8e3a-0b969925ff54 dcb52aaef4a447ef8a1fd3b766e094ee a6671cc823d6400e8b3f8fff093c70ee] Adding image object '7f7f1185-ad82-4412-a314-f501b41067b5' to Swift add /opt/stack/new/glance/glance/store/swift.py:392
  2014-02-12 21:34:29.786 27592 DEBUG swiftclient [-] REQ: curl -i http://127.0.0.1:8080/v1/AUTH_1e3775b302654e22a9de70d102849a1c/glance/7f7f1185-ad82-4412-a314-f501b41067b5 -X PUT -H "X-Auth-Token: <truncated>" http_log /opt/stack/new/python-swiftclient/swiftclient/client.py:81
  2014-02-12 21:34:29.786 27592 DEBUG swiftclient [-] RESP STATUS: 201 Created http_log /opt/stack/new/python-swiftclient/swiftclient/client.py:82
  2014-02-12 21:34:29.786 27592 DEBUG swiftclient [-] RESP HEADERS: [('content-length', '0'), ('last-modified', 'Wed, 12 Feb 2014 21:34:30 GMT'), ('etag', 'c352f4e7121c6eae958bc1570324f17e'), ('x-trans-id', 'txb0824eda91274cfe84e06-0052fbe8e5'), ('date', 'Wed, 12 Feb 2014 21:34:29 GMT'), ('content-type', 'text/html; charset=UTF-8')] http_log /opt/stack/new/python-swiftclient/swiftclient/client.py:83

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


References