tempest test test_create_list_show_update_delete_tags fails

Bug #1729511 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
Medium
Édouard Thuleau
R4.0
Won't Fix
Medium
Sachin Bansal
R4.1
Won't Fix
Medium
Sachin Bansal
Trunk
Won't Fix
Medium
Édouard Thuleau

Bug Description

R4.0 Buidl 35 Ubuntu 16.04.2 newton

<testcase classname="tempest.api.network.test_tags.TagsTest" name="test_create_list_show_update_delete_tags[id-ee76bfaf-ac94-4d74-9ecc-4bbd4c583cb1]" time="0.546">
<failure type="testtools.testresult.real._StringException">Traceback (most recent call last):
testtools.testresult.real._StringException: pythonlogging:'': {{{
2017-11-02 11:24:16,928 733 INFO [tempest.lib.common.rest_client] Request (TagsTest:test_create_list_show_update_delete_tags): 404 PUT http://10.204.216.58:9696/v2.0/networks/4b022166-85e9-40bd-8a77-124fda9967cc/tags/tempest-TagsTest-Tag-622117503 0.544s
2017-11-02 11:24:16,929 733 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '&lt;omitted>'}
        Body: "{}"
    Response - Headers: {'status': '404', u'content-length': '152', 'content-location': 'http://10.204.216.58:9696/v2.0/networks/4b022166-85e9-40bd-8a77-124fda9967cc/tags/tempest-TagsTest-Tag-622117503', u'date': 'Thu, 02 Nov 2017 05:54:16 GMT', u'content-type': 'application/json', u'connection': 'close', u'x-openstack-request-id': 'req-5db7d7b1-5aff-4098-98f7-c8a5b9f1bafb'}
        Body: {"NeutronError": {"message": "Resource networks 4b022166-85e9-40bd-8a77-124fda9967cc could not be found.", "type": "TagResourceNotFound", "detail": ""}}
}}}

Traceback (most recent call last):
  File "/tempest/tempest/api/network/test_tags.py", line 56, in test_create_list_show_update_delete_tags
    self.tags_client.create_tag('networks', self.network['id'], tag_name)
  File "/tempest/tempest/lib/services/network/tags_client.py", line 33, in create_tag
    expect_empty_body=True)
  File "/tempest/tempest/lib/services/network/base.py", line 76, in update_resource
    resp, body = self.put(req_uri, req_post_data)
  File "/tempest/tempest/lib/common/rest_client.py", line 334, in put
    return self.request('PUT', url, extra_headers, headers, body, chunked)
  File "/tempest/tempest/lib/common/rest_client.py", line 659, in request
    self._error_checker(resp, resp_body)
  File "/tempest/tempest/lib/common/rest_client.py", line 765, in _error_checker
    raise exceptions.NotFound(resp_body, resp=resp)
tempest.lib.exceptions.NotFound: Object not found
Details: {u'message': u'Resource networks 4b022166-85e9-40bd-8a77-124fda9967cc could not be found.', u'type': u'TagResourceNotFound', u'detail': u''}

</failure>

Tags: tempest
Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

root@nodec1:~# neutron ext-list | grep -i tag
| tag | Tag support |
root@nodec1:~#

Revision history for this message
Édouard Thuleau (ethuleau) wrote :

This Neutron extension https://docs.openstack.org/neutron/latest/contributor/internals/tag.html is not supported by the contrail Neutron plugin. Is it a feature request?

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.