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

Bug #1279591 reported by Dolph Mathews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Expired
Undecided
Unassigned

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

Revision history for this message
Dolph Mathews (dolph) wrote :

This popped up in the XML variant of the test as well

.240 | ======================================================================
2014-02-25 15:50:10.240 | FAIL: setUpClass (tempest.api.compute.images.test_list_image_filters.ListImageFiltersTestXML)
2014-02-25 15:50:10.240 | setUpClass (tempest.api.compute.images.test_list_image_filters.ListImageFiltersTestXML)
2014-02-25 15:50:10.240 | ----------------------------------------------------------------------
2014-02-25 15:50:10.240 | _StringException: Traceback (most recent call last):
2014-02-25 15:50:10.240 | File "tempest/api/compute/images/test_list_image_filters.py", line 53, in setUpClass
2014-02-25 15:50:10.241 | cls.server2['id'], wait_until='ACTIVE')
2014-02-25 15:50:10.241 | File "tempest/api/compute/base.py", line 249, in create_image_from_server
2014-02-25 15:50:10.241 | kwargs['wait_until'])
2014-02-25 15:50:10.241 | File "tempest/services/compute/xml/images_client.py", line 144, in wait_for_image_status
2014-02-25 15:50:10.241 | waiters.wait_for_image_status(self, image_id, status)
2014-02-25 15:50:10.241 | File "tempest/common/waiters.py", line 105, in wait_for_image_status
2014-02-25 15:50:10.241 | resp, image = client.get_image(image_id)
2014-02-25 15:50:10.241 | File "tempest/services/compute/xml/images_client.py", line 133, in get_image
2014-02-25 15:50:10.241 | resp, body = self.get("images/%s" % str(image_id))
2014-02-25 15:50:10.241 | File "tempest/common/rest_client.py", line 202, in get
2014-02-25 15:50:10.242 | return self.request('GET', url, headers)
2014-02-25 15:50:10.242 | File "tempest/common/rest_client.py", line 374, in request
2014-02-25 15:50:10.242 | resp, resp_body)
2014-02-25 15:50:10.242 | File "tempest/common/rest_client.py", line 418, in _error_checker
2014-02-25 15:50:10.242 | raise exceptions.NotFound(resp_body)
2014-02-25 15:50:10.242 | NotFound: Object not found
2014-02-25 15:50:10.242 | Details: <itemNotFound code="404" xmlns="http://docs.openstack.org/compute/api/v1.1"><message>Image not found.</message></itemNotFound>

summary: tempest.api.compute.images.test_list_image_filters.ListImageFiltersTestJSON
+ / ListImageFiltersTestXML
Revision history for this message
Lance Bragstad (lbragstad) wrote :
Revision history for this message
Erno Kuvaja (jokke) wrote :

No activity since March, Is this still an issue?

tags: added: propose-close
Revision history for this message
Mark Washenberger (markwash) wrote :

Looks like a nova images issue, not glance.

no longer affects: glance
Revision history for this message
Masayuki Igawa (igawa) wrote :
Changed in tempest:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tempest because there has been no activity for 60 days.]

Changed in tempest:
status: Incomplete → Expired
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.