← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1861964] [NEW] availability_zone in request_specs not updated when live migrate vm from one availability zone to another

 

Public bug reported:

availability_zone in request_specs not updated when live migrate vm from
one availability zone to another, and if the old aggregate deleted or
host demount, vm migration will be failed.

Steps to reproduce
==================

1) create aggregation: aggregate01 using AZ: zone01, and bonding cmp001;
2) create aggregation: aggregate02 using AZ: zone02, and bonding cmp002;
3) create flavor: test_flavor01, and set properties fit to aggregate01;
4) create instance: test_vm01 using test_flavor01 and --availability-zone set to zome01;
5) check OS-EXT-AZ:availability_zone using 'openstack server show test_vm01' is set to zone01, and the vm's availability_zone in request_specs is set to zone01 too.
6) live migrate test_vm01 to cmp002;
7) check OS-EXT-AZ:availability_zone using 'openstack server show test_vm01' is set to zone02, but the vm's availability_zone in request_specs is still zone01.
8) demount cmp001 on aggregate01 or delete aggregate01;
9) live migrate test_vm01 will failed if don't set host. because availability_zone in request_specs is still zone01.

** 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/1861964

Title:
  availability_zone in request_specs not updated when live migrate vm
  from one availability zone to another

Status in OpenStack Compute (nova):
  New

Bug description:
  availability_zone in request_specs not updated when live migrate vm
  from one availability zone to another, and if the old aggregate
  deleted or host demount, vm migration will be failed.

  Steps to reproduce
  ==================

  1) create aggregation: aggregate01 using AZ: zone01, and bonding cmp001;
  2) create aggregation: aggregate02 using AZ: zone02, and bonding cmp002;
  3) create flavor: test_flavor01, and set properties fit to aggregate01;
  4) create instance: test_vm01 using test_flavor01 and --availability-zone set to zome01;
  5) check OS-EXT-AZ:availability_zone using 'openstack server show test_vm01' is set to zone01, and the vm's availability_zone in request_specs is set to zone01 too.
  6) live migrate test_vm01 to cmp002;
  7) check OS-EXT-AZ:availability_zone using 'openstack server show test_vm01' is set to zone02, but the vm's availability_zone in request_specs is still zone01.
  8) demount cmp001 on aggregate01 or delete aggregate01;
  9) live migrate test_vm01 will failed if don't set host. because availability_zone in request_specs is still zone01.

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


Follow ups