[Openstack] [Nova] baremetal-node-create failed

严超 yanchao727 at gmail.com
Fri Jun 13 03:26:45 UTC 2014


Hi, All :
        In tripleO project, it uses the following script to test "
*baremetal-node-create*" :
        *nova --debug baremetal-node-create devtest_canary 1 1 1
11:22:33:44:55:66*
        But it failed, how can I fix this:

DEBUG (shell:777) The server has either erred or is incapable of performing
the requested operation. (HTTP 500) (Request-ID:
req-7bc5c148-2b81-4c6e-b1ba-8d4524cc9f13)
Traceback (most recent call last):
  File
"/home/chaoya/tripleo/tripleo-incubator/openstack-tools/local/lib/python2.7/site-packages/novaclient/shell.py",
line 774, in main
    OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))
  File
"/home/chaoya/tripleo/tripleo-incubator/openstack-tools/local/lib/python2.7/site-packages/novaclient/shell.py",
line 710, in main
    args.func(self.cs, args)
  File
"/home/chaoya/tripleo/tripleo-incubator/openstack-tools/local/lib/python2.7/site-packages/novaclient/v1_1/contrib/baremetal.py",
line 191, in do_baremetal_node_create
    terminal_port=args.terminal_port)
  File
"/home/chaoya/tripleo/tripleo-incubator/openstack-tools/local/lib/python2.7/site-packages/novaclient/v1_1/contrib/baremetal.py",
line 82, in create
    return self._create('/os-baremetal-nodes', body, 'node')
  File
"/home/chaoya/tripleo/tripleo-incubator/openstack-tools/local/lib/python2.7/site-packages/novaclient/base.py",
line 152, in _create
    _resp, body = self.api.client.post(url, body=body)
  File
"/home/chaoya/tripleo/tripleo-incubator/openstack-tools/local/lib/python2.7/site-packages/novaclient/client.py",
line 286, in post
    return self._cs_request(url, 'POST', **kwargs)
  File
"/home/chaoya/tripleo/tripleo-incubator/openstack-tools/local/lib/python2.7/site-packages/novaclient/client.py",
line 260, in _cs_request
    **kwargs)
  File
"/home/chaoya/tripleo/tripleo-incubator/openstack-tools/local/lib/python2.7/site-packages/novaclient/client.py",
line 242, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File
"/home/chaoya/tripleo/tripleo-incubator/openstack-tools/local/lib/python2.7/site-packages/novaclient/client.py",
line 236, 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-7bc5c148-2b81-4c6e-b1ba-8d4524cc9f13)
ERROR: The server has either erred or is incapable of performing the
requested operation. (HTTP 500) (Request-ID:
req-7bc5c148-2b81-4c6e-b1ba-8d4524cc9f13)


*Best Regards!*


*Chao Yan--------------**My twitter:Andy Yan @yanchao727
<https://twitter.com/yanchao727>*


*My Weibo:http://weibo.com/herewearenow
<http://weibo.com/herewearenow>--------------*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140613/bfce17ce/attachment.html>


More information about the Openstack mailing list