[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]
|
|