yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #84873
[Bug 1910781] [NEW] Live migration to different host returns complete but nothing has happened
Public bug reported:
I created a server group with anti-affinity policy:
$ os server group create test-group --policy anti-affinity -fvalue -cid
10573804-7127-426d-be6b-409fb5968735
Created four servers as members:
$ os server create --flavor $FLAVOR \
--image $IMAGE \
--network $NET \
--hint group=10573804-7127-426d-be6b-409fb5968735 \
--max 4 \
test-server
Chose one server randomly and tried to live-migrate it to a host hosting
another member of the group:
$ os server group show 10573804-7127-426d-be6b-409fb5968735 -fvalue -cmembers | \
tr -d ' ' | tr , '\n' | \
xargs -n1 -P0 openstack server show -fvalue -cOS-EXT-SRV-ATTR:host
HOST1
HOST2
HOST3
HOST4
$ os server show 2edd275c-9f60-4191-a295-aaa0354f27b2 -fvalue -cOS-EXT-SRV-ATTR:host
HOST1
$os --os-compute-api-version 2.60 \
server migrate --host HOST2 \
--live-migration \
--wait \
2edd275c-9f60-4191-a295-aaa0354f27b2
Complete
$ os server show 2edd275c-9f60-4191-a295-aaa0354f27b2 -fvalue -cOS-EXT-SRV-ATTR:host
HOST1
This is fairly misleading since nothing actually happens (rightfully),
but the migrate commands doesn't give any indication of that fact.
The environment:
$ dpkg -l | grep nova
ii python-novaclient 2:3.3.1-2ubuntu1 all client library for OpenStack Compute API - Python 2.7
ii python3-novaclient 2:3.3.1-2ubuntu1 all client library for OpenStack Compute API - 3.x
Using QEMU hypervisor with KVM enabled:
$ qemu-system-x86_64 --version
QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.15~cloud1)
Nova versions on the compute:
$ dpkg-query -l | grep nova
ii nova-common 2:17.0.10-0ubuntu2~cloud0 all OpenStack Compute - common files
ii nova-compute 2:17.0.10-0ubuntu2~cloud0 all OpenStack Compute - compute node base
ii nova-compute-kvm 2:17.0.10-0ubuntu2~cloud0 all OpenStack Compute - compute node (KVM)
ii nova-compute-libvirt 2:17.0.10-0ubuntu2~cloud0 all OpenStack Compute - compute node libvirt support
ii python-nova 2:17.0.10-0ubuntu2~cloud0 all OpenStack Compute Python libraries
ii python-novaclient 2:9.1.1-0ubuntu1~cloud0 all client library for OpenStack Compute API - Python 2.7
** 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/1910781
Title:
Live migration to different host returns complete but nothing has
happened
Status in OpenStack Compute (nova):
New
Bug description:
I created a server group with anti-affinity policy:
$ os server group create test-group --policy anti-affinity -fvalue -cid
10573804-7127-426d-be6b-409fb5968735
Created four servers as members:
$ os server create --flavor $FLAVOR \
--image $IMAGE \
--network $NET \
--hint group=10573804-7127-426d-be6b-409fb5968735 \
--max 4 \
test-server
Chose one server randomly and tried to live-migrate it to a host
hosting another member of the group:
$ os server group show 10573804-7127-426d-be6b-409fb5968735 -fvalue -cmembers | \
tr -d ' ' | tr , '\n' | \
xargs -n1 -P0 openstack server show -fvalue -cOS-EXT-SRV-ATTR:host
HOST1
HOST2
HOST3
HOST4
$ os server show 2edd275c-9f60-4191-a295-aaa0354f27b2 -fvalue -cOS-EXT-SRV-ATTR:host
HOST1
$os --os-compute-api-version 2.60 \
server migrate --host HOST2 \
--live-migration \
--wait \
2edd275c-9f60-4191-a295-aaa0354f27b2
Complete
$ os server show 2edd275c-9f60-4191-a295-aaa0354f27b2 -fvalue -cOS-EXT-SRV-ATTR:host
HOST1
This is fairly misleading since nothing actually happens (rightfully),
but the migrate commands doesn't give any indication of that fact.
The environment:
$ dpkg -l | grep nova
ii python-novaclient 2:3.3.1-2ubuntu1 all client library for OpenStack Compute API - Python 2.7
ii python3-novaclient 2:3.3.1-2ubuntu1 all client library for OpenStack Compute API - 3.x
Using QEMU hypervisor with KVM enabled:
$ qemu-system-x86_64 --version
QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.15~cloud1)
Nova versions on the compute:
$ dpkg-query -l | grep nova
ii nova-common 2:17.0.10-0ubuntu2~cloud0 all OpenStack Compute - common files
ii nova-compute 2:17.0.10-0ubuntu2~cloud0 all OpenStack Compute - compute node base
ii nova-compute-kvm 2:17.0.10-0ubuntu2~cloud0 all OpenStack Compute - compute node (KVM)
ii nova-compute-libvirt 2:17.0.10-0ubuntu2~cloud0 all OpenStack Compute - compute node libvirt support
ii python-nova 2:17.0.10-0ubuntu2~cloud0 all OpenStack Compute Python libraries
ii python-novaclient 2:9.1.1-0ubuntu1~cloud0 all client library for OpenStack Compute API - Python 2.7
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1910781/+subscriptions
Follow ups