nova scheduler
I am working on Openstack Icehouse package. I installed Keystone, glance, Cinder and rabbitmq server in one virtual machine. Nova on another virtual machine. Now problem is Whenever launch the instance it throw errors
# nova boot --flavor 1 --image 3eea0501-c29a-4646-97f5-e853ff847ab5 cirrosvm2
+--------------------------------------+-----------------------------------------------+
| Property | Value |
+--------------------------------------+-----------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | - |
| OS-EXT-SRV-ATTR:hypervisor_hostname | - |
| OS-EXT-SRV-ATTR:instance_name | instance-0000001e |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | 35Cxvz9FaKHK |
| config_drive | |
| created | 2014-05-09T11:12:08Z |
| flavor | m1.tiny (1) |
| hostId | |
| id | 08892a76-ba1d-4f8d-a2d0-e5eaf1adeb42 |
| image | cirros (3eea0501-c29a-4646-97f5-e853ff847ab5) |
| key_name | - |
| metadata | {} |
| name | cirrosvm2 |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| security_groups | default |
| status | BUILD |
| tenant_id | 9ab7bb377eb74a53ac2557e3ba118c65 |
| updated | 2014-05-09T11:12:08Z |
| user_id | 9f198f7ae46b47719fb3fcd9af2ed496 |
+--------------------------------------+-----------------------------------------------+
# nova list
+--------------------------------------+-----------+---------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-----------+---------+------------+-------------+--------+
| 08892a76-ba1d-4f8d-a2d0-e5eaf1adeb42 | cirrosvm2 | ERROR | - | NOSTATE | |
+--------------------------------------+-----------+---------+------------+-------------+--------+
# nova show 08892a76-ba1d-4f8d-a2d0-e5eaf1adeb42
+--------------------------------------------------------------------------------------------------
Property | Value
+-------------------------------------------------------------------------------------------
| OS-DCF:diskConfig | MANUAL
| OS-EXT-AZ:availability_zone | nova
| OS-EXT-SRV-ATTR:host | -
| OS-EXT-SRV-ATTR:hypervisor_hostname | -
| OS-EXT-SRV-ATTR:instance_name | instance-0000001e
| OS-EXT-STS:power_state | 0
| OS-EXT-STS:task_state | -
| OS-EXT-STS:vm_state | error
| OS-SRV-USG:launched_at | -
| OS-SRV-USG:terminated_at | -
| accessIPv4 |
| accessIPv6 |
| config_drive |
| created | 2014-05-09T11:12:08Z
| fault | {"message": "No valid host was found. ", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py\", line 108, in schedule_run_instance |
| | raise exception.NoValidHost(reason=\"\")
| | ", "created": "2014-05-09T11:12:08Z"}
| flavor | m1.tiny (1)
| hostId |
| id | 08892a76-ba1d-4f8d-a2d0-e5eaf1adeb42
| image | cirros (3eea0501-c29a-4646-97f5-e853ff847ab5)
| key_name | -
| metadata | {}
| name | cirrosvm2
| os-extended-volumes:volumes_attached | []
| security_groups | default
| status | ERROR
| tenant_id | 9ab7bb377eb74a53ac2557e3ba118c65
| updated | 2014-05-09T11:12:08Z
| user_id | 9f198f7ae46b47719fb3fcd9af2ed496
In nova-scheduler logs:
2014-05-09 16:42:08.642 3994 WARNING nova.scheduler.driver [req-0f445770-97a2-4ecf-896e-1b894999c3ba 9f198f7ae46b47719fb3fcd9af2ed496 9ab7bb377eb74a53ac2557e3ba118c65] [instance: 08892a76-ba1d-4f8d-a2d0-e5eaf1adeb42] Setting instance to ERROR state.
In nova-compute logs:
2014-05-09 16:41:41.157 4031 WARNING nova.virt.libvirt.driver [-] URI qemu:///system does not support events: internal error: could not initialize domain event timer
WARNING nova.compute.manager [req-9fe4339b-18f6-4c0f-af79-82f6e8eddf13 None None] Found 1 in the database and 0 on the hypervisor
In libvirt logs :
2014-05-09 10:57:40.539+0000: 1866: info : libvirt version: 1.2.2
2014-05-09 10:57:40.539+0000: 1866: error : virNetSocketReadWire:1454 : End of file while reading data: Input/output error
2014-05-09 11:01:23.172+0000: 1866: error : virNetSocketReadWire:1454 : End of file while reading data: Input/output error
2014-05-09 11:03:42.046+0000: 1763: info : libvirt version: 1.2.2
2014-05-09 11:03:42.046+0000: 1763: error : virNetSocketReadWire:1454 : End of file while reading data: Input/output error
2014-05-09 11:09:40.780+0000: 1763: error : virNetSocketReadWire:1454 : End of file while reading data: Input/output error
2014-05-09 11:11:23.754+0000: 1763: error : virNetSocketReadWire:1454 : End of file while reading data: Input/output error
2014-05-09 12:48:50.348+0000: 1763: error : netcfStateCleanup:109 : internal error: Attempt to close netcf state driver with open connections
How to solve this problem ? Anyone help me.... Thanks in Advance
are you using neutron for networks, in that you need to specify nic. also check if nova availability zone is available and n-cpu is running.
i didnt install neutron till now.