[openstack-dev] baremetal nova boot issue

Ravikanth Samprathi rsamprat at gmail.com
Sun Oct 13 07:16:53 UTC 2013


Hi Rob
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.
Now which images are deploy ramdisk and kernel?
How is the nova agent downloaded to the baremetal node, in which step and
how?
What does ''nova boot'' do?
I see that using any of the diskbuilder built images (ramdisk kernel) is
not booting up the system.
Would be great if steps are explained more clearly as to which step does
what.
Thanks
Ravi



On Sat, Oct 12, 2013 at 8:49 PM, Robert Collins
<robertc at robertcollins.net>wrote:

> Have you read the docs about nova baremetal ? The questions you're
> asking - about bootstrapping and about a baremetal agent - don't make
> any sense to me ;)
>
> These are the needed steps:
>  - install openstack
>  - build a deploy ramdisk and kernel
>  - put them in glance
>  - configure nova baremetal as your driver
>  - configure a flavor with the deploy ramdisk and kernel
>  - install tftpd pointing at /tftproot
>  - register machines
>  - add your own image to glance (must be a partition image with
> separate kernel and ramdisk, not a whole disk image)
>
> nova boot, done.
>
> -Rob
>
>
>
> On 12 October 2013 13:58, Ravikanth Samprathi <rsamprat at gmail.com> wrote:
> > I fixed the quantum issue. Now i am able to successfully do 'nova boot':
> >
> > root at os:/etc/init.d# nova boot --flavor 9 --image
> > 278f9721-1354-4c04-9798-65835398e027 mybmnode
> >
> +-------------------------------------+--------------------------------------+
> > | Property                            | Value
> > |
> >
> +-------------------------------------+--------------------------------------+
> > | status                              | BUILD
> > |
> > | updated                             | 2013-10-12T00:56:28Z
> > |
> > | OS-EXT-STS:task_state               | scheduling
> > |
> > | OS-EXT-SRV-ATTR:host                | None
> > |
> > | key_name                            | None
> > |
> > | image                               | my-image
> > |
> > | hostId                              |
> > |
> > | OS-EXT-STS:vm_state                 | building
> > |
> > | OS-EXT-SRV-ATTR:instance_name       | instance-00000020
> > |
> > | OS-EXT-SRV-ATTR:hypervisor_hostname | None
> > |
> > | flavor                              | my-baremetal-flavor
> > |
> > | id                                  |
> beeb7ffd-ed81-44e0-91ae-62435442769a
> > |
> > | security_groups                     | [{u'name': u'default'}]
> > |
> > | user_id                             | 251bd0a9388a477b9c24c99b223e7b2a
> > |
> > | name                                | mybmnode
> > |
> > | adminPass                           | xWurDrbi5E8X
> > |
> > | tenant_id                           | 8a34123d83824f3ea52527c5a28ad81e
> > |
> > | created                             | 2013-10-12T00:56:28Z
> > |
> > | OS-DCF:diskConfig                   | MANUAL
> > |
> > | metadata                            | {}
> > |
> > | accessIPv4                          |
> > |
> > | accessIPv6                          |
> > |
> > | progress                            | 0
> > |
> > | OS-EXT-STS:power_state              | 0
> > |
> > | OS-EXT-AZ:availability_zone         | nova
> > |
> > | config_drive                        |
> > |
> >
> +-------------------------------------+--------------------------------------+
> > root at os:/etc/init.d#
> >
> >
> > Can you please help me on how to go from here:  I think all the
> provisioning
> > listed in the baremetal wiki i could do them successfully.
> >
> > How to now load the images on the baremetal server (bootstrap) and then
> load
> > my own image on the baremetal server?
> >
> > Thanks
> > Ravi
> >
> >
> >
> > On Fri, Oct 11, 2013 at 5:41 PM, Ravikanth Samprathi <rsamprat at gmail.com
> >
> > wrote:
> >>
> >> Hi Joe
> >> Thanks, i fixed that, now i see this issue. I have always got
> >> confused/wondered about this, which credentials should i use?  Can you
> >> please help?
> >>
> >> nova-api.log:
> >> ==========
> >> 14 2013-10-11 17:35:44.806 4034 INFO nova.osapi_compute.wsgi.server [-]
> >> (4034) accepted ('10.40.0.99', 45381)
> >>  15
> >>  16 2013-10-11 17:35:44.892 ERROR nova.api.openstack
> >> [req-12f8de18-544b-4cde-b46a-55fea30d0057
> 251bd0a9388a477b9c24c99b223e7b2a
> >> 8a34123d83824f3ea52527c5a28ad81e] Caught error: 401 Unau    thorized
> >>  17
> >>  18 This server could not verify that you are authorized to access the
> >> document you requested. Either you supplied the wrong credentials
> (e.g., bad
> >> password), or your browser does not     understand how to supply the
> >> credentials required.
> >>  19
> >>  20  Authentication required
> >>  21 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack Traceback
> (most
> >> recent call last):
> >>  22 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line
> 81,
> >> in __call__
> >>  23 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     return
> >> req.get_response(self.application)
> >>  24 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
> >>  25 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack
> application,
> >> catch_exc_info=False)
> >>  26 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in
> >> call_application
> >>  27 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     app_iter =
> >> application(self.environ, start_response)
> >>  28 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> >>  29 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     return
> >> resp(environ, start_response)
> >>  30 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >>
> "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py",
> >> line 450, in __call__
> >>  31 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     return
> >> self.app(env, start_response)
> >>  32 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> >>  33 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     return
> >> resp(environ, start_response)
> >>  34 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> >>  35 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     return
> >> resp(environ, start_response)
> >>  36 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> >>  37 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     return
> >> resp(environ, start_response)
> >>  38 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in
> >> __call__
> >>  39 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     response =
> >> self.app(environ, start_response)
> >>  40 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> >>  41 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     return
> >> resp(environ, start_response)
> >>  42 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
> >>  43 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     resp =
> >> self.call_func(req, *args, **self.kwargs)
> >>  44 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
> >>  45 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     return
> >> self.func(req, *args, **kwargs)
> >>  46 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line
> 890, in
> >> __call__
> >>  47 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack
> >> content_type, body, accept)
> >> 48 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line
> 969, in
> >> _process_stack
> >>  49 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     request,
> >> action_args)
> >>  50 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line
> 863, in
> >> post_process_extensions
> >>  51 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack
> >> **action_args)
> >>  52 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >>
> "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/security_groups.py",
> >> line 526, in show
> >>  53 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     return
> >> self._show(req, resp_obj)
> >>  54 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >>
> "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/security_groups.py",
> >> line 522, in _show
> >>  55 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack
> >> self._extend_servers(req, [resp_obj.obj['server']])
> >>  56 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >>
> "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/security_groups.py",
> >> line 487, in _extend_servers
> >>  57 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack
> >> .get_instances_security_groups_bindings(context))
> >>  58 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >>
> "/usr/lib/python2.7/dist-packages/nova/network/security_group/quantum_driver.py",
> >> line 252, in get_instances_security_g    roups_bindings
> >>  59 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     ports =
> >> quantum.list_ports().get('ports')
> >>  60 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line
> 107,
> >> in with_params
> >>  61 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     ret =
> >> self.function(instance, *args, **kwargs)
> >>  62 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line
> 255,
> >> in list_ports
> >>  63 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     **_params)
> >>  64 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line
> 996,
> >> in list
> >>  65 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     for r in
> >> self._pagination(collection, path, **params):
> >>  66 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line
> 1009,
> >> in _pagination
> >>  67 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     res =
> >> self.get(path, params=params)
> >>  68 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line
> 982,
> >> in get
> >>  69 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack
> >> headers=headers, params=params)
> >>  70 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line
> 967,
> >> in retry_request
> >>  71 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack
> >> headers=headers, params=params)
> >>  72 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line
> 904,
> >> in do_request
> >>  73 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     resp,
> >> replybody = self.httpclient.do_request(action, method, body=body)
> >>  74 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack   File
> >> "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 160, in
> >> do_request
> >>  75 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack     raise ex
> >>  76 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack Unauthorized:
> >> 401 Unauthorized
> >>  77 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack
> >>  78 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack This server
> >> could not verify that you are authorized to access the document you
> >> requested. Either you supplied the wrong crede    ntials (e.g., bad
> >> password), or your browser does not understand how to supply the
> credentials
> >> required.
> >>  79 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack
> >>  80 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack
>  Authentication
> >> required
> >>  81 2013-10-11 17:35:44.892 4034 TRACE nova.api.openstack
> >>  82 2013-10-11 17:35:44.899 INFO nova.api.openstack
> >> [req-12f8de18-544b-4cde-b46a-55fea30d0057
> 251bd0a9388a477b9c24c99b223e7b2a
> >> 8a34123d83824f3ea52527c5a28ad81e] http://10.40.0.99:8774/
> >>
> v2/8a34123d83824f3ea52527c5a28ad81e/servers/c084bbff-afdd-4043-8623-7643fcf4ea87
> >> returned with HTTP 500
> >>  83 2013-10-11 17:35:44.908 INFO nova.osapi_compute.wsgi.server
> >> [req-12f8de18-544b-4cde-b46a-55fea30d0057
> 251bd0a9388a477b9c24c99b223e7b2a
> >> 8a34123d83824f3ea52527c5a28ad81e] 10.40.0.99     "GET
> >>
> /v2/8a34123d83824f3ea52527c5a28ad81e/servers/c084bbff-afdd-4043-8623-7643fcf4ea87
> >> HTTP/1.1" status: 500 len: 335 time: 0.1010859
> >>
> >> Thanks
> >> Ravi
> >>
> >>
> >>
> >> On Fri, Oct 11, 2013 at 5:30 PM, Joe Gordon <joe.gordon0 at gmail.com>
> wrote:
> >>>
> >>>
> >>>
> >>>
> >>> 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
> >>>>
> >>>
> >>>
> >>> _______________________________________________
> >>> 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
> >
>
>
>
> --
> Robert Collins <rbtcollins at hp.com>
> Distinguished Technologist
> HP Converged Cloud
>
> _______________________________________________
> 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-dev/attachments/20131013/634d4cdc/attachment.html>


More information about the OpenStack-dev mailing list