<div dir="ltr"><div><div><div>Hi Rob<br>The steps are well known, the devil is in the details. Following the instructions in the wiki was not very straightforward, and led to many issues down the line. <br>Now which images are deploy ramdisk and kernel? <br>
How is the nova agent downloaded to the baremetal node, in which step and how? <br></div>What does ''nova boot'' do? <br></div>I see that using any of the diskbuilder built images (ramdisk kernel) is not booting up the system. <br>
</div>Would be great if steps are explained more clearly as to which step does what.<br>Thanks<br>Ravi<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Oct 12, 2013 at 8:49 PM, Robert Collins <span dir="ltr"><<a href="mailto:robertc@robertcollins.net" target="_blank">robertc@robertcollins.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have you read the docs about nova baremetal ? The questions you're<br>
asking - about bootstrapping and about a baremetal agent - don't make<br>
any sense to me ;)<br>
<br>
These are the needed steps:<br>
- install openstack<br>
- build a deploy ramdisk and kernel<br>
- put them in glance<br>
- configure nova baremetal as your driver<br>
- configure a flavor with the deploy ramdisk and kernel<br>
- install tftpd pointing at /tftproot<br>
- register machines<br>
- add your own image to glance (must be a partition image with<br>
separate kernel and ramdisk, not a whole disk image)<br>
<br>
nova boot, done.<br>
<br>
-Rob<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 12 October 2013 13:58, Ravikanth Samprathi <<a href="mailto:rsamprat@gmail.com">rsamprat@gmail.com</a>> wrote:<br>
> I fixed the quantum issue. Now i am able to successfully do 'nova boot':<br>
><br>
> root@os:/etc/init.d# nova boot --flavor 9 --image<br>
> 278f9721-1354-4c04-9798-65835398e027 mybmnode<br>
> +-------------------------------------+--------------------------------------+<br>
> | Property | Value<br>
> |<br>
> +-------------------------------------+--------------------------------------+<br>
> | status | BUILD<br>
> |<br>
> | updated | 2013-10-12T00:56:28Z<br>
> |<br>
> | OS-EXT-STS:task_state | scheduling<br>
> |<br>
> | OS-EXT-SRV-ATTR:host | None<br>
> |<br>
> | key_name | None<br>
> |<br>
> | image | my-image<br>
> |<br>
> | hostId |<br>
> |<br>
> | OS-EXT-STS:vm_state | building<br>
> |<br>
> | OS-EXT-SRV-ATTR:instance_name | instance-00000020<br>
> |<br>
> | OS-EXT-SRV-ATTR:hypervisor_hostname | None<br>
> |<br>
> | flavor | my-baremetal-flavor<br>
> |<br>
> | id | beeb7ffd-ed81-44e0-91ae-62435442769a<br>
> |<br>
> | security_groups | [{u'name': u'default'}]<br>
> |<br>
> | user_id | 251bd0a9388a477b9c24c99b223e7b2a<br>
> |<br>
> | name | mybmnode<br>
> |<br>
> | adminPass | xWurDrbi5E8X<br>
> |<br>
> | tenant_id | 8a34123d83824f3ea52527c5a28ad81e<br>
> |<br>
> | created | 2013-10-12T00:56:28Z<br>
> |<br>
> | OS-DCF:diskConfig | MANUAL<br>
> |<br>
> | metadata | {}<br>
> |<br>
> | accessIPv4 |<br>
> |<br>
> | accessIPv6 |<br>
> |<br>
> | progress | 0<br>
> |<br>
> | OS-EXT-STS:power_state | 0<br>
> |<br>
> | OS-EXT-AZ:availability_zone | nova<br>
> |<br>
> | config_drive |<br>
> |<br>
> +-------------------------------------+--------------------------------------+<br>
> root@os:/etc/init.d#<br>
><br>
><br>
> Can you please help me on how to go from here: I think all the provisioning<br>
> listed in the baremetal wiki i could do them successfully.<br>
><br>
> How to now load the images on the baremetal server (bootstrap) and then load<br>
> my own image on the baremetal server?<br>
><br>
> Thanks<br>
> Ravi<br>
><br>
><br>
><br>
> On Fri, Oct 11, 2013 at 5:41 PM, Ravikanth Samprathi <<a href="mailto:rsamprat@gmail.com">rsamprat@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi Joe<br>
>> Thanks, i fixed that, now i see this issue. I have always got<br>
>> confused/wondered about this, which credentials should i use? Can you<br>
>> please help?<br>
>><br>
>> nova-api.log:<br>
>> ==========<br>
>> 14 2013-10-11 17:35:44.806 4034 INFO nova.osapi_compute.wsgi.server [-]<br>
>> (4034) accepted ('10.40.0.99', 45381)<br>
>> 15<br>
>> 16 2013-10-11 17:35:44.892 ERROR nova.api.openstack<br>
>> [req-12f8de18-544b-4cde-b46a-55fea30d0057 251bd0a9388a477b9c24c99b223e7b2a<br>
>> 8a34123d83824f3ea52527c5a28ad81e] Caught error: 401 Unau thorized<br>
>> 17<br>
>> 18 This server could not verify that you are authorized to access the<br>
>> document you requested. Either you supplied the wrong credentials (e.g., bad<br>
>> password), or your browser does not understand how to supply the<br>
>> credentials required.<br>
>> 19<br>
>> 20 Authentication required<br>
>> 21 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack Traceback (most<br>
>> recent call last):<br>
>> 22 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 81,<br>
>> in __call__<br>
>> 23 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack return<br>
>> req.get_response(self.application)<br>
>> 24 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send<br>
>> 25 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack application,<br>
>> catch_exc_info=False)<br>
>> 26 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in<br>
>> call_application<br>
>> 27 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack app_iter =<br>
>> application(self.environ, start_response)<br>
>> 28 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__<br>
>> 29 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack return<br>
>> resp(environ, start_response)<br>
>> 30 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",<br>
>> line 450, in __call__<br>
>> 31 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack return<br>
>> self.app(env, start_response)<br>
>> 32 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__<br>
>> 33 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack return<br>
>> resp(environ, start_response)<br>
>> 34 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__<br>
>> 35 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack return<br>
>> resp(environ, start_response)<br>
>> 36 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__<br>
>> 37 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack return<br>
>> resp(environ, start_response)<br>
>> 38 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in<br>
>> __call__<br>
>> 39 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack response =<br>
>> self.app(environ, start_response)<br>
>> 40 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__<br>
>> 41 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack return<br>
>> resp(environ, start_response)<br>
>> 42 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__<br>
>> 43 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack resp =<br>
>> self.call_func(req, *args, **self.kwargs)<br>
>> 44 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func<br>
>> 45 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack return<br>
>> self.func(req, *args, **kwargs)<br>
>> 46 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 890, in<br>
>> __call__<br>
>> 47 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack<br>
>> content_type, body, accept)<br>
>> 48 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 969, in<br>
>> _process_stack<br>
>> 49 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack request,<br>
>> action_args)<br>
>> 50 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 863, in<br>
>> post_process_extensions<br>
>> 51 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack<br>
>> **action_args)<br>
>> 52 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/security_groups.py",<br>
>> line 526, in show<br>
>> 53 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack return<br>
>> self._show(req, resp_obj)<br>
>> 54 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/security_groups.py",<br>
>> line 522, in _show<br>
>> 55 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack<br>
>> self._extend_servers(req, [resp_obj.obj['server']])<br>
>> 56 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/security_groups.py",<br>
>> line 487, in _extend_servers<br>
>> 57 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack<br>
>> .get_instances_security_groups_bindings(context))<br>
>> 58 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/nova/network/security_group/quantum_driver.py",<br>
>> line 252, in get_instances_security_g roups_bindings<br>
>> 59 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack ports =<br>
>> quantum.list_ports().get('ports')<br>
>> 60 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 107,<br>
>> in with_params<br>
>> 61 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack ret =<br>
>> self.function(instance, *args, **kwargs)<br>
>> 62 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 255,<br>
>> in list_ports<br>
>> 63 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack **_params)<br>
>> 64 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 996,<br>
>> in list<br>
>> 65 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack for r in<br>
>> self._pagination(collection, path, **params):<br>
>> 66 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 1009,<br>
>> in _pagination<br>
>> 67 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack res =<br>
>> self.get(path, params=params)<br>
>> 68 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 982,<br>
>> in get<br>
>> 69 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack<br>
>> headers=headers, params=params)<br>
>> 70 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 967,<br>
>> in retry_request<br>
>> 71 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack<br>
>> headers=headers, params=params)<br>
>> 72 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 904,<br>
>> in do_request<br>
>> 73 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack resp,<br>
>> replybody = self.httpclient.do_request(action, method, body=body)<br>
>> 74 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack File<br>
>> "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 160, in<br>
>> do_request<br>
>> 75 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack raise ex<br>
>> 76 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack Unauthorized:<br>
>> 401 Unauthorized<br>
>> 77 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack<br>
>> 78 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack This server<br>
>> could not verify that you are authorized to access the document you<br>
>> requested. Either you supplied the wrong crede ntials (e.g., bad<br>
>> password), or your browser does not understand how to supply the credentials<br>
>> required.<br>
>> 79 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack<br>
>> 80 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack Authentication<br>
>> required<br>
>> 81 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack<br>
>> 82 2013-10-11 17:35:44.899 INFO nova.api.openstack<br>
>> [req-12f8de18-544b-4cde-b46a-55fea30d0057 251bd0a9388a477b9c24c99b223e7b2a<br>
>> 8a34123d83824f3ea52527c5a28ad81e] <a href="http://10.40.0.99:8774/" target="_blank">http://10.40.0.99:8774/</a><br>
>> v2/8a34123d83824f3ea52527c5a28ad81e/servers/c084bbff-afdd-4043-8623-7643fcf4ea87<br>
>> returned with HTTP 500<br>
>> 83 2013-10-11 17:35:44.908 INFO nova.osapi_compute.wsgi.server<br>
>> [req-12f8de18-544b-4cde-b46a-55fea30d0057 251bd0a9388a477b9c24c99b223e7b2a<br>
>> 8a34123d83824f3ea52527c5a28ad81e] 10.40.0.99 "GET<br>
>> /v2/8a34123d83824f3ea52527c5a28ad81e/servers/c084bbff-afdd-4043-8623-7643fcf4ea87<br>
>> HTTP/1.1" status: 500 len: 335 time: 0.1010859<br>
>><br>
>> Thanks<br>
>> Ravi<br>
>><br>
>><br>
>><br>
>> On Fri, Oct 11, 2013 at 5:30 PM, Joe Gordon <<a href="mailto:joe.gordon0@gmail.com">joe.gordon0@gmail.com</a>> wrote:<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> On Fri, Oct 11, 2013 at 5:17 PM, Ravikanth Samprathi <<a href="mailto:rsamprat@gmail.com">rsamprat@gmail.com</a>><br>
>>> wrote:<br>
>>>><br>
>>>> Thanks Joe.<br>
>>>><br>
>>>> Also may i please request the info about which kernel and ramdisk image<br>
>>>> 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<br>
>>>> [req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41 251bd0a9388a477b9c24c99b223<br>
>>>> e7b2a 8a34123d83824f3ea52527c5a28ad81e] Caught error: [Errno 111]<br>
>>>> ECONNREFUSED<br>
>>>> 3746 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack Traceback<br>
>>>> (most recent call last):<br>
>>>> 3747 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/nova/api/openstack/__in it__.py", line<br>
>>>> 81, in __call__<br>
>>>> 3748 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack return<br>
>>>> req.get_response(self.application)<br>
>>>> 3749 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/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<br>
>>>> application, catch_exc_info=False)<br>
>>>> 3751 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in<br>
>>>> call_application<br>
>>>> 3752 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack app_iter<br>
>>>> = application(self.environ, start_response)<br>
>>>> 3753 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/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<br>
>>>> resp(environ, start_response)<br>
>>>> 3755 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/keystoneclient/middlewa<br>
>>>> re/auth_token.py", line 450, in __call__<br>
>>>> 3756 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack return<br>
>>>> self.app(env, start_response)<br>
>>>> 3757 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/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<br>
>>>> resp(environ, start_response)<br>
>>>> 3759 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/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<br>
>>>> resp(environ, start_response)<br>
>>>> 3761 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/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<br>
>>>> resp(environ, start_response)<br>
>>>> 3763 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in<br>
>>>> __call__<br>
>>>> 3764 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack response<br>
>>>> = self.app(environ, start_response)<br>
>>>> 3765 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/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<br>
>>>> resp(environ, start_response)<br>
>>>> 3767 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/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 =<br>
>>>> self.call_func(req, *args, **self.kwargs)<br>
>>>> 3769 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/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<br>
>>>> self.func(req, *args, **kwargs)<br>
>>>> 3771 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi .py", line<br>
>>>> 890, in __call__<br>
>>>> 3772 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack<br>
>>>> content_type, body, accept)<br>
>>>> 3773 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi .py", line<br>
>>>> 969, in _process_stack<br>
>>>> 3774 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack request,<br>
>>>> action_args)<br>
>>>> 3775 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi .py", line<br>
>>>> 863, in post_process_extensions<br>
>>>> 3776 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack<br>
>>>> **action_args)<br>
>>>> 3777 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/nova/api/openstack/comp<br>
>>>> ute/contrib/security_groups.py", line 526, in show<br>
>>>> 3778 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack return<br>
>>>> self._show(req, resp_obj)<br>
>>>> 3779 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/nova/api/openstack/comp<br>
>>>> ute/contrib/security_groups.py", line 522, in _show<br>
>>>> 3780 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack<br>
>>>> self._extend_servers(req, [resp_obj.obj['server']])<br>
>>>> 3781 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/nova/api/openstack/comp<br>
>>>> ute/contrib/security_groups.py", line 487, in _extend_servers<br>
>>>> 3782 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack<br>
>>>> .get_instances_security_groups_bindings(context))<br>
>>>> 3783 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/nova/network/security_g<br>
>>>> 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 =<br>
>>>> quantum.list_ports().get('ports')<br>
>>>> 3785 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie nt.py", line<br>
>>>> 107, in with_params<br>
>>>> 3786 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack ret =<br>
>>>> self.function(instance, *args, **kwargs)<br>
>>>> 3787 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie nt.py", line<br>
>>>> 255, in list_ports<br>
>>>> 3788 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack<br>
>>>> **_params)<br>
>>>> 3789 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie nt.py", line<br>
>>>> 996, in list<br>
>>>> 3790 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack for r in<br>
>>>> self._pagination(collection, path, **params):<br>
>>>> 3791 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie nt.py", line<br>
>>>> 1009, in _pagination<br>
>>>> 3792 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack res =<br>
>>>> self.get(path, params=params)<br>
>>>> 3793 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie nt.py", line<br>
>>>> 982, in get<br>
>>>> 3794 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack<br>
>>>> headers=headers, params=params)<br>
>>>> 3795 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie nt.py", line<br>
>>>> 967, in retry_request<br>
>>>> 3796 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack<br>
>>>> headers=headers, params=params)<br>
>>>> 3797 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie nt.py", line<br>
>>>> 912, in do_request<br>
>>>> 3798 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack<br>
>>>> self._handle_fault_response(status_code, replybody)<br>
>>>> 3799 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie nt.py", line<br>
>>>> 893, in _handle_fault_response<br>
>>>> 3800 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack<br>
>>>> exception_handler_v20(status_code, des_error_body)<br>
>>>> 3801 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack File<br>
>>>> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/clie nt.py", line<br>
>>>> 87, in exception_handler_v20<br>
>>>> 3802 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack<br>
>>>> message=message)<br>
>>>> 3803 2013-10-11 16:43:43.514 4034 TRACE nova.api.openstack<br>
>>>> 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<br>
>>>> [req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41 251bd0a9388a477b9c24c99b223e<br>
>>>> 7b2a 8a34123d83824f3ea52527c5a28ad81e]<br>
>>>> <a href="http://10.40.0.99:8774/v2/8a34123d83824f3ea52527c5a28ad81e/servers/36e71635-5f7" target="_blank">http://10.40.0.99:8774/v2/8a34123d83824f3ea52527c5a28ad81e/servers/36e71635-5f7</a><br>
>>>> 3-4895-87a9-6f1082e8cb6a returned with HTTP 500<br>
>>>> 3806 2013-10-11 16:43:43.530 INFO nova.osapi_compute.wsgi.server<br>
>>>> [req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41 251bd0a9388a477b<br>
>>>> 9c24c99b223e7b2a 8a34123d83824f3ea52527c5a28ad81e] 10.40.0.99 "GET<br>
>>>> /v2/8a34123d83824f3ea52527c5a28ad81e/servers/36e716<br>
>>>> 35-5f73-4895-87a9-6f1082e8cb6a HTTP/1.1" status: 500 len: 335 time:<br>
>>>> 0.1915259<br>
>>>> 3807<br>
>>>><br>
>>><br>
>>> It looks like you were unable to connect to quantum.<br>
>>><br>
>>><br>
>>>><br>
>>>> Thank you very much for your help.<br>
>>>> Ravi<br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>> On Fri, Oct 11, 2013 at 5:04 PM, Joe Gordon <<a href="mailto:joe.gordon0@gmail.com">joe.gordon0@gmail.com</a>><br>
>>>> wrote:<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> On Fri, Oct 11, 2013 at 4:44 PM, Ravikanth Samprathi<br>
>>>>> <<a href="mailto:rsamprat@gmail.com">rsamprat@gmail.com</a>> wrote:<br>
>>>>>><br>
>>>>>> Hi<br>
>>>>>> I am trying to issue the boot command to provision baremetal server.<br>
>>>>>> But i see the following error:<br>
>>>>>><br>
>>>>>> Also, where can i get the bootstrap kernel and ramdisk images to boot<br>
>>>>>> into the baremetal? And how to get the baremetal agent installed in the<br>
>>>>>> baremetal node?<br>
>>>>>><br>
>>>>>> command:<br>
>>>>>> =============<br>
>>>>>> root@os:/home/versa# nova boot --flavor 6 --image<br>
>>>>>> 39f4fd3b-15cc-4810-a808-e2c4764ba657 bm<br>
>>>>>> ERROR: The server has either erred or is incapable of performing the<br>
>>>>>> requested operation. (HTTP 500) (Request-ID:<br>
>>>>>> req-c463e02b-7c35-448e-b0a7-97d1c02c6088)<br>
>>>>>><br>
>>>>>> The log is here:<br>
>>>>>> ==============<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<br>
>>>>>> /v2/8a34123d83824f3ea52527c5a28ad81e/servers/36e71635-5f73-4895-87a9-6f1082e8cb6a<br>
>>>>>> HTTP/1.1" 500 128<br>
>>>>>> RESP: [500] {'date': 'Fri, 11 Oct 2013 23:43:43 GMT',<br>
>>>>>> 'content-length': '128', 'content-type': 'application/json; charset=UTF-8',<br>
>>>>>> 'x-compute-request-id': 'req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41'}<br>
>>>>>> RESP BODY: {"computeFault": {"message": "The server has either erred<br>
>>>>>> or is incapable of performing the requested operation.", "code": 500}}<br>
>>>>>><br>
>>>>>> DEBUG (shell:768) The server has either erred or is incapable of<br>
>>>>>> performing the requested operation. (HTTP 500) (Request-ID:<br>
>>>>>> req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41)<br>
>>>>>> Traceback (most recent call last):<br>
>>>>>> File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line<br>
>>>>>> 765, in main<br>
>>>>>> OpenStackComputeShell().main(map(strutils.safe_decode,<br>
>>>>>> sys.argv[1:]))<br>
>>>>>> File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line<br>
>>>>>> 701, in main<br>
>>>>>> args.func(self.cs, args)<br>
>>>>>> File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py",<br>
>>>>>> 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",<br>
>>>>>> 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<br>
>>>>>> 140, in _get<br>
>>>>>> _resp, body = self.api.client.get(url)<br>
>>>>>> File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line<br>
>>>>>> 230, in get<br>
>>>>>> return self._cs_request(url, 'GET', **kwargs)<br>
>>>>>> File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line<br>
>>>>>> 217, in _cs_request<br>
>>>>>> **kwargs)<br>
>>>>>> File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line<br>
>>>>>> 199, in _time_request<br>
>>>>>> resp, body = self.request(url, method, **kwargs)<br>
>>>>>> File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line<br>
>>>>>> 193, in request<br>
>>>>>> raise exceptions.from_response(resp, body, url, method)<br>
>>>>>> ClientException: The server has either erred or is incapable of<br>
>>>>>> performing the requested operation. (HTTP 500) (Request-ID:<br>
>>>>>> req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41)<br>
>>>>>> ERROR: The server has either erred or is incapable of performing the<br>
>>>>>> requested operation. (HTTP 500) (Request-ID:<br>
>>>>>> req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41)<br>
>>>>>><br>
>>>>><br>
>>>>> This is the novaclient log, what does the server say? You can search<br>
>>>>> nova-api.log for req-2fff698c-ddf2-47f1-ae82-47fb0dc67d41 to see.<br>
>>>>><br>
>>>>>><br>
>>>>>> Appreciate any help.<br>
>>>>>> Thanks<br>
>>>>>> Ravi<br>
>>>>>><br>
>>>>>><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>
>>>>><br>
>>>>><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>
>>>><br>
>>>><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>
>>><br>
>>><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>
>><br>
><br>
><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>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Robert Collins <<a href="mailto:rbtcollins@hp.com">rbtcollins@hp.com</a>><br>
Distinguished Technologist<br>
HP Converged Cloud<br>
</font></span><div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br></div>