[Openstack] error when launching instance

Yngvi Páll Þorfinnsson yngvith at siminn.is
Fri Aug 28 11:11:13 UTC 2015


HI,

I can launch an instance, when using the option "boot from image" and then I just choose one from the list i.e. UbuntuServer1404.
But I get an error when choosing the option  "Boot from image (creates new volume)"

This stats according to "nova hypervisor-stats" show I'm out of free disk space.
i.e. the "free_disk_ge" is negative and the number is -864.

root at opst-ctrl1-dev:/# nova hypervisor-stats
+----------------------+--------+
| Property                          | Value  |
+----------------------+--------+
| count                                | 5      |
| current_workload       | 4      |
| disk_available_least   | 236    |
| free_disk_gb                 | -864   |
| free_ram_mb               | 412826 |
| local_gb                           | 386    |
| local_gb_used              | 1250   |
| memory_mb                 | 547482 |
| memory_mb_used    | 134656 |
| running_vms                 | 46     |
| vcpus                                | 144    |
| vcpus_used                   | 72     |

The stats in Horizon are coherent with these stats,
When I look at the
Admin->Hypervisors->Hypervisor Summary
I see the same restult

Disk Usage
Used 1.2TB of 386GB

i.e. the result is -814 (negative).

But my vg0 volume groups on all computer nodes still have plenty of space left, i.e. some 80+ GB.
According to the error, it has to do with the cinder servcie (block device)  ;

Error: Failed to launch instance "yp-test-33": Please try again later [Error: Build of instance be93dfeb-02eb-4ebb-989d-c033f24b5191 aborted: Failure prepping block device.].


I've created cinder-volumes on all computer nodes, and each cinder volume group has 800 GB disk.

Disk Usage
Used 1.2TB of 386GB


When I look at the "cinder stats" I can not find

But for this particular tenant ( which I used when trying to launch the instance) , this is the usage,
and there should be enough resources,

root at opst-ctrl1-dev:/# cinder quota-usage 7c0b82b2ace9471c92ae87f675e562f6
+-----------+--------+----------+-------+
|    Type   | In_use | Reserved | Limit |
+-----------+--------+----------+-------+
| gigabytes |  711   |    0     |  2000 |
| snapshots |   0    |    0     |   30  |
|  volumes  |   15   |    0     |   30  |
+-----------+--------+----------+-------+

root at opst-ctrl1-dev:/# cinder quota-show 7c0b82b2ace9471c92ae87f675e562f6
+-----------+-------+
|  Property | Value |
+-----------+-------+
| gigabytes |  2000 |
| snapshots |   30  |
|  volumes  |   30  |
+-----------+-------+


Can anyone please help me on this matter?  What stats am I missing?

Best regards
Yngvi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150828/ed5503ae/attachment.html>


More information about the Openstack mailing list