[openstack-dev] Error while creating an Instance - IceHouse / Ubuntu 14.04

Matt Riedemann mriedem at linux.vnet.ibm.com
Thu Apr 10 19:44:17 UTC 2014



On 4/10/2014 10:41 AM, Martinx - ジェームズ wrote:
> Mmm... Okay, sorry!    :-)
>
>
> On 10 April 2014 12:37, Ben Nemec <openstack at nemebean.com
> <mailto:openstack at nemebean.com>> wrote:
>
>     This sounds like a question for the users list, since you're using
>     distro packages:
>     http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack
>     <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
>
>     Thanks.
>
>     -Ben
>
>
>     On 04/10/2014 01:45 AM, Martinx - ジェームズ wrote:
>
>         Guys,
>
>         I'm trying to create an Instance here at my lab but, I'm seeing the
>         following error:
>
>         command: "nova boot --image dda95a36-71e0-4474-b3e2-__4f5ceef79c14
>         --flavor 2 my_first_vm"
>
>         nova-api.log:
>
>         ---
>         2014-04-10 03:37:02.250 1743 ERROR nova.api.openstack.wsgi [-]
>         Exception
>         handling resource: multi() got an unexpected keyword argument 'body'
>         2014-04-10 03:37:02.250 1743 TRACE nova.api.openstack.wsgi Traceback
>         (most recent call last):
>         2014-04-10 03:37:02.250 1743 TRACE nova.api.openstack.wsgi   File
>         "/usr/lib/python2.7/dist-__packages/nova/api/openstack/__wsgi.py",
>         line 983,
>         in _process_stack
>         2014-04-10 03:37:02.250 1743 TRACE nova.api.openstack.wsgi
>         action_result = self.dispatch(meth, request, action_args)
>         2014-04-10 03:37:02.250 1743 TRACE nova.api.openstack.wsgi   File
>         "/usr/lib/python2.7/dist-__packages/nova/api/openstack/__wsgi.py",
>         line
>         1070, in dispatch
>         2014-04-10 03:37:02.250 1743 TRACE nova.api.openstack.wsgi
>         return
>         method(req=request, **action_args)
>         2014-04-10 03:37:02.250 1743 TRACE nova.api.openstack.wsgi
>         TypeError:
>         multi() got an unexpected keyword argument 'body'
>         2014-04-10 03:37:02.250 1743 TRACE nova.api.openstack.wsgi
>         2014-04-10 03:37:02.285 1743 INFO nova.osapi_compute.wsgi.server [-]
>         2001:1291:2bf:fffa::500 "POST
>         /__c24d0871dbd4461da2c854d493ec7c__d7/os-server-external-events
>         HTTP/1.1"
>         status: 400 len: 274 time: 0.0363338
>         ---
>
>         and at neutron/server.log:
>
>         ---
>         2014-04-10 03:37:02.287 2298 ERROR neutron.notifiers.nova [-]
>         Failed to
>         notify nova on events: [{'status': 'completed', 'tag':
>         u'9b1e88f0-cb88-4c89-8a20-__bac8ef2e9f9e', 'name':
>         'network-vif-plugged',
>         'server_uuid': u'649273f9-e382-4fda-9b9a-__40201bdc1684'}]
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova Traceback
>         (most recent call last):
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova   File
>         "/usr/lib/python2.7/dist-__packages/neutron/notifiers/__nova.py", line
>         187,
>         in send_events
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova
>         batched_events)
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova   File
>         "/usr/lib/python2.7/dist-__packages/novaclient/v1_1/__contrib/server_external___events.py",
>         line 39, in create
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova
>         return_raw=True)
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova   File
>         "/usr/lib/python2.7/dist-__packages/novaclient/base.py", line
>         152, in _create
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova     _resp,
>         body = self.api.client.post(url, body=body)
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova   File
>         "/usr/lib/python2.7/dist-__packages/novaclient/client.py"__,
>         line 286, in post
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova     return
>         self._cs_request(url, 'POST', **kwargs)
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova   File
>         "/usr/lib/python2.7/dist-__packages/novaclient/client.py"__,
>         line 260, in
>         _cs_request
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova
>         **kwargs)
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova   File
>         "/usr/lib/python2.7/dist-__packages/novaclient/client.py"__,
>         line 242, in
>         _time_request
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova
>         resp, body
>         = self.request(url, method, **kwargs)
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova   File
>         "/usr/lib/python2.7/dist-__packages/novaclient/client.py"__,
>         line 236, in
>         request
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova     raise
>         exceptions.from_response(resp, body, url, method)
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova
>         BadRequest:
>         The server could not comply with the request since it is either
>         malformed or otherwise incorrect. (HTTP 400)
>         2014-04-10 03:37:02.287 2298 TRACE neutron.notifiers.nova
>         ---
>
>         Anyway, I'm seeing that the qemu process got started but, its state
>         remains "spawning"... Few minutes later, qemu process died...
>
>         nova-compute.log:
>
>         ---
>         2014-04-10 03:41:59.461 1431 WARNING nova.virt.libvirt.driver
>         [req-7dce4196-58c9-4cc2-bfe4-__06c3bd710870
>         6c2d4385df4d40a2804de042bb6b34__66
>         5e0106fa81104c5cbe21e1ccc9eb1a__36]
>         Timeout waiting for vif plugging callback for instance
>         649273f9-e382-4fda-9b9a-__40201bdc1684
>         ---
>
>         I'm trying it with Neutron ML2 Flat, latest packages from Ubuntu
>         14.04,
>         with IPv6 for APIs and Endpoints (not trying IPv6 for tenants
>         subnet yet)...
>
>         Tips?!
>
>         Thanks!
>         Thiago
>
>
>         _________________________________________________
>         OpenStack-dev mailing list
>         OpenStack-dev at lists.openstack.__org
>         <mailto:OpenStack-dev at lists.openstack.org>
>         http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack-dev
>         <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>
>
>
>
>     _________________________________________________
>     OpenStack-dev mailing list
>     OpenStack-dev at lists.openstack.__org
>     <mailto:OpenStack-dev at lists.openstack.org>
>     http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack-dev <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
>

It also sounds like this:

https://bugs.launchpad.net/nova/+bug/1298640

Make sure you have neutron configured properly for callbacks to nova.

-- 

Thanks,

Matt Riedemann




More information about the OpenStack-dev mailing list