← Back to team overview

openstack team mailing list archive

Re: Nova Live Migration Error

 

Hi Andrew,

Do you have a shared /var/lib/nova between the two instances?  If you do not then you won't be able to do a migration without using --block_migrate.


---
Joseph Breu
Deployment Engineer
Rackspace Cloud Builders
210-312-3508

On Mar 23, 2012, at 1:23 PM, Andrew Weiss wrote:

Hey guys,

Not sure if this is a bug or something wrong on my end. Attempting to conduct a live migration between two compute nodes I have running.  Using Essex release rc1.  When I execute the following command: 'nova live-migration <server_id> <compute hostname>' I get an HTTP 400 failure. Below is an error that I found in my nova-scheduler.log file:

ERROR: Live migration of instance 7a938bdb-9970-41fd-acc2-d27fa3d13088 to host computehost1 failed (HTTP 400)
(nova.rpc.amqp): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py", line 222, in schedule_live_migration
(nova.rpc.amqp): TRACE:     disk_over_commit)
(nova.rpc.amqp): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py", line 322, in _live_migration_common_check
(nova.rpc.amqp): TRACE:     self.mounted_on_same_shared_storage(context, instance_ref, dest)
(nova.rpc.amqp): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py", line 521, in mounted_on_same_shared_storage
(nova.rpc.amqp): TRACE:     raise exception.FileNotFound(file_path=filename)
(nova.rpc.amqp): TRACE: FileNotFound: File tmpQ9Ig08 could not be found.
(nova.rpc.amqp): TRACE:
2012-03-23 14:18:06 ERROR nova.rpc.amqp [req-aca97b5b-f456-4b9a-8561-ff12bd66aad9 10daac9302ba42eb9f4b592955680407 e57faa938486428a9ba6d77402f5279c] Returning exception File tmpQ9Ig08 could not be found. to caller
2012-03-23 14:18:06 ERROR nova.rpc.amqp [req-aca97b5b-f456-4b9a-8561-ff12bd66aad9 10daac9302ba42eb9f4b592955680407 e57faa938486428a9ba6d77402f5279c] ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 252, in _process_data\n    rval = node_func(context=ctxt, **node_args)\n', '  File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 97, in _schedule\n    context, ex, *args, **kwargs)\n', '  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__\n    self.gen.next()\n', '  File "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line 92, in _schedule\n    return driver_method(*args, **kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py", line 222, in schedule_live_migration\n    disk_over_commit)\n', '  File "/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py", line 322, in _live_migration_common_check\n    self.mounted_on_same_shared_storage(context, instance_ref, dest)\n', '  File "/usr/lib/python2.7/dist-packages/nova/scheduler/driver.py", line 521, in mounted_on_same_shared_storage\n    raise exception.FileNotFound(file_path=filename)\n', 'FileNotFound: File tmpQ9Ig08 could not be found.\n']

I can't seem to figure out what file is is trying to find. Just looking to get some guidance on this.

Thanks,

Andrew Weiss
weissa@xxxxxxxxxx <http://mailto:weissa@xxxxxxxxxx>
LinkedIn | http://www.linkedin.com/in/weissa

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


References