Bug 1496913 - Nova migrate instance failure due to negative disk_available_least
Summary: Nova migrate instance failure due to negative disk_available_least
Keywords:
Status: CLOSED DUPLICATE of bug 1477706
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Eoghan Glynn
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-28 18:26 UTC by Marc Methot
Modified: 2020-12-14 10:17 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-06 14:29:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Marc Methot 2017-09-28 18:26:24 UTC
Migrating an instance fails as nova reports that there is not enough available disk space. It reports a negative value.
This is very similar to: https://bugzilla.redhat.com/show_bug.cgi?id=1485427

However, "disk_allocation_ratio" is left at default (value=1) thus seemingly not the same issue.

using the "--disk-overcommit" still fails:
~~~
openstack server migrate 6143cff1-3306-4e90-b49a-c5faaa70ef94 --live  overcloud-compute-28.localdomain --disk-overcommit --debug
(...)
BadRequest: Migration pre-check error: Unable to migrate 6143cff1-3306-4e90-b49a-c5faaa70ef94: Disk of instance is too large(available on destination host:-1398011854848 < need:1638400) (HTTP 400) (Request-ID: req-70cf074b-caba-46fd-8d19-6f2923af5b44)
clean_up MigrateServer: Migration pre-check error: Unable to migrate 6143cff1-3306-4e90-b49a-c5faaa70ef94: Disk of instance is too large(available on destination host:-1398011854848 < need:1638400) (HTTP 400) (Request-ID: req-70cf074b-caba-46fd-8d19-6f2923af5b44)
~~~

~~~
[stack@txwlvcpdirector02 ~]$ nova hypervisor-stats
+----------------------+---------+
| Property             | Value   |
+----------------------+---------+
| count                | 23      |
| current_workload     | 0       |
| disk_available_least | -14395  |
| free_disk_gb         | -14576  |
| free_ram_mb          | 2116671 |
| local_gb             | 6394    |
| local_gb_used        | 20970   |
| memory_mb            | 9041737 |
| memory_mb_used       | 6925066 |
| running_vms          | 284     |
| vcpus                | 920     |
| vcpus_used           | 2025    |
+----------------------+---------+
[stack@txwlvcpdirector02 ~]$ cinder get-pools --detail
+-----------------------------+-----------------------------------+
|           Property          |               Value               |
+-----------------------------+-----------------------------------+
|         QoS_support         |               False               |
|        driver_version       |               1.3.0               |
|       filter_function       |                None               |
|       free_capacity_gb      |           26874.2961426           |
|      goodness_function      |                None               |
| max_over_subscription_ratio |                20.0               |
|             name            | hostgroup@tripleo_nfs#tripleo_nfs |
|   provisioned_capacity_gb   |                0.0                |
|     reserved_percentage     |                 0                 |
|      sparse_copy_volume     |                True               |
|       storage_protocol      |                nfs                |
|  thick_provisioning_support |               False               |
|  thin_provisioning_support  |                True               |
|          timestamp          |     2017-09-26T21:26:11.123650    |
|      total_capacity_gb      |           30841.1833496           |
|         vendor_name         |            Open Source            |
|     volume_backend_name     |            tripleo_nfs            |
+-----------------------------+-----------------------------------+
~~~

Comment 4 Matthew Booth 2017-10-06 14:29:57 UTC

*** This bug has been marked as a duplicate of bug 1477706 ***


Note You need to log in before you can comment on or make changes to this bug.