[Openstack] (no subject)

Kei.masumoto kei.masumoto at gmail.com
Thu May 31 12:55:23 UTC 2012


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 at Gmail.com
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp





More information about the Openstack mailing list