How do I get Live Migration working

asked 2014-06-06 05:02:44 -0500

Jimbo007 gravatar image

updated 2014-06-10 09:22:39 -0500

I am currently testing with Icehouse on a small cloud with one controller and two compute nodes, using Gluster for shared storage. My install pre-creates the users on all hosts (to ensure that they are the same).

At the moment, I perform the following (on the compute nodes):
Set vncserver_listen "0.0.0.0" in nova.conf
Set listen_tcp = 1, listen_tls = 0
and auth_tcp = "none" in libvirtd.conf

Then, set env libvirtd_opts="-d -l" in /etc/init/libvirt-bin.conf
and libvirtd_opts="-d -l" in /etc/default/libvirt-bin

I have tried various configurations and the results are always Live Migration not work; but often includes Launching new instances failing also. Looking at the log files usually report a problem finding a (suitable) host.


I have tried to follow the documentation, but find it lacking (am I missing something?) - I am using Ubuntu 14.04 and there is no mention at all in the installation guide. The only mention I can find is for the Grizzly release.


Today I am following the instructions in the Admin Guide (from comment below) (again).
I have a controller running nova-api, nova-scheduler, cinder-volume; not nova-network and I am not using nova-objectstore; there are three nodes running nova-compute and nova-network.
I configure libvirt as above and then nova.conf with:
live_migration_flag = VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE

If I now try a Live Migration, I get the following error (nova-api.log)
2014-06-10 14:14:28.205 21819 INFO nova.api.openstack.wsgi [req-8b009cfd-716e-458d-a641-a7a98c5769bc f2d39b22063f4cd2b45e1572bbc4c5fe 359a4f8901214b86bccf56380f51452b] HTTP exception thrown: Compute service of dl360b is unavailable at this time.

But nova service-list shows all services as UP.

edit retag flag offensive close merge delete

Comments

Not clear what the problem is... did you read the documentation? what problems do you have exactly?

smaffulli gravatar imagesmaffulli ( 2014-06-06 16:48:20 -0500 )edit

Edit the question to add more details, avoid using comments for that. You may want to share relevant bits of the logs (edit the question). Have you looked at http://docs.openstack.org/admin-guide...

smaffulli gravatar imagesmaffulli ( 2014-06-09 10:27:02 -0500 )edit