Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to launch new instance and nova boot command is failing with below error

Compute Node output on /var/log/nova/compute.log

tail -f compute.log 2014-05-22 12:23:45.326 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk' 2014-05-22 12:24:47.187 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk' 2014-05-22 12:25:39.480 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk' 2014-05-22 12:25:40.910 29582 WARNING nova.compute.manager [-] Found 2 in the database and 1 on the hypervisor. 2014-05-22 12:26:41.179 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk' 2014-05-22 12:27:43.181 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk' 2014-05-22 12:27:45.616 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk' 2014-05-22 12:28:47.265 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk' 2014-05-22 12:29:49.332 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'

2014-05-22 12:30:28.051 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'

Controller Node

nova list +--------------------------------------+--------------+--------+------------+-------------+----------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+--------------+--------+------------+-------------+----------------+ | 3074a2d5-08a0-4556-bbb7-12ed2282d128 | Centos-6.5 | ERROR | deleting | NOSTATE | | | f4ef69f4-c2b1-400d-a892-da19abac0701 | Centos-6.5.1 | ERROR | deleting | NOSTATE | vmnet=10.0.0.5 | | 95897497-f193-402e-b67f-91ee001e7cce | Centos-6.5.2 | BUILD | scheduling | NOSTATE | | | f91ec2c1-893e-4a57-8e36-1993f25999df | cirrOS | ACTIVE | - | Running | vmnet=10.0.0.2 |

+--------------------------------------+--------------+--------+------------+-------------+----------------+

Before this I have deleted the disk file in compute node and deleted entries in mysql nova database.

click to hide/show revision 2
No.2 Revision

Unable to launch new instance and nova boot command is failing with below error

Compute Node output on /var/log/nova/compute.log

====================================================================================================
tail -f compute.log
2014-05-22 12:23:45.326 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:24:47.187 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:25:39.480 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:25:40.910 29582 WARNING nova.compute.manager [-] Found 2 in the database and 1 on the hypervisor.
2014-05-22 12:26:41.179 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:27:43.181 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:27:45.616 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:28:47.265 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'
2014-05-22 12:29:49.332 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'

'/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk' 2014-05-22 12:30:28.051 29582 ERROR nova.virt.libvirt.driver [-] Getting disk size of instance-00000002: [Errno 2] No such file or directory: '/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk'

'/var/lib/nova/instances/ded56ad8-e5a2-46a6-b62e-c6519d6af402/disk' =================================================================================================

Controller Node

 nova list
+--------------------------------------+--------------+--------+------------+-------------+----------------+
| ID                                   | Name         | Status | Task State | Power State | Networks       |
+--------------------------------------+--------------+--------+------------+-------------+----------------+
| 3074a2d5-08a0-4556-bbb7-12ed2282d128 | Centos-6.5   | ERROR  | deleting   | NOSTATE     |                |
| f4ef69f4-c2b1-400d-a892-da19abac0701 | Centos-6.5.1 | ERROR  | deleting   | NOSTATE     | vmnet=10.0.0.5 |
| 95897497-f193-402e-b67f-91ee001e7cce | Centos-6.5.2 | BUILD  | scheduling | NOSTATE     |                |
| f91ec2c1-893e-4a57-8e36-1993f25999df | cirrOS       | ACTIVE | -          | Running     | vmnet=10.0.0.2 |

+--------------------------------------+--------------+--------+------------+-------------+----------------+

| +--------------------------------------+--------------+--------+------------+-------------+----------------+ ==============================================================================================

Before this I have deleted the disk file in compute node and deleted entries in mysql nova database.