← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1411482] Re: save() takes exactly 1 argument (2 given)

 

This error is coming from the nova compute log here.

http://logs.openstack.org/10/115110/20/check/check-tempest-dsvm-neutron-
pg-full-2/3c885b8/logs/screen-n-cpu.txt.gz

2015-01-16 01:53:19.798 ERROR oslo.messaging.rpc.dispatcher [req-6bd7d570-7e04-4118-9547-6f8b6fdd67fa TestMinimumBasicScenario-1445783167 TestMinimumBasicScenario-1666592455] Exception during message handling: save() takes exactly 1 argument (2 given)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 137, in _dispatch_and_reply
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 180, in _dispatch
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 126, in _do_dispatch
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/exception.py", line 88, in wrapped
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     payload)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 82, in __exit__
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/exception.py", line 71, in wrapped
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     return f(self, context, *args, **kw)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 296, in decorated_function
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     pass
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 82, in __exit__
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 281, in decorated_function
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 346, in decorated_function
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 324, in decorated_function
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     kwargs['instance'], e, sys.exc_info())
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 82, in __exit__
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 312, in decorated_function
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 2999, in reboot_instance
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     self._set_instance_obj_error_state(context, instance)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 82, in __exit__
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 2980, in reboot_instance
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     bad_volumes_callback=bad_volumes_callback)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2028, in reboot
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     block_device_info)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2126, in _hard_reboot
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     write_to_disk=True)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 4086, in _get_guest_xml
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     context, flavor=flavor)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 3935, in _get_guest_config
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     flavor)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 3271, in _get_guest_storage_config
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher     vol.save(nova_context.get_admin_context())
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher TypeError: save() takes exactly 1 argument (2 given)
2015-01-16 01:53:19.798 30555 TRACE oslo.messaging.rpc.dispatcher 


** Also affects: nova
   Importance: Undecided
       Status: New

** Changed in: tempest
       Status: New => Invalid

-- 
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/1411482

Title:
  save() takes exactly 1 argument (2 given)

Status in OpenStack Compute (Nova):
  New
Status in Tempest:
  Invalid

Bug description:
  Logstash:

  http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwic2F2ZSgpIHRha2VzIGV4YWN0bHkgMSBhcmd1bWVudCAoMiBnaXZlbiknXCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjE3MjgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjE0MjEzNzQyMjEyNzR9

  One instance:

  http://logs.openstack.org/10/115110/20/check/check-tempest-dsvm-
  neutron-pg-full-2/3c885b8/logs/testr_results.html.gz

  Have not root caused it yet, and it affects a few projects

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