Ask Your Question
0

Can not launch instance due to "Host has more disk space than database expected" [closed]

asked 2016-09-15 10:11:17 -0500

stackboy gravatar image

updated 2016-09-16 05:35:13 -0500

sunnyarora gravatar image

Hi,

I am creating and launching instance via HOT file (using execute image) . Here I am facing Host has more disk space than database expected and HTTP exception thrown: Instance could not be found issues. please find the details below.

Could you please help .. Thanks.

**glance image-list**
+--------------------------------------+-----------------+-------------+------------------+-------------+--------+
| ID                                   | Name            | Disk Format | Container Format | Size        | Status |
+--------------------------------------+-----------------+-------------+------------------+-------------+--------+
| be893b06-0cea-4f39-a9e8-c510e8e7dbec | test            | qcow2       | bare             | 1820589568  | active |
| 75e291a4-2c96-418a-bf30-37a70e08f29a | test2           | qcow2       | bare             | 720896      | active |
| 3b8fa3e3-b5ab-4e1a-a964-95a6901d5b1a | execute         | qcow2       | bare             | 13171163136 | active |
+--------------------------------------+-----------------+-------------+------------------+-------------+--------+

-

**nova hypervisor-list**
+----+---------------------+-------+---------+
| ID | Hypervisor hostname | State | Status  |
+----+---------------------+-------+---------+
| 1  | controller          | up    | enabled |
| 2  | node0-5             | up    | enabled |
| 3  | node0-7             | up    | enabled |
| 4  | node0-9             | up    | enabled |
| 5  | node0-11            | up    | enabled |
| 6  | node0-13            | up    | enabled |
| 7  | node0-15            | up    | enabled |
| 8  | node0-17            | up    | enabled |
| 9  | node0-19            | up    | enabled |
| 10 | node0-21            | up    | enabled |
| 11 | node0-23            | up    | enabled |
+----+---------------------+-------+---------+

-

**neutron agent-list**
+--------------------------------------+--------------------+-------------+-------+----------------+---------------------------+
| id                                   | agent_type         | host        | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+-------------+-------+----------------+---------------------------+
| 101392f1-9a80-4aa9-abeb-94d300c9d7d3 | DHCP agent         | network     | :-)   | True           | neutron-dhcp-agent        |
| 11299fa6-1e86-4910-a750-5d9df700d411 | Open vSwitch agent | node0-17    | :-)   | True           | neutron-openvswitch-agent |
| 3314610d-e914-49e8-93b9-c06fa2fc318c | Open vSwitch agent | controller  | :-)   | True           | neutron-openvswitch-agent |
| 42153cd0-f64d-4f9c-a15c-00e3f4587e7b | L3 agent           | network     | :-)   | True           | neutron-l3-agent          |
| 46325b01-97c5-4eb6-9ca3-5486997a9df8 | Open vSwitch agent | node0-13    | :-)   | True           | neutron-openvswitch-agent |
| 7a56784c-d8b5-4108-a543-23b6625e677d | Open vSwitch agent | node0-21    | :-)   | True           | neutron-openvswitch-agent |
| 7af98535-0b46-452a-a539-5d7fc41fb0ef | Open vSwitch agent | node0-9     | :-)   | True           | neutron-openvswitch-agent |
| 7b8a4484-8b35-4ad7-9f59-9d4d710c214c | Open vSwitch agent | node0-7     | :-)   | True           | neutron-openvswitch-agent |
| a9f197b2-74e9-466e-a7e3-c4a4ff426601 | Open vSwitch agent | node0-23    | :-)   | True           | neutron-openvswitch-agent |
| b577e390-6042-4ab8-80bf-fb56d59cac85 | Open vSwitch agent | node0-19    | :-)   | True           | neutron-openvswitch-agent |
| c89721ef-d7c4-49a3-99ea-6a520d2bbbb7 | Open vSwitch agent | node0-15    | :-)   | True           | neutron-openvswitch-agent |
| c90a20ad-f8f6-4f92-8228-1fb690584ce4 | Open vSwitch agent | node0-5     | :-)   | True           | neutron-openvswitch-agent |
| da2665db-745f-451a-a769-daa827354586 | Open vSwitch agent | network     | :-)   | True           | neutron-openvswitch-agent |
| e6c106b6-e2db-4e33-9de7-b5ed4a583c55 | Metadata agent     | network     | :-)   | True           | neutron-metadata-agent    |
| f3d8d59d-1815-422c-a6a9-36d501c8465c | Open vSwitch agent | node0-11    | :-)   | True           | neutron-openvswitch-agent |
+--------------------------------------+--------------------+-------------+-------+----------------+---------------------------+

-

**/var/log/nova/nova-api.log**

2016-09-15 08:46:20.304 26264 INFO nova.api.openstack.wsgi [req-9df02999-8c95-4593-a1c1-e37b4982961f None] HTTP exception thrown: Instance could not be found
2016-09-15 08:46:20.305 26264 INFO nova.osapi_compute.wsgi.server [req-9df02999-8c95-4593-a1c1-e37b4982961f None] 10.50.41.100 "GET /v2/508f068670a74efcbc621494535ace5d/servers/56ca6b63-87bb-41fb-a1b7-848dc54368a1 HTTP/1.1" status: 404 len: 267 time: 0.0311298
2016-09-15 08:46:20.311 26262 INFO nova.osapi_compute.wsgi.server [req-886669f2-2b44-4e8b-b657-3b2eda5b9c18 None] 10.50.41.100 "GET /v2/508f068670a74efcbc621494535ace5d/servers/detail?project_id=508f068670a74efcbc621494535ace5d HTTP/1.1" status: 200 len: 6357 time: 0.0647380
2016-09-15 08:46:20.425 26260 INFO nova.api.openstack.wsgi [req-9d5973e0-21c7-4bd0-84ef-7281aabbf20a None] HTTP exception thrown: Instance could not be found
2016-09-15 08:46:20.426 26260 INFO nova.osapi_compute.wsgi.server [req-9d5973e0-21c7-4bd0-84ef-7281aabbf20a None] 10.50.41.100 "GET /v2/508f068670a74efcbc621494535ace5d/servers/ef182996-bcc1-4ca5-a773-1c8f0f9ce8ab HTTP/1.1" status: 404 l

-

**/var/log/nova/nova-conductor.log**

2016-09-15 08:46:17.569 26068 ERROR nova.scheduler.utils [req-212e7d29-0cd5-4c13-941e-902f1e679bd9 None] [instance: 56ca6b63-87bb-41fb-a1b7-848dc54368a1] Error from last host: node0-21 (node node0-21): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2030, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2161, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance 56ca6b63-87bb-41fb-a1b7-848dc54368a1 was re-scheduled: 404 Not Found\n\nThe resource could not be found.\n\n   \n']
2016-09-15 08:46:17.570 26068 WARNING nova.scheduler.driver [req-212e7d29-0cd5-4c13-941e-902f1e679bd9 None] [instance: 56ca6b63-87bb-41fb-a1b7-848dc54368a1] NoValidHost exception with message: 'No valid host was found. Exceeded max scheduling attempts 3 for ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by stackboy
close date 2016-09-16 10:58:12.972284

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-09-16 07:13:36 -0500

simply put, the image you have, as is; is 792gb. The disk image uncompressed, is 984gb.

Create a disk greater than the size of 984gb or erase your image and reimport as raw (i see qcow2) to see whole uncompressed disk....

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-09-15 09:16:34 -0500

Seen: 846 times

Last updated: Sep 16 '16