[Openstack] Is there a way to tell Nova not to count NFS-mounted instances directory to disk space on each node?
chris.friesen at windriver.com
Thu Nov 7 20:15:23 UTC 2013
On 11/07/2013 01:56 PM, Daniel Speichert wrote:
> There is compute_nodes file in /var/lib/nova/instances with the
> hostnames of all compute nodes using that storage so it should be
> possible and easy to figure out if that is a shared storage or not.
Presumably this wouldn't help if you've only configured one compute node
in the system so far but plan on adding more.
Also, this doesn't handle the "nova host-evacuate" case with a mix of
local and shared storage.
If we were going to put a shared-storage entry in /etc/nova/nova.conf,
maybe it would make sense to give it a name as well....that way you
could indicate that a subset of machines share instance storage, and the
scheduler could limit itself to attempting migration/evacuation to other
compute nodes that use the same shared storage.
More information about the Openstack