[openstack-dev] [sahara] openstack Unauthorized HTTP 401 'Could not find user' when sahara call heat
taget
qiaoliyong at gmail.com
Fri Jun 3 07:55:07 UTC 2016
oh, so old of Juno, Kilo's reached EOL already.
Suggest you to add [sahara] in subject.
On 2016年06月03日 09:51, 阮鹏飞 wrote:
>
>
>
>
> Hi, Friends,
>
> I used Openstack-Juno heat, keystone and Mitaka sahara in CentOS7.
> Sahara is installed in docker container using host network.
> When sahara wants to call heat to create a hadoop cluster, the below
> error is happened.
> Could you help to check this issue? I guess, the heat couldn't create
> user in keystone. The attachment is the conf file and log file. Please
> reference them.
> Thanks for your help in advance. Hoping for your answer.
>
> 2016-05-31 11:22:45.625 41759 INFO urllib3.connectionpool [-] Starting
> new HTTP connection (1): 10.252.100.4
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource Traceback
> (most recent call last):
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource File
> "/usr/lib/python2.6/site-packages/heat/engine/resource.py", line 435,
> in _action_recorder
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource yield
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource File
> "/usr/lib/python2.6/site-packages/heat/engine/resource.py", line 505,
> in _do_action
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource yield
> self.action_handler_task(action, args=handler_args)
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource File
> "/usr/lib/python2.6/site-packages/heat/engine/scheduler.py", line 286,
> in wrapper
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource step =
> next(subtask)
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource File
> "/usr/lib/python2.6/site-packages/heat/engine/resource.py", line 476,
> in action_handler_task
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource
> handler_data = handler(*args)
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource File
> "/usr/lib/python2.6/site-packages/heat/engine/resources/wait_condition.py",
> line 143, in handle_create
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource token =
> self._user_token()
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource File
> "/usr/lib/python2.6/site-packages/heat/engine/stack_user.py", line 75,
> in _user_token
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource
> project_id=project_id, password=password)
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource File
> "/usr/lib/python2.6/site-packages/heat/common/heat_keystoneclient.py",
> line 410, in stack_domain_user_token
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource
> authenticated=False)
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource File
> "/usr/lib/python2.6/site-packages/keystoneclient/session.py", line
> 430, in post
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource return
> self.request(url, 'POST', **kwargs)
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource File
> "/usr/lib/python2.6/site-packages/keystoneclient/utils.py", line 318,
> in inner
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource return
> func(*args, **kwargs)
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource File
> "/usr/lib/python2.6/site-packages/keystoneclient/session.py", line
> 346, in request
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource raise
> exceptions.from_response(resp, method, url)
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource Unauthorized:
> Could not find user:
> haddp45018380-test-master-ajdlwfudliu2-0-hnnojqmbzkbr-test-master-wc-handle-dp4cqhkmtykr
> (Disable debug mode to suppress these details.) (HTTP 401)
> 2016-05-31 11:22:45.663 41759 TRACE heat.engine.resource
>
> Fred Ruan
>
>
>
>
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
--
Best Regards,
Eli Qiao (乔立勇), Intel OTC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160603/e589aebd/attachment.html>
More information about the OpenStack-dev
mailing list