← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1305997] [NEW] Error while creating an Instance multi() got an unexpected keyword argument 'body'

 

Public bug reported:

Description of problem
---------------------------

Create instance fails.
 nova.api.openstack.wsgi [-] Exception handling resource: multi() got an unexpected keyword argument 'body'

Version
---------

ii  nova-ajax-console-proxy                             1:2014.1~rc2-0ubuntu1
ii  nova-api                                            1:2014.1~rc2-0ubuntu1
ii  nova-cert                                           1:2014.1~rc2-0ubuntu1
ii  nova-common                                         1:2014.1~rc2-0ubuntu1
ii  nova-compute                                        1:2014.1~rc2-0ubuntu1
ii  nova-compute-kvm                                    1:2014.1~rc2-0ubuntu1
ii  nova-compute-libvirt                                1:2014.1~rc2-0ubuntu1
ii  nova-conductor                                      1:2014.1~rc2-0ubuntu1
ii  nova-consoleauth                                    1:2014.1~rc2-0ubuntu1
ii  nova-doc                                            1:2014.1~rc2-0ubuntu1
ii  nova-novncproxy                                     1:2014.1~rc2-0ubuntu1
ii  nova-scheduler                                      1:2014.1~rc2-0ubuntu1
ii  python-nova                                         1:2014.1~rc2-0ubuntu1
ii  python-novaclient                                   1:2.17.0-0ubuntu1

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu Trusty Tahr (development branch)"
NAME="Ubuntu"
VERSION="14.04, Trusty Tahr"

Test env
----------

A 3 node openstack havana on ubuntu 14.04. Creating a instance to any
node.

Steps to Reproduce
------------------
 - Create the instance

And observe /var/log/nova/nova-api.log

Actual results
--------------

/var/log/nova-api.log
2014-04-10 12:16:35.058 18945 ERROR nova.api.openstack.wsgi [-] Exception handling resource: multi() got an unexpected keyword argument 'body'
2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
2014-04-10 12:16:35.058 18945 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 12:16:35.058 18945 TRACE nova.api.openstack.wsgi     action_result = self.dispatch(meth, request, action_args)
2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1070, in dispatch
2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi     return method(req=request, **action_args)
2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi TypeError: multi() got an unexpected keyword argument 'body'


/var/log/nova-compute.log

2014-04-10 12:21:34.729 18931 WARNING nova.virt.libvirt.driver [req-290090c7-9cbf-49e3-ab68-f8e8f85c85d1 42fab7a8b7434bfc8473767c01e8378d b1cf6337c229491c96ad6e0a96e82979] Timeout waiting for vif plugging callback for instance 3fab918c-66fe-4edb-be30-36e40316c950
2014-04-10 12:21:36.030 18931 ERROR nova.compute.manager [req-290090c7-9cbf-49e3-ab68-f8e8f85c85d1 42fab7a8b7434bfc8473767c01e8378d b1cf6337c229491c96ad6e0a96e82979] [instance: 3fab918c-66fe-4edb-be30-36e40316c950] Instance failed to spawn
2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950] Traceback (most recent call last):
2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1720, in _spawn
2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]     block_device_info)
2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2253, in spawn
2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]     block_device_info)
2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3663, in _create_domain_and_network
2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]     raise exception.VirtualInterfaceCreateException()
2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950] VirtualInterfaceCreateException: Virtual Interface creation failed
2014-04-10 12:21:36.030 18931 TRAC

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: api compute

** Description changed:

  Description of problem
  ---------------------------
  
  Create instance fails.
- libvirt says "XML error: CPU feature `wdt' specified more than once"
+  nova.api.openstack.wsgi [-] Exception handling resource: multi() got an unexpected keyword argument 'body'
+ 
  
  Version
  ---------
  
  ii  nova-ajax-console-proxy                             1:2014.1~rc2-0ubuntu1
  ii  nova-api                                            1:2014.1~rc2-0ubuntu1
  ii  nova-cert                                           1:2014.1~rc2-0ubuntu1
  ii  nova-common                                         1:2014.1~rc2-0ubuntu1
  ii  nova-compute                                        1:2014.1~rc2-0ubuntu1
  ii  nova-compute-kvm                                    1:2014.1~rc2-0ubuntu1
  ii  nova-compute-libvirt                                1:2014.1~rc2-0ubuntu1
  ii  nova-conductor                                      1:2014.1~rc2-0ubuntu1
  ii  nova-consoleauth                                    1:2014.1~rc2-0ubuntu1
  ii  nova-doc                                            1:2014.1~rc2-0ubuntu1
  ii  nova-novncproxy                                     1:2014.1~rc2-0ubuntu1
  ii  nova-scheduler                                      1:2014.1~rc2-0ubuntu1
  ii  python-nova                                         1:2014.1~rc2-0ubuntu1
  ii  python-novaclient                                   1:2.17.0-0ubuntu1
-  
+ 
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=14.04
  DISTRIB_CODENAME=trusty
  DISTRIB_DESCRIPTION="Ubuntu Trusty Tahr (development branch)"
  NAME="Ubuntu"
  VERSION="14.04, Trusty Tahr"
  
  Test env
  ----------
  
  A 3 node openstack havana on ubuntu 14.04. Creating a instance to any
  node.
  
  Steps to Reproduce
  ------------------
-  - Create the instance
+  - Create the instance
  
  And observe /var/log/nova/nova-api.log
  
  Actual results
  --------------
  
  /var/log/nova-api.log
  2014-04-10 12:16:35.058 18945 ERROR nova.api.openstack.wsgi [-] Exception handling resource: multi() got an unexpected keyword argument 'body'
  2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
  2014-04-10 12:16:35.058 18945 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 12:16:35.058 18945 TRACE nova.api.openstack.wsgi     action_result = self.dispatch(meth, request, action_args)
  2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1070, in dispatch
  2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi     return method(req=request, **action_args)
  2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi TypeError: multi() got an unexpected keyword argument 'body'

** Description changed:

  Description of problem
  ---------------------------
  
  Create instance fails.
-  nova.api.openstack.wsgi [-] Exception handling resource: multi() got an unexpected keyword argument 'body'
- 
+  nova.api.openstack.wsgi [-] Exception handling resource: multi() got an unexpected keyword argument 'body'
  
  Version
  ---------
  
  ii  nova-ajax-console-proxy                             1:2014.1~rc2-0ubuntu1
  ii  nova-api                                            1:2014.1~rc2-0ubuntu1
  ii  nova-cert                                           1:2014.1~rc2-0ubuntu1
  ii  nova-common                                         1:2014.1~rc2-0ubuntu1
  ii  nova-compute                                        1:2014.1~rc2-0ubuntu1
  ii  nova-compute-kvm                                    1:2014.1~rc2-0ubuntu1
  ii  nova-compute-libvirt                                1:2014.1~rc2-0ubuntu1
  ii  nova-conductor                                      1:2014.1~rc2-0ubuntu1
  ii  nova-consoleauth                                    1:2014.1~rc2-0ubuntu1
  ii  nova-doc                                            1:2014.1~rc2-0ubuntu1
  ii  nova-novncproxy                                     1:2014.1~rc2-0ubuntu1
  ii  nova-scheduler                                      1:2014.1~rc2-0ubuntu1
  ii  python-nova                                         1:2014.1~rc2-0ubuntu1
  ii  python-novaclient                                   1:2.17.0-0ubuntu1
  
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=14.04
  DISTRIB_CODENAME=trusty
  DISTRIB_DESCRIPTION="Ubuntu Trusty Tahr (development branch)"
  NAME="Ubuntu"
  VERSION="14.04, Trusty Tahr"
  
  Test env
  ----------
  
  A 3 node openstack havana on ubuntu 14.04. Creating a instance to any
  node.
  
  Steps to Reproduce
  ------------------
   - Create the instance
  
  And observe /var/log/nova/nova-api.log
  
  Actual results
  --------------
  
  /var/log/nova-api.log
  2014-04-10 12:16:35.058 18945 ERROR nova.api.openstack.wsgi [-] Exception handling resource: multi() got an unexpected keyword argument 'body'
  2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
  2014-04-10 12:16:35.058 18945 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 12:16:35.058 18945 TRACE nova.api.openstack.wsgi     action_result = self.dispatch(meth, request, action_args)
  2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1070, in dispatch
  2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi     return method(req=request, **action_args)
  2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi TypeError: multi() got an unexpected keyword argument 'body'
+ 
+ 
+ /var/log/nova-compute.log
+ 
+ 2014-04-10 12:21:34.729 18931 WARNING nova.virt.libvirt.driver [req-290090c7-9cbf-49e3-ab68-f8e8f85c85d1 42fab7a8b7434bfc8473767c01e8378d b1cf6337c229491c96ad6e0a96e82979] Timeout waiting for vif plugging callback for instance 3fab918c-66fe-4edb-be30-36e40316c950
+ 2014-04-10 12:21:36.030 18931 ERROR nova.compute.manager [req-290090c7-9cbf-49e3-ab68-f8e8f85c85d1 42fab7a8b7434bfc8473767c01e8378d b1cf6337c229491c96ad6e0a96e82979] [instance: 3fab918c-66fe-4edb-be30-36e40316c950] Instance failed to spawn
+ 2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950] Traceback (most recent call last):
+ 2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1720, in _spawn
+ 2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]     block_device_info)
+ 2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2253, in spawn
+ 2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]     block_device_info)
+ 2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3663, in _create_domain_and_network
+ 2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]     raise exception.VirtualInterfaceCreateException()
+ 2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950] VirtualInterfaceCreateException: Virtual Interface creation failed
+ 2014-04-10 12:21:36.030 18931 TRAC

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1305997

Title:
  Error while creating an Instance multi() got an unexpected keyword
  argument 'body'

Status in OpenStack Compute (Nova):
  New

Bug description:
  Description of problem
  ---------------------------

  Create instance fails.
   nova.api.openstack.wsgi [-] Exception handling resource: multi() got an unexpected keyword argument 'body'

  Version
  ---------

  ii  nova-ajax-console-proxy                             1:2014.1~rc2-0ubuntu1
  ii  nova-api                                            1:2014.1~rc2-0ubuntu1
  ii  nova-cert                                           1:2014.1~rc2-0ubuntu1
  ii  nova-common                                         1:2014.1~rc2-0ubuntu1
  ii  nova-compute                                        1:2014.1~rc2-0ubuntu1
  ii  nova-compute-kvm                                    1:2014.1~rc2-0ubuntu1
  ii  nova-compute-libvirt                                1:2014.1~rc2-0ubuntu1
  ii  nova-conductor                                      1:2014.1~rc2-0ubuntu1
  ii  nova-consoleauth                                    1:2014.1~rc2-0ubuntu1
  ii  nova-doc                                            1:2014.1~rc2-0ubuntu1
  ii  nova-novncproxy                                     1:2014.1~rc2-0ubuntu1
  ii  nova-scheduler                                      1:2014.1~rc2-0ubuntu1
  ii  python-nova                                         1:2014.1~rc2-0ubuntu1
  ii  python-novaclient                                   1:2.17.0-0ubuntu1

  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=14.04
  DISTRIB_CODENAME=trusty
  DISTRIB_DESCRIPTION="Ubuntu Trusty Tahr (development branch)"
  NAME="Ubuntu"
  VERSION="14.04, Trusty Tahr"

  Test env
  ----------

  A 3 node openstack havana on ubuntu 14.04. Creating a instance to any
  node.

  Steps to Reproduce
  ------------------
   - Create the instance

  And observe /var/log/nova/nova-api.log

  Actual results
  --------------

  /var/log/nova-api.log
  2014-04-10 12:16:35.058 18945 ERROR nova.api.openstack.wsgi [-] Exception handling resource: multi() got an unexpected keyword argument 'body'
  2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi Traceback (most recent call last):
  2014-04-10 12:16:35.058 18945 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 12:16:35.058 18945 TRACE nova.api.openstack.wsgi     action_result = self.dispatch(meth, request, action_args)
  2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1070, in dispatch
  2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi     return method(req=request, **action_args)
  2014-04-10 12:16:35.058 18945 TRACE nova.api.openstack.wsgi TypeError: multi() got an unexpected keyword argument 'body'

  
  /var/log/nova-compute.log

  2014-04-10 12:21:34.729 18931 WARNING nova.virt.libvirt.driver [req-290090c7-9cbf-49e3-ab68-f8e8f85c85d1 42fab7a8b7434bfc8473767c01e8378d b1cf6337c229491c96ad6e0a96e82979] Timeout waiting for vif plugging callback for instance 3fab918c-66fe-4edb-be30-36e40316c950
  2014-04-10 12:21:36.030 18931 ERROR nova.compute.manager [req-290090c7-9cbf-49e3-ab68-f8e8f85c85d1 42fab7a8b7434bfc8473767c01e8378d b1cf6337c229491c96ad6e0a96e82979] [instance: 3fab918c-66fe-4edb-be30-36e40316c950] Instance failed to spawn
  2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950] Traceback (most recent call last):
  2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1720, in _spawn
  2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]     block_device_info)
  2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2253, in spawn
  2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]     block_device_info)
  2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3663, in _create_domain_and_network
  2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950]     raise exception.VirtualInterfaceCreateException()
  2014-04-10 12:21:36.030 18931 TRACE nova.compute.manager [instance: 3fab918c-66fe-4edb-be30-36e40316c950] VirtualInterfaceCreateException: Virtual Interface creation failed
  2014-04-10 12:21:36.030 18931 TRAC

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1305997/+subscriptions


Follow ups

References