[Openstack] [openstack-dev] baremetal nova boot issue

Joe Gordon joe.gordon0 at gmail.com
Sat Oct 12 00:30:14 UTC 2013


On Fri, Oct 11, 2013 at 5:17 PM, Ravikanth Samprathi <rsamprat at gmail.com>wrote:

> Thanks Joe.
>
> 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?
>
> The nova-api.log is here:
> ======================
> 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
> 3746 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack Traceback (most
> recent call last):
> 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__
> 3748 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return
> req.get_response(self.application)
> 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
> 3750 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack
> application, catch_exc_info=False)
> 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
> 3752 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     app_iter =
> application(self.environ, start_response)
> 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__
> 3754 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return
> resp(environ, start_response)
> 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__
> 3756 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return
> self.app(env, start_response)
> 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__
> 3758 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return
> resp(environ, start_response)
> 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__
> 3760 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return
> resp(environ, start_response)
> 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__
> 3762 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return
> resp(environ, start_response)
> 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__
> 3764 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     response =
> self.app(environ, start_response)
> 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__
> 3766 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return
> resp(environ, start_response)
> 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__
> 3768 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     resp =
> self.call_func(req, *args, **self.kwargs)
> 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
> 3770 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return
> self.func(req, *args, **kwargs)
> 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__
> 3772 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack
> content_type, body, accept)
> 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
> 3774 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     request,
> action_args)
> 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
> 3776 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack
> **action_args)
> 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
> 3778 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     return
> self._show(req, resp_obj)
> 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
> 3780 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack
> self._extend_servers(req, [resp_obj.obj['server']])
> 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
> 3782 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack
> .get_instances_security_groups_bindings(context))
> 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
> 3784 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     ports =
> quantum.list_ports().get('ports')
> 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
> 3786 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     ret =
> self.function(instance, *args, **kwargs)
> 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
> 3788 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     **_params)
> 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
> 3790 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     for r in
> self._pagination(collection, path, **params):
> 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
> 3792 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack     res =
> self.get(path, params=params)
> 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
> 3794 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack
> headers=headers, params=params)
> 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
> 3796 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack
> headers=headers, params=params)
> 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
> 3798 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack
> self._handle_fault_response(status_code, replybody)
> 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
> 3800 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack
> exception_handler_v20(status_code, des_error_body)
> 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
> 3802 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack
> message=message)
> 3803 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack
> QuantumClientException: [Errno 111] ECONNREFUSED
> 3804 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack
> 3805 2013-10-11 16:43:43.519 INFO nova.api.openstack
> [req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41 251bd0a9388a477b9c24c99b223e
> 7b2a 8a34123d83824f3ea52527c5a28ad81e]
> http://10.40.0.99:8774/v2/8a34123d83824f3ea52527c5a28ad81e/servers/36e71635-5f7
> 3-4895-87a9-6f1082e8cb6a returned with HTTP 500
> 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
> 3807
>
>
It looks like you were unable to connect to quantum.



> Thank you very much for your help.
> Ravi
>
>
>

>
> On Fri, Oct 11, 2013 at 5:04 PM, Joe Gordon <joe.gordon0 at gmail.com> wrote:
>
>>
>>
>>
>> On Fri, Oct 11, 2013 at 4:44 PM, Ravikanth Samprathi <rsamprat at gmail.com>wrote:
>>
>>> Hi
>>> I am trying to issue the boot command to provision baremetal server.
>>> But i see the following error:
>>>
>>> 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?
>>>
>>> command:
>>> =============
>>> root at os:/home/versa# nova boot --flavor 6 --image
>>> 39f4fd3b-15cc-4810-a808-e2c4764ba657 bm
>>> ERROR: The server has either erred or is incapable of performing the
>>> requested operation. (HTTP 500) (Request-ID:
>>> req-c463e02b-7c35-448e-b0a7-97d1c02c6088)
>>>
>>> The log is here:
>>> ==============
>>>
>>> BATBcMFcxCzAJBgNVBAYTAlVTMQ4wDAYDVQQIEwVVbnNldDEOMAwGA1UEBxMFVW5zZXQxDjAMBgNVBAoTBVVuc2V0MRgwFgYDVQQDEw93d3cuZXhhbXBsZS5jb20CAQEwBwYFKw4DAhowDQYJKoZIhvcNAQEBBQAEgYCEx607Bw1UBm9A87zNIcwDj5VsPwOrLmlq2EG3uWRfyjNoqSZo0jnK-VskJ29hAq1lPZsqe5bnhacWuUUr0nW+aAe-39pcGg9+lXPMOFQEjtRYdwUzhwMz05qm1yWjrdzXl0Hofv7ncdggF8SZbyBG0O68CRwzXRFXeSpGDrHeFw=="
>>>
>>> INFO (connectionpool:191) Starting new HTTP connection (1): 10.40.0.99
>>> DEBUG (connectionpool:283) "GET
>>> /v2/8a34123d83824f3ea52527c5a28ad81e/servers/36e71635-5f73-4895-87a9-6f1082e8cb6a
>>> HTTP/1.1" 500 128
>>> 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'}
>>> RESP BODY: {"computeFault": {"message": "The server has either erred or
>>> is incapable of performing the requested operation.", "code": 500}}
>>>
>>> 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)
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 765,
>>> in main
>>>     OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))
>>>   File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 701,
>>> in main
>>>     args.func(self.cs, args)
>>>   File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line
>>> 286, in do_boot
>>>     server = cs.servers.get(info['id'])
>>>   File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py",
>>> line 350, in get
>>>     return self._get("/servers/%s" % base.getid(server), "server")
>>>   File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 140,
>>> in _get
>>>     _resp, body = self.api.client.get(url)
>>>   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line
>>> 230, in get
>>>     return self._cs_request(url, 'GET', **kwargs)
>>>   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line
>>> 217, in _cs_request
>>>     **kwargs)
>>>   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line
>>> 199, in _time_request
>>>     resp, body = self.request(url, method, **kwargs)
>>>   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line
>>> 193, 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-2fff698c-ddf2-47f1-ae82-47fb0dc67d41)
>>> ERROR: The server has either erred or is incapable of performing the
>>> requested operation. (HTTP 500) (Request-ID:
>>> req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41)
>>>
>>>
>> 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.
>>
>>
>>> Appreciate any  help.
>>> Thanks
>>> Ravi
>>>
>>>
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131011/2fa758bb/attachment.html>


More information about the Openstack mailing list