Ask Your Question
0

Unable to create cluster in Sahara

asked 2017-06-26 03:18:40 -0500

Rod gravatar image

I launch a vanilla Sahara cluster on DevStack, but when I launch it I get the following error:

Creating cluster failed for the following reason(s): ERROR: 'RequestContext' object has no attribute 'global_request_id', ERROR: 'RequestContext' object has no attribute 'global_request_id'

In the sahara-eng.log I got the following messages:

2017-06-26 11:09:43.649 DEBUG kazoo.client [ESC[00;36m-] ESC[01;35mReceived response(xid=587): ('', ZnodeStat(czxid=2, mzxid=2, ctime=1498388807531, mtime=1498388807531, version=0, cversion=1, aversion=0, ephemeralOwner=0, dataLength=0, numChildren=1, pzxid=5))ESC[00m ESC[00;33mfrom (pid=21012) _read_response /usr/local/lib/python2.7/dist-packages/kazoo/protocol/connection.py:370ESC[00m 2017-06-26 11:09:44.071 DEBUG keystoneauth.session [ESC[01;36mreq-eb35affe-edec-4d44-bf58-24fcb4258f11 ESC[00;36mdemo sahara] ESC[01;35m[instance: none, cluster: 699b8271-2862-4f64-9353-ae8cb8e002e0] RESP : [400] Date: Mon, 26 Jun 2017 08:09:42 GMT Server: Apache/2.4.18 (Ubuntu) x-openstack-request-id: req-3cdd4ad2-7148-473d-a00e-9632cbd74d17 Content-Length: 5802 Connection: close Content-Type: application /json; charset=UTF-8 RESP BODY: {"explanation": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "code": 400, "error": {"message": "'RequestContext' object has no attribute 'global_request_id'", "traceback": "Traceback (most recent call last):\n File \"/opt/stack/heat/heat/api/middleware/fault.py\", line 163, in process_request\n
return req.get_response(self.application)\n File \"/usr/local/lib/python2.7/dist-packages/webob/request.py\", line 1299, in send\n application, catch_exc_info=False)\n File \"/usr/local/lib/python2.7/dist-packages/webob/request.py\", line 1263, in call_application\n
app_iter = application(self.environ, start_response)\n File \"/usr/local/lib/python2.7/dist-packages/webob/dec.py\", line 130, in __call__\n resp = self.call_func(req, args, *self.kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/webob/dec.py\", line 195, in call_func\n return self.func(req, args, *kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/oslo_middleware/base.py\", line 126, in __call__\n response = req.get_response(self.application)\n File \"/usr/local/lib/python2.7/dist-packages/webob/request.py\", line 1299, in send\n application, catch_exc_info=False)\n File \"/usr/local/lib/python2.7/dist-packages/webob/request.py\", line 1263, in call_application\n
app_iter = application(self.environ, start_response)\n File \"/usr/local/lib/python2.7/dist-packages/webob/dec.py\", line 130, in __call__\n resp = self.call_func(req, args, *self.kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/webob/dec.py\", line 195, in call_func\n return self.func(req, args, *kwargs)\n File \"/opt/stack/heat/heat/common/wsgi.py\", line 578, in __call__\n response = req.get_response(self.application)\n File \"/usr/local/lib/python2.7/dist-packages/webob/request.py\", line 1299, in send\n application, catch_exc_info=False)\n File \"/usr/local/lib/python2.7/dist-packages/webob/request.py\", line 1263, in call_application\n
app_iter = application(self.environ, start_response)\n File \"/usr/local/lib/python2.7/dist-packages/webob/dec.py\", line 130, in __call__\n resp = self.call_func(req, args, *self.kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/webob/dec.py\", line 195 ...

(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-08-22 09:07:06 -0500

I hope that you solved it in the meantime, but It looks like something in a lower level of the stack than Sahara. Does Heat work? Please try some (mildly) complex Heat template which creates instances.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-06-26 03:18:40 -0500

Seen: 81 times

Last updated: Aug 22 '17