分享

openstack创建实例错误

pig2 发表于 2015-8-16 09:48:49 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 1 8959





[mw_shl_code=bash,true]38d41f79cbfbdfa1c8a7ed9/servers -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}56d0e3cb4d3097231651172f7468990e6c038ea7" -d '{"server": {"name": "demo-instance1", "imageRef": "a7e55aed-1f0a-48ad-adca-952ca56367c1", "key_name": "demo-key", "flavorRef": "1", "max_count": 1, "min_count": 1, "networks": [{"uuid": "1c50a586-726e-4641-85bb-af76f80ed211"}], "security_groups": [{"name": "default"}]}}'
DEBUG (connectionpool:362) "POST /v2/895f13a7438d41f79cbfbdfa1c8a7ed9/servers HTTP/1.1" 500 128
DEBUG (session:223) RESP:
DEBUG (shell:914) The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-65ca95ac-60c8-4a8f-9b21-08d34e0749a7)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 911, in main
    OpenStackComputeShell().main(argv)
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 838, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/dist-packages/novaclient/v2/shell.py", line 500, in do_boot
    server = cs.servers.create(*boot_args, **boot_kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 929, in create
    **boot_kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 557, in _boot
    return_raw=return_raw, **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 152, in _create
    _resp, body = self.api.client.post(url, body=body)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 170, in post
    return self.request(url, 'POST', **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 96, in request
    raise exceptions.from_response(resp, body, url, method)
ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-65ca95ac-60c8-4a8f-9b21-08d34e0749a7)
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-65ca95ac-60c8-4a8f-9b21-08d34e0749a7)[/mw_shl_code]









已有(1)人评论

跳转到指定楼层
pig2 发表于 2015-8-16 10:02:56



[mw_shl_code=bash,true]2015-08-16 09:48:19.407 2459 ERROR nova.api.openstack [req-ddb634ff-d2f1-4dbf-a250-37cab599695d 5a4c1c41a5e14cc0ae62e4fbc9c0f949 50de108d940643dc855be72ba66b5edd - - -] Caught error: Timed out waiting for a reply to message ID ac2506de73b547ea9724fbcc801af5df[/mw_shl_code]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条