VM migration fails with error 'Unable to create allocation for 'DISK_GB' on resource provider'

Problem

  • Migration of a VM instance fails with below error:
Javascript
Copy

Environment

  • Platform9 Managed OpenStack - v5.4.0 and Higher

Cause

  • The disk space was overcommitted on the source host and nova-scheduler does care about the disk space being over-committed on the source.

Resolution

  • Edit the /opt/pf9/etc/nova/conf.d/nova_override.conf file on the source host.
  • Increase "disk___allocation___ratio" (to a value something like 1.5).
  • Restart pf9-ostackhost service:
Javascript
Copy

Additional Information

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard