错误信息如下
[root@controller home]# curl -g -i -X POST http://controller:8774/v2/6fa9cfe746ae43b4b71bd5bd7c2ae671/servers -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a1a0a5af43b7419237afb951421e19fee1e15ddb" -d '{"server": {"name": "test", "imageRef": "7327b644-995c-4c3c-a5af-039562ed5d4e", "key_name": "admin-key", "flavorRef": "1", "max_count": 1, "min_count": 1, "networks": [{"uuid": "f8010ee8-752b-4382-b905-530e608d2269"}], "security_groups": [{"name": "default"}]}}'
HTTP/1.1 401 Unauthorized
Www-Authenticate: Keystone uri='http://controller:5000'
Content-Type: text/plain
X-Compute-Request-Id: req-ce81aa68-009e-4e80-8b9e-861dbcec766f
Content-Length: 23
Date: Thu, 26 Nov 2015 09:04:07 GMT
ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-fe470a85-6b84-47a2-a4a5-9f61d3a0e4fa)
请问解题思路是什么
|
|