To check free_disk_gb,
> stats = libvirt_utils.get_fs_info(FLAGS.instances_path)
> return stats['total'] / (1024 ** 3)
I dont think disk space is not cheched on executing live-migration.
available disk space is only checked for kvm-block migration.
Kei
(2012/05/31 12:08), William Herry wrote:
When I run live-migration, it fail because of:
MigrationError_Remote: Migration error: Unable to migrate
e0fd9c27-cc7b-4420-bd8a-6dd9d5316929 to compute2: Lack of
disk(host:-188978561024 <= instance:37580963840)
In fact I have 170G free disk on compute2, then I check nova database
and find this in compute_nodes which compute2 have:
disk_available_least: -176
free_ram_mb: 41086
free_disk_gb: -149
my question is that, how nova get disk info and then fill to this db
by the way, horizon seems don't have ability to show host capabilities
which I can easy to know how much resource left on each node
Thanks
--
William Herry
====================
[email protected]
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp