← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1505476] [NEW] when live-migrate failed, remove_volume_connection function accept incorrect arguments order in kilo

 

Public bug reported:

Openstack Version : kilo 2015.1.0

Reproduce steps:

please see the paths of codes:openstack/nova/nova/compute/manager.py

def _rollback_live_migration(self, context, instance,dest,
block_migration, migrate_data=None):

    ......................
        for bdm in bdms:
            if bdm.is_volume:
                self.compute_rpcapi.remove_volume_connection(
                        context, instance, bdm.volume_id, dest)
    ......................
 
Actual result:

def remove_volume_connection(self, context, volume_id, instance):
    ......................
    ......................

Expected result:

def remove_volume_connection(self, context, instance, volume_id):


pelease check this bug , thanks.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  when live-migrate failed,remove_volume_connection function  accept
  incorrect arguments order  in kilo

Status in OpenStack Compute (nova):
  New

Bug description:
  Openstack Version : kilo 2015.1.0

  Reproduce steps:

  please see the paths of codes:openstack/nova/nova/compute/manager.py

  def _rollback_live_migration(self, context, instance,dest,
  block_migration, migrate_data=None):

      ......................
          for bdm in bdms:
              if bdm.is_volume:
                  self.compute_rpcapi.remove_volume_connection(
                          context, instance, bdm.volume_id, dest)
      ......................
   
  Actual result:

  def remove_volume_connection(self, context, volume_id, instance):
      ......................
      ......................

  Expected result:

  def remove_volume_connection(self, context, instance, volume_id):

  
  pelease check this bug , thanks.

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


Follow ups