gate-novaclient-dsvm-functional is broken trying to create keystone tenant

Bug #1568526 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
New
Undecided
Unassigned

Bug Description

This started showing up around 4/9, I thought it was just my change but it's not, this is also in a test run:

http://logs.openstack.org/87/303787/1/check/gate-novaclient-dsvm-functional/11e0b0a/console.html#_2016-04-10_02_25_16_376

2016-04-10 02:24:43.714 | 2016-04-10 02:24:43.674 | Traceback (most recent call last):
2016-04-10 02:24:43.716 | 2016-04-10 02:24:43.676 | File "novaclient/tests/functional/base.py", line 364, in setUp
2016-04-10 02:24:43.718 | 2016-04-10 02:24:43.678 | self.name_generate('v' + self.COMPUTE_API_VERSION))
2016-04-10 02:24:43.720 | 2016-04-10 02:24:43.680 | File "/opt/stack/new/python-novaclient/.tox/functional/local/lib/python2.7/site-packages/keystoneclient/v2_0/tenants.py", line 96, in create
2016-04-10 02:24:43.722 | 2016-04-10 02:24:43.682 | return self._post('/tenants', params, "tenant")
2016-04-10 02:24:43.723 | 2016-04-10 02:24:43.683 | File "/opt/stack/new/python-novaclient/.tox/functional/local/lib/python2.7/site-packages/keystoneclient/base.py", line 171, in _post
2016-04-10 02:24:43.725 | 2016-04-10 02:24:43.685 | resp, body = self.client.post(url, body=body, **kwargs)
2016-04-10 02:24:43.726 | 2016-04-10 02:24:43.686 | File "/opt/stack/new/python-novaclient/.tox/functional/local/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 179, in post
2016-04-10 02:24:43.728 | 2016-04-10 02:24:43.688 | return self.request(url, 'POST', **kwargs)
2016-04-10 02:25:16.342 | 2016-04-10 02:25:16.303 | File "/opt/stack/new/python-novaclient/.tox/functional/local/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 330, in request
2016-04-10 02:25:16.343 | 2016-04-10 02:25:16.304 | resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
2016-04-10 02:25:16.345 | 2016-04-10 02:25:16.306 | File "/opt/stack/new/python-novaclient/.tox/functional/local/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 98, in request
2016-04-10 02:25:16.346 | 2016-04-10 02:25:16.308 | return self.session.request(url, method, **kwargs)
2016-04-10 02:25:16.349 | 2016-04-10 02:25:16.310 | File "/opt/stack/new/python-novaclient/.tox/functional/local/lib/python2.7/site-packages/positional/__init__.py", line 94, in inner
2016-04-10 02:25:16.351 | 2016-04-10 02:25:16.312 | return func(*args, **kwargs)
2016-04-10 02:25:16.376 | 2016-04-10 02:25:16.313 | File "/opt/stack/new/python-novaclient/.tox/functional/local/lib/python2.7/site-packages/keystoneclient/session.py", line 420, in request
2016-04-10 02:25:16.376 | 2016-04-10 02:25:16.316 | raise exceptions.from_response(resp, method, url)
2016-04-10 02:25:16.376 | 2016-04-10 02:25:16.317 | keystoneauth1.exceptions.http.NotFound: The resource could not be found. (HTTP 404)

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22keystoneauth1.exceptions.http.NotFound%3A%20The%20resource%20could%20not%20be%20found.%20(HTTP%20404)%5C%22%20AND%20build_name%3A%5C%22gate-novaclient-dsvm-functional%5C%22%20AND%20tags%3A%5C%22console%5C%22&from=7d

Revision history for this message
melanie witt (melwitt) wrote :

I think this might have to do with whether we contact the keystone v2 or v3 API. The v2 API has a "/tenants" resource [1] but for v3 API it's "/projects" [2].

[1] http://developer.openstack.org/api-ref-identity-v2-ext.html#createTenant
[2] http://developer.openstack.org/api-ref-identity-v3.html#createProject

Revision history for this message
melanie witt (melwitt) wrote :

This was probably fixed by https://review.openstack.org/#/c/304074/

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.