HTTP/1.1 401 unauthorized

提问于 2015-08-04 00:51:48 -0500

lanceyang1992 图像

When I create magnum bay , It's status is stuck in "CREATE_IN_PROGRESS"

then I cat the “cloud-init-output”, I find this problem as followed:

!/bin/bash -v

curl -i -X POST -H 'X-Auth-Token: 4e8c9956602443088031dfcaf3da9181' -H 'Content-Type: application/json' -H 'Accept: application/json' http://9.21.58.21:8004/v1/a92f6699509b432fa48a1f7880debb2a/stacks/k8s_test-iwcdsghdw5vg/7a604437-09e4-4549-9d6c-3998294df631/resources/master_wait_handle/signal (http://9.21.58.21:8004/v1/a92f6699509...) --data-binary '{"status": "SUCCESS"}' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 44 100 23 100 21 42 38 --:--:-- --:--:-- --:--:-- 47 HTTP/1.1 401 Unauthorized Www-Authenticate: Keystone uri='http://9.21.58.21:5000/v2.0' Content-Type: text/plain X-Openstack-Request-Id: req-3f85045d-2c5f-4191-9429-aa0832cfb713 Content-Length: 23 Date: Fri, 31 Jul 2015 06:05:34 GMT

What is wrong? How can I solve it ? thanks!

edit retag flag offensive close merge delete