我建立实例,状态error
请大家帮帮忙,我已经是第二次发了,自己找了好久,没找出问题
[root@controller ~]# nova boot --flavor m1.tiny --image cirros-0.3.2-x86_64 --nic net-id=91aeba1e-a0ed-4db9-bad7-fdc3d021312f --security-group default --key-name demo-key vm-cirros-vol
[root@controller ~]# nova list
+--------------------------------------+---------------+--------+------------+-------------+-------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+---------------+--------+------------+-------------+-------------------------+
| ef290c81-94ad-41b4-8cfb-c11bc709e4b5 | vm-cirros-vol | BUILD | spawning | NOSTATE | ext-net=192.168.100.104 |
+--------------------------------------+---------------+--------+------------+-------------+-------------------------+
[root@controller ~]# nova list
+--------------------------------------+---------------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+---------------+--------+------------+-------------+----------+
| ef290c81-94ad-41b4-8cfb-c11bc709e4b5 | vm-cirros-vol | ERROR | - | NOSTATE | |
+--------------------------------------+---------------+--------+------------+-------------+----------+
[root@controller ~]#nova show vm-cirros-vol +--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Property | Value | +--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ |OS-DCF:diskConfig |MANUAL | |OS-EXT-AZ:availability_zone |nova | |OS-EXT-SRV-ATTR:host |computer01 | |OS-EXT-SRV-ATTR:hypervisor_hostname |computer01 | |OS-EXT-SRV-ATTR:instance_name |instance-00000002 | |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 |2015-03-19T08:07:30Z | | fault |{"message": "No valid host was found. ", "code":500, "details": " File\"/usr/lib/python2.6/site-packages/nova/scheduler/filter_scheduler.py\",line 108, in schedule_run_instance | | | raiseexception.NoValidHost(reason=\"\") | | | ","created": "2015-03-19T08:07:55Z"} | | flavor | m1.tiny(1) | | hostId |9e9f5ee4c7e213ad0bc95bb18688aa058b924561d33b7a1ee5a6fb55 | | id |ef290c81-94ad-41b4-8cfb-c11bc709e4b5 | | image |cirros-0.3.2-x86_64 (f82f1eb7-c2f3-48cb-85d1-3535921cd175) | | key_name | demo-key | | metadata | {} | | name |vm-cirros-vol | |os-extended-volumes:volumes_attached | [] | | status | ERROR | | tenant_id |9b807b0dd7de4bba87c3e4704d9fa5e9 | | updated |2015-03-19T08:07:55Z | | user_id |07ca03740fef4388b0b1407ad0a1bbe1 | +--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|