Advertisement
Guest User

VM not booting

a guest
Apr 19th, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.98 KB | None | 0 0
  1. root@openstack-controller:/home/user# nova boot --flavor m1.nano --image cirros-0.3.3-x86_64 --nic net-id=fc2c70b2-e404-46bb-83cb-f76e6eafffa4 i1
  2. +--------------------------------------+------------------------------------------------------------+
  3. | Property | Value |
  4. +--------------------------------------+------------------------------------------------------------+
  5. | OS-DCF:diskConfig | MANUAL |
  6. | OS-EXT-AZ:availability_zone | nova |
  7. | OS-EXT-SRV-ATTR:host | - |
  8. | OS-EXT-SRV-ATTR:hypervisor_hostname | - |
  9. | OS-EXT-SRV-ATTR:instance_name | instance-00000030 |
  10. | OS-EXT-STS:power_state | 0 |
  11. | OS-EXT-STS:task_state | scheduling |
  12. | OS-EXT-STS:vm_state | building |
  13. | OS-SRV-USG:launched_at | - |
  14. | OS-SRV-USG:terminated_at | - |
  15. | accessIPv4 | |
  16. | accessIPv6 | |
  17. | adminPass | d3hLAppKiUo7 |
  18. | config_drive | |
  19. | created | 2015-04-19T13:46:05Z |
  20. | flavor | m1.nano (7) |
  21. | hostId | |
  22. | id | 032a51df-ebe8-4b63-b220-07a6017fad58 |
  23. | image | cirros-0.3.3-x86_64 (68156038-cf09-4eb3-baf0-010a0646a5f4) |
  24. | key_name | - |
  25. | metadata | {} |
  26. | name | i1 |
  27. | os-extended-volumes:volumes_attached | [] |
  28. | progress | 0 |
  29. | security_groups | default |
  30. | status | BUILD |
  31. | tenant_id | e3ac23ce854541efa7e38434a3ea1bfe |
  32. | updated | 2015-04-19T13:46:05Z |
  33. | user_id | ee64c6f81ddb40358d1cf6df3a198141 |
  34. +--------------------------------------+------------------------------------------------------------+
  35. root@openstack-controller:/home/user# nova show i1
  36. +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  37. | Property | Value |
  38. +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  39. | OS-DCF:diskConfig | MANUAL |
  40. | OS-EXT-AZ:availability_zone | nova |
  41. | OS-EXT-SRV-ATTR:host | openstack-compute |
  42. | OS-EXT-SRV-ATTR:hypervisor_hostname | openstack-compute |
  43. | OS-EXT-SRV-ATTR:instance_name | instance-00000030 |
  44. | OS-EXT-STS:power_state | 0 |
  45. | OS-EXT-STS:task_state | - |
  46. | OS-EXT-STS:vm_state | error |
  47. | OS-SRV-USG:launched_at | - |
  48. | OS-SRV-USG:terminated_at | - |
  49. | accessIPv4 | |
  50. | accessIPv6 | |
  51. | config_drive | |
  52. | created | 2015-04-19T13:46:05Z |
  53. | fault | {"message": "No valid host was found. ", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/conductor/manager.py\", line 616, in build_instances |
  54. | | request_spec, filter_properties) |
  55. | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py\", line 49, in select_destinations |
  56. | | context, request_spec, filter_properties) |
  57. | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py\", line 35, in __run_method |
  58. | | return getattr(self.instance, __name)(*args, **kwargs) |
  59. | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py\", line 34, in select_destinations |
  60. | | context, request_spec, filter_properties) |
  61. | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py\", line 108, in select_destinations |
  62. | | request_spec=request_spec, filter_properties=filter_properties) |
  63. | | File \"/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py\", line 152, in call |
  64. | | retry=self.retry) |
  65. | | File \"/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py\", line 90, in _send |
  66. | | timeout=timeout, retry=retry) |
  67. | | File \"/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py\", line 408, in send |
  68. | | retry=retry) |
  69. | | File \"/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py\", line 399, in _send |
  70. | | raise result |
  71. | | ", "created": "2015-04-19T13:46:07Z"} |
  72. | flavor | m1.nano (7) |
  73. | hostId | 368ef4d35a41f01123bfcd3bf91e773d3f1c2fc7f3b09ca436db7c3a |
  74. | id | 032a51df-ebe8-4b63-b220-07a6017fad58 |
  75. | image | cirros-0.3.3-x86_64 (68156038-cf09-4eb3-baf0-010a0646a5f4) |
  76. | key_name | - |
  77. | metadata | {} |
  78. | name | i1 |
  79. | net network | 10.0.0.7 |
  80. | os-extended-volumes:volumes_attached | [] |
  81. | security_groups | default |
  82. | status | ERROR |
  83. | tenant_id | e3ac23ce854541efa7e38434a3ea1bfe |
  84. | updated | 2015-04-19T13:46:07Z |
  85. | user_id | ee64c6f81ddb40358d1cf6df3a198141 |
  86. +--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  87.  
  88. But in nova-compute.log in compute node I see this.
  89.  
  90. 2015-04-19 06:49:18.817 5147 DEBUG nova.network.base_api [-] Updating cache with info: [VIF({'profile': {}, 'ovs_interfaceid': None, 'network': Network({'bridge': None, 'subnets': [Subnet({'ips': [FixedIP({'meta': {}, 'version': 4, 'type': 'fixed', 'floating_ips': [], 'address': u'10.0.0.7'})], 'version': 4, 'meta': {'dhcp_server': u'10.0.0.3'}, 'dns': [], 'routes': [], 'cidr': u'10.0.0.0/24', 'gateway': IP({'meta': {}, 'version': 4, 'type': 'gateway', 'address': u'10.0.0.1'})})], 'meta': {'injected': False, 'tenant_id': u'e3ac23ce854541efa7e38434a3ea1bfe'}, 'id': u'fc2c70b2-e404-46bb-83cb-f76e6eafffa4', 'label': u'net'}), 'devname': u'tap8849062d-86', 'vnic_type': u'normal', 'qbh_params': None, 'meta': {}, 'details': {}, 'address': u'fa:16:3e:6d:61:60', 'active': False, 'type': u'binding_failed', 'id': u'8849062d-86bf-4fe7-b1ec-d76e53e04b20', 'qbg_params': None})] update_instance_cache_with_nw_info /usr/lib/python2.7/dist-packages/nova/network/base_api.py:40
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement