Thank you and yes, I use kvm-block migration
On Thu, May 31, 2012 at 8:55 PM, Kei.masumoto <kei.masumoto@xxxxxxxxx
<mailto:kei.masumoto@xxxxxxxxx>> wrote:
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
====================
WilliamHerryChina@xxxxxxxxx
______________________________ _________________
Mailing list: https://launchpad.net/~ openstack
<https://launchpad.net/%7Eopenstack>
Post to : openstack@xxxxxxxxxxxxxxxxxxx
<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~ openstack
<https://launchpad.net/%7Eopenstack>
More help : https://help.launchpad.net/ ListHelp
<https://help.launchpad.net/ListHelp>
--
William Herry
====================
WilliamHerryChina@xxxxxxxxx