Ask Your Question
0

live-migration unable to execute QEMU command 'migrate'

asked 2016-07-01 17:25:52 -0500

yee379 gravatar image

updated 2016-07-02 01:00:40 -0500

i have set up my CentOS7+RDO Liberty environment and everything works fine. I would like to get non-shared block storage working; so running:

nova --insecure live-migration --block-migrate  9cc0eaa5-f14b-4ed1-86d3-cfd2453958ce neb0007

results in... nothing! but looking through the nova-compute logs i see:

Live Migration failure: internal error: unable to execute QEMU command 'migrate': this feature or command is not currently supported

my/etc/nova/nova.conf contains:

[libvirt]
virt_type=kvm
block_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_NON_SHARED_INC, VIR_MIGRATE_LIVE

my /etc/libvirt/libvirtd.conf

listen_tcp=1
tcp_port="16509"
listen_addr="0.0.0.0"
listen_tls=0
auth_tcp="none"

my /etc/sysconfig/libvirtd:

LIBVIRTD_ARGS="--listen"

my rpms:

# rpm -qa | grep libvirt
libvirt-client-1.2.17-13.el7_2.5.x86_64
libvirt-daemon-driver-nwfilter-1.2.17-13.el7_2.5.x86_64
libvirt-python-1.2.17-2.el7.x86_64
libvirt-daemon-1.2.17-13.el7_2.5.x86_64
libvirt-daemon-driver-qemu-1.2.17-13.el7_2.5.x86_64
libvirt-daemon-driver-nodedev-1.2.17-13.el7_2.5.x86_64
libvirt-daemon-driver-interface-1.2.17-13.el7_2.5.x86_64
libvirt-daemon-driver-storage-1.2.17-13.el7_2.5.x86_64
libvirt-daemon-kvm-1.2.17-13.el7_2.5.x86_64
libvirt-daemon-driver-network-1.2.17-13.el7_2.5.x86_64
libvirt-daemon-driver-secret-1.2.17-13.el7_2.5.x86_64

any pointers?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2016-07-03 10:04:11 -0500

Alberto Capella gravatar image

updated 2016-07-04 10:32:54 -0500

I had the same problem, my solution was to add the repository oVirt. Qemu on centos7 repository does not support migrate.

qemu-kvm-common-ev-2.3.0-29.1.el7.x86_64 qemu-kvm-ev-2.3.0-29.1.el7.x86_64

my /etc/libvirt/libvirtd.conf

listen_tls = 0 listen_tcp = 1 tcp_port = "16509" unix_sock_group = "libvirt" auth_tcp = "none"

my /etc/sysconfig/libvirtd

LIBVIRTD_CONFIG=/etc/libvirt/libvirtd.conf LIBVIRTD_ARGS="--listen"

my/etc/nova/nova.conf

virt_type = kvm live_migration_flag="VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_PERSIST_DEST,VIR_MIGRATE_TUNNELLED" live_migration_uri=qemu+tcp://nova@%s/system

edit flag offensive delete link more

Comments

I use oVirt repo and update qemu-kvm but it doesn't work. what did you do upgrade exactly?

feythin gravatar imagefeythin ( 2016-07-04 02:32:53 -0500 )edit

i pull the repo from http://resources.ovirt.org/pub/yum-repo/ovirt-release35.rpm and did an update.

yee379 gravatar imageyee379 ( 2016-08-12 20:05:37 -0500 )edit

i don't tested block-migrate, i tested live-migrate, previusly configured libvirt with ceph on nova compute nodes.

Alberto Capella gravatar imageAlberto Capella ( 2016-08-13 10:06:28 -0500 )edit
0

answered 2016-07-03 00:01:59 -0500

feythin gravatar image

the same problem.

I use the qemu-kvm-rhev repo and update qemu-kvm,it doesn't work.

qemu-kvm-common-ev-2.3.0-31.el7_2.10.1.x86_64

qemu-kvm-ev-2.3.0-31.el7_2.10.1.x86_64

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-07-01 17:25:52 -0500

Seen: 1,599 times

Last updated: Jul 04 '16