← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1589548] Re: Live Migration failure: migrateToURI3() got an unexpected keyword argument 'bandwidth'

 

Reviewed:  https://review.openstack.org/325204
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0a6985a93f34e0038c21e985212038da5ea4ed8a
Submitter: Jenkins
Branch:    master

commit 0a6985a93f34e0038c21e985212038da5ea4ed8a
Author: Pawel Koniszewski <pawel.koniszewski@xxxxxxxxx>
Date:   Fri Jun 3 12:14:32 2016 +0200

    [libvirt] Incorrect parameters passed to migrateToURI3
    
    migrateToURI3 does not take 'bandwidth' argument so we shouldn't try
    to pass it. Actually it results with exception when libvirt>=1.2.17
    is used.
    
    Note the bandwidth parameter is already in the params list via the call
    from the libvirt driver in Nova so we don't have to check to see if it's
    already in 'params'. However, this is ugly and leaks libvirt API info
    out of the Guest object. That will be refactored and cleaned up in a
    follow-on change.
    
    Closes-Bug: #1589548
    
    Change-Id: Ieea2d955c763655e2b2abfb99fccb1a4c7169794


** Changed in: nova
       Status: In Progress => Fix Released

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

Title:
  Live Migration failure: migrateToURI3() got an unexpected keyword
  argument 'bandwidth'

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Seen in a recent CI job run in the experimental queue for the live
  migration job:

  http://logs.openstack.org/03/315703/1/experimental/gate-tempest-dsvm-
  multinode-live-migration/97e6c2a/logs/screen-n-cpu.txt.gz?level=TRACE

  2016-06-06 14:25:27.274 20342 ERROR nova.virt.libvirt.driver [req-1fdc0391-9baf-4e86-a528-123f1bbc5812 tempest-LiveBlockMigrationTestJSON-557430341 tempest-LiveBlockMigrationTestJSON-557430341] [instance: 33c87d9e-6475-4142-9f90-d035c4b4d691] Live Migration failure: migrateToURI3() got an unexpected keyword argument 'bandwidth'
  2016-06-06 14:25:27.275 20342 DEBUG nova.virt.libvirt.driver [req-1fdc0391-9baf-4e86-a528-123f1bbc5812 tempest-LiveBlockMigrationTestJSON-557430341 tempest-LiveBlockMigrationTestJSON-557430341] [instance: 33c87d9e-6475-4142-9f90-d035c4b4d691] Migration operation thread notification thread_finished /opt/stack/new/nova/nova/virt/libvirt/driver.py:6226
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 457, in fire_timers
      timer()
    File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 58, in __call__
      cb(*args, **kw)
    File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 168, in _do_send
      waiter.switch(result)
    File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main
      result = function(*args, **kwargs)
    File "/opt/stack/new/nova/nova/utils.py", line 1053, in context_wrapper
      return func(*args, **kwargs)
    File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 5755, in _live_migration_operation
      instance=instance)
    File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 221, in __exit__
      self.force_reraise()
    File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 197, in force_reraise
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 5751, in _live_migration_operation
      bandwidth=CONF.libvirt.live_migration_bandwidth)
    File "/opt/stack/new/nova/nova/virt/libvirt/guest.py", line 526, in migrate
      flags=flags, bandwidth=bandwidth)
    File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 186, in doit
      result = proxy_call(self._autowrap, f, *args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 144, in proxy_call
      rv = execute(f, *args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 125, in execute
      six.reraise(c, e, tb)
    File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 83, in tworker
      rv = meth(*args, **kwargs)
  TypeError: migrateToURI3() got an unexpected keyword argument 'bandwidth'

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


References