<div dir="ltr"><div>Thanks Joe.<br><br>Also may i please request the info about which kernel and ramdisk image to load and how to get baremetal agent loaded into the baremetal server?<br><br>The nova-api.log is here:<br>======================<br>
2013-10-11 16:43:43.514 ERROR nova.api.openstack [req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41 251bd0a9388a477b9c24c99b223     e7b2a 8a34123d83824f3ea52527c5a28ad81e] Caught error: [Errno 111] ECONNREFUSED<br>3746 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack Traceback (most recent call last):<br>
3747 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__in     it__.py", line 81, in __call__<br>3748 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return req.get_response(self.application)<br>
3749 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line      1296, in send<br>3750 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     application, catch_exc_info=False)<br>
3751 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line      1260, in call_application<br>3752 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)<br>
3753 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144     , in __call__<br>3754 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return resp(environ, start_response)<br>
3755 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/keystoneclient/middlewa     re/auth_token.py", line 450, in __call__<br>3756 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return self.app(env, start_response)<br>
3757 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144     , in __call__<br>3758 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return resp(environ, start_response)<br>
3759 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144     , in __call__<br>3760 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return resp(environ, start_response)<br>
3761 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144     , in __call__<br>3762 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return resp(environ, start_response)<br>
3763 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/routes/middleware.py",      line 131, in __call__<br>3764 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     response = self.app(environ, start_response)<br>
3765 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144     , in __call__<br>3766 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return resp(environ, start_response)<br>
3767 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130     , in __call__<br>3768 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)<br>
3769 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195     , in call_func<br>3770 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)<br>
3771 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi     .py", line 890, in __call__<br>3772 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     content_type, body, accept)<br>
3773 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi     .py", line 969, in _process_stack<br>3774 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     request, action_args)<br>
3775 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi     .py", line 863, in post_process_extensions<br>3776 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     **action_args)<br>
3777 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/comp     ute/contrib/security_groups.py", line 526, in show<br>3778 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return self._show(req, resp_obj)<br>
3779 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/comp     ute/contrib/security_groups.py", line 522, in _show<br>3780 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     self._extend_servers(req, [resp_obj.obj['server']])<br>
3781 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/comp     ute/contrib/security_groups.py", line 487, in _extend_servers<br>3782 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     .get_instances_security_groups_bindings(context))<br>
3783 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/security_g     roup/quantum_driver.py", line 252, in get_instances_security_groups_bindings<br>3784 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     ports = quantum.list_ports().get('ports')<br>
3785 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie     nt.py", line 107, in with_params<br>3786 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     ret = self.function(instance, *args, **kwargs)<br>
3787 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie     nt.py", line 255, in list_ports<br>3788 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     **_params)<br>
3789 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie     nt.py", line 996, in list<br>3790 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     for r in self._pagination(collection, path, **params):<br>
3791 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie     nt.py", line 1009, in _pagination<br>3792 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     res = self.get(path, params=params)<br>
3793 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie     nt.py", line 982, in get<br>3794 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     headers=headers, params=params)<br>
3795 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie     nt.py", line 967, in retry_request<br>3796 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     headers=headers, params=params)<br>
3797 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie     nt.py", line 912, in do_request<br>3798 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     self._handle_fault_response(status_code, replybody)<br>
3799 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie     nt.py", line 893, in _handle_fault_response<br>3800 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     exception_handler_v20(status_code, des_error_body)<br>
3801 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie     nt.py", line 87, in exception_handler_v20<br>3802 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     message=message)<br>
3803 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack QuantumClientException: [Errno 111] ECONNREFUSED<br>3804 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack<br>3805 2013-10-11 16:43:43.519 INFO nova.api.openstack [req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41 251bd0a9388a477b9c24c99b223e     7b2a 8a34123d83824f3ea52527c5a28ad81e] <a href="http://10.40.0.99:8774/v2/8a34123d83824f3ea52527c5a28ad81e/servers/36e71635-5f7">http://10.40.0.99:8774/v2/8a34123d83824f3ea52527c5a28ad81e/servers/36e71635-5f7</a>     3-4895-87a9-6f1082e8cb6a returned with HTTP 500<br>
3806 2013-10-11 16:43:43.530 INFO nova.osapi_compute.wsgi.server [req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41 251bd0a9388a477b     9c24c99b223e7b2a 8a34123d83824f3ea52527c5a28ad81e] 10.40.0.99 "GET /v2/8a34123d83824f3ea52527c5a28ad81e/servers/36e716     35-5f73-4895-87a9-6f1082e8cb6a HTTP/1.1" status: 500 len: 335 time: 0.1915259<br>
3807 <br><br></div>Thank you very much for your help.<br>Ravi<br><br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 11, 2013 at 5:04 PM, Joe Gordon <span dir="ltr"><<a href="mailto:joe.gordon0@gmail.com" target="_blank">joe.gordon0@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Fri, Oct 11, 2013 at 4:44 PM, Ravikanth Samprathi <span dir="ltr"><<a href="mailto:rsamprat@gmail.com" target="_blank">rsamprat@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>Hi<br>I am trying to issue the boot command to provision baremetal server.  But i see the following error:<br>


<br>Also, where can i get the bootstrap kernel and ramdisk images to boot into the baremetal?  And how to get the baremetal agent installed in the baremetal node?<br>
<br>command:<br>=============<br>root@os:/home/versa# nova boot --flavor 6 --image 39f4fd3b-15cc-4810-a808-e2c4764ba657 bm<br>ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-c463e02b-7c35-448e-b0a7-97d1c02c6088)<br>



<br></div>The log is here:<br>==============<br>BATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIEwVVbnNldDEOMAwGA1UEBxMFVW5zZXQxDjAMBgNVBAoTBVVuc2V0MRgwFgYDVQQDEw93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYCEx607Bw1UBm9A87zNIcwDj5VsPwOrLmlq2EG3uWRfyjNoqSZo0jnK-VskJ29hAq1lPZsqe5bnhacWuUUr0nW+aAe-39pcGg9+lXPMOFQEjtRYdwUzhwMz05qm1yWjrdzXl0Hofv7ncdggF8SZbyBG0O68CRwzXRFXeSpGDrHeFw=="<br>



<br>INFO (connectionpool:191) Starting new HTTP connection (1): 10.40.0.99<br>DEBUG (connectionpool:283) "GET /v2/8a34123d83824f3ea52527c5a28ad81e/servers/36e71635-5f73-4895-87a9-6f1082e8cb6a HTTP/1.1" 500 128<br>



RESP: [500] {'date': 'Fri, 11 Oct 2013 23:43:43 GMT', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41'}<br>



RESP BODY: {"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}<br><br>DEBUG (shell:768) The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41)<br>



Traceback (most recent call last):<br>  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 765, in main<br>    OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))<br>  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 701, in main<br>



    args.func(self.cs, args)<br>  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 286, in do_boot<br>    server = cs.servers.get(info['id'])<br>  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 350, in get<br>



    return self._get("/servers/%s" % base.getid(server), "server")<br>  File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 140, in _get<br>    _resp, body = self.api.client.get(url)<br>



  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 230, in get<br>    return self._cs_request(url, 'GET', **kwargs)<br>  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 217, in _cs_request<br>



    **kwargs)<br>  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 199, in _time_request<br>    resp, body = self.request(url, method, **kwargs)<br>  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 193, in request<br>



    raise exceptions.from_response(resp, body, url, method)<br>ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41)<br>



ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41)<br><br></div></div></blockquote><div><br></div></div></div><div>
This is the novaclient log, what does the server say? You can search nova-api.log for  req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41 to see.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><div dir="ltr"><div></div>Appreciate any  help.<br>


Thanks<br>Ravi<br><br></div>
<br></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>