Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2015
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.84 KB | None | 0 0
  1. [root@nailgun ~]# fuel --f
  2. DEPRECATION WARNING: /etc/fuel/client/config.yaml exists and will be used as the source for settings. This behavior is deprecated. Please specify the path to your custom settings file in the FUELCLIENT_CUSTOM_SETTINGS environment variable.
  3. api: '1.0'
  4. astute_sha: 53c86cba593ddbac776ce5a3360240274c20738c
  5. auth_required: true
  6. build_id: '257'
  7. build_number: '257'
  8. feature_groups:
  9. - mirantis
  10. fuel-agent_sha: 1e8f38bbb864ed99aa8fe862b6367e82afec3263
  11. fuel-library_sha: bc04a7092d92400c79e6ea6ede25e7b67c6a6355
  12. fuel-nailgun-agent_sha: d7027952870a35db8dc52f185bb1158cdd3d1ebd
  13. fuel-ostf_sha: 644db51186dc23c9b27e9b5486c120c8363dc87c
  14. fuelmain_sha: 0e54d68392b359bc122e5bbba9249c729eeaf579
  15. nailgun_sha: 3189ccfb8c1dac888e351f535b03bdbc9d392406
  16. openstack_version: 2015.1.0-7.0
  17. production: docker
  18. python-fuelclient_sha: 9643fa07f1290071511066804f962f62fe27b512
  19. release: '7.0'
  20. release_versions:
  21. 2015.1.0-7.0:
  22. VERSION:
  23. api: '1.0'
  24. astute_sha: 53c86cba593ddbac776ce5a3360240274c20738c
  25. build_id: '257'
  26. build_number: '257'
  27. feature_groups:
  28. - mirantis
  29. fuel-agent_sha: 1e8f38bbb864ed99aa8fe862b6367e82afec3263
  30. fuel-library_sha: bc04a7092d92400c79e6ea6ede25e7b67c6a6355
  31. fuel-nailgun-agent_sha: d7027952870a35db8dc52f185bb1158cdd3d1ebd
  32. fuel-ostf_sha: 644db51186dc23c9b27e9b5486c120c8363dc87c
  33. fuelmain_sha: 0e54d68392b359bc122e5bbba9249c729eeaf579
  34. nailgun_sha: 3189ccfb8c1dac888e351f535b03bdbc9d392406
  35. openstack_version: 2015.1.0-7.0
  36. production: docker
  37. python-fuelclient_sha: 9643fa07f1290071511066804f962f62fe27b512
  38. release: '7.0'
  39.  
  40.  
  41. root@node-1:~# nova boot --image TestVM --flavor m1.micro --nic net-id=$(neutron net-list | awk '/net04 / {print $2}') --config-drive=true test1
  42. +--------------------------------------+-------------------------------------------------+
  43. | Property | Value |
  44. +--------------------------------------+-------------------------------------------------+
  45. | OS-DCF:diskConfig | MANUAL |
  46. | OS-EXT-AZ:availability_zone | nova |
  47. | OS-EXT-SRV-ATTR:host | - |
  48. | OS-EXT-SRV-ATTR:hypervisor_hostname | - |
  49. | OS-EXT-SRV-ATTR:instance_name | instance-0000002e |
  50. | OS-EXT-STS:power_state | 0 |
  51. | OS-EXT-STS:task_state | scheduling |
  52. | OS-EXT-STS:vm_state | building |
  53. | OS-SRV-USG:launched_at | - |
  54. | OS-SRV-USG:terminated_at | - |
  55. | accessIPv4 | |
  56. | accessIPv6 | |
  57. | adminPass | 2BmreQbSKDb4 |
  58. | config_drive | True |
  59. | created | 2015-09-03T12:09:42Z |
  60. | flavor | m1.micro (37f04fa2-5fe8-4c7f-a668-77417dce5c58) |
  61. | hostId | |
  62. | id | 39bccbf5-3a43-4e14-9efa-e9fee14476d6 |
  63. | image | TestVM (07012d71-fb4e-4db6-8488-a7999ad441c5) |
  64. | key_name | - |
  65. | metadata | {} |
  66. | name | test1 |
  67. | os-extended-volumes:volumes_attached | [] |
  68. | progress | 0 |
  69. | security_groups | default |
  70. | status | BUILD |
  71. | tenant_id | 2373830893d74d3caa1e89bcfc411b13 |
  72. | updated | 2015-09-03T12:09:44Z |
  73. | user_id | b707fcdc15344e64abee857b9af52191 |
  74. +--------------------------------------+-------------------------------------------------+
  75.  
  76. root@node-1:~# nova list
  77. +--------------------------------------+-------+--------+------------+-------------+---------------------+
  78. | ID | Name | Status | Task State | Power State | Networks |
  79. +--------------------------------------+-------+--------+------------+-------------+---------------------+
  80. | 39bccbf5-3a43-4e14-9efa-e9fee14476d6 | test1 | ERROR | - | NOSTATE | net04=192.168.111.7 |
  81. +--------------------------------------+-------+--------+------------+-------------+---------------------+
  82. root@node-1:~# nova show 39bccbf5-3a43-4e14-9efa-e9fee14476d6
  83. +--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  84. | Property | Value |
  85. +--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  86. | OS-DCF:diskConfig | MANUAL |
  87. | OS-EXT-AZ:availability_zone | nova |
  88. | OS-EXT-SRV-ATTR:host | node-4.test.domain.local |
  89. | OS-EXT-SRV-ATTR:hypervisor_hostname | node-4.test.domain.local |
  90. | OS-EXT-SRV-ATTR:instance_name | instance-0000002e |
  91. | OS-EXT-STS:power_state | 0 |
  92. | OS-EXT-STS:task_state | - |
  93. | OS-EXT-STS:vm_state | error |
  94. | OS-SRV-USG:launched_at | - |
  95. | OS-SRV-USG:terminated_at | - |
  96. | accessIPv4 | |
  97. | accessIPv6 | |
  98. | config_drive | True |
  99. | created | 2015-09-03T12:09:42Z |
  100. | fault | {"message": "No valid host was found. There are not enough hosts available.", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/conductor/manager.py\", line 671, in build_instances |
  101. | | request_spec, filter_properties) |
  102. | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py\", line 337, in wrapped |
  103. | | return func(*args, **kwargs) |
  104. | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py\", line 52, in select_destinations |
  105. | | context, request_spec, filter_properties) |
  106. | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py\", line 37, in __run_method |
  107. | | return getattr(self.instance, __name)(*args, **kwargs) |
  108. | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py\", line 34, in select_destinations |
  109. | | context, request_spec, filter_properties) |
  110. | | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py\", line 120, in select_destinations |
  111. | | request_spec=request_spec, filter_properties=filter_properties) |
  112. | | File \"/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py\", line 156, in call |
  113. | | retry=self.retry) |
  114. | | File \"/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py\", line 90, in _send |
  115. | | timeout=timeout, retry=retry) |
  116. | | File \"/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py\", line 350, in send |
  117. | | retry=retry) |
  118. | | File \"/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py\", line 341, in _send |
  119. | | raise result |
  120. | | ", "created": "2015-09-03T12:10:21Z"} |
  121. | flavor | m1.micro (37f04fa2-5fe8-4c7f-a668-77417dce5c58) |
  122. | hostId | f3819d0f31fbbadce6f79d83044b7f30dae6e8e9c88b50aced2043c0 |
  123. | id | 39bccbf5-3a43-4e14-9efa-e9fee14476d6 |
  124. | image | TestVM (07012d71-fb4e-4db6-8488-a7999ad441c5) |
  125. | key_name | - |
  126. | metadata | {} |
  127. | name | test1 |
  128. | net04 network | 192.168.111.7 |
  129. | os-extended-volumes:volumes_attached | [] |
  130. | security_groups | default |
  131. | status | ERROR |
  132. | tenant_id | 2373830893d74d3caa1e89bcfc411b13 |
  133. | updated | 2015-09-03T12:10:21Z |
  134. | user_id | b707fcdc15344e64abee857b9af52191 |
  135. +--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  136.  
  137.  
  138. compute:
  139. 2015-09-03 12:09:50.114 568 INFO nova.scheduler.client.report [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] Compute_service record updated for ('node-5.test.domain.local', 'node-5.test.domain.local')
  140. 2015-09-03 12:09:51.629 568 INFO nova.virt.libvirt.driver [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Creating image
  141. 2015-09-03 12:09:53.679 568 INFO nova.virt.libvirt.driver [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Using config drive
  142. 2015-09-03 12:09:55.512 568 INFO nova.virt.libvirt.driver [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Creating config drive at /var/lib/nova/instances/39bccbf5-3a43-4e14-9efa-e9fee14476d6/disk.config
  143. 2015-09-03 12:09:55.556 568 ERROR nova.compute.manager [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Instance failed to spawn
  144. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Traceback (most recent call last):
  145. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2465, in _build_resources
  146. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] yield resources
  147. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2337, in _build_and_run_instance
  148. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] block_device_info=block_device_info)
  149. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2405, in spawn
  150. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] admin_pass=admin_password)
  151. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2884, in _create_image
  152. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] cdb.make_drive(configdrive_path)
  153. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/nova/virt/configdrive.py", line 163, in make_drive
  154. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] self._make_iso9660(path, tmpdir)
  155. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/nova/virt/configdrive.py", line 117, in _make_iso9660
  156. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] run_as_root=False)
  157. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 207, in execute
  158. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] return processutils.execute(*cmd, **kwargs)
  159. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/oslo_concurrency/processutils.py", line 242, in execute
  160. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] env=env_variables)
  161. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/dist-packages/eventlet/green/subprocess.py", line 47, in __init__
  162. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds)
  163. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
  164. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] errread, errwrite)
  165. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
  166. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] raise child_exception
  167. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] OSError: [Errno 2] No such file or directory
  168. 2015-09-03 12:09:55.556 568 TRACE nova.compute.manager [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6]
  169. 2015-09-03 12:09:55.563 568 INFO nova.compute.manager [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Terminating instance
  170. 2015-09-03 12:09:55.572 568 INFO nova.virt.libvirt.driver [-] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] During wait destroy, instance disappeared.
  171. 2015-09-03 12:09:55.806 568 INFO nova.virt.libvirt.driver [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Deleting instance files /var/lib/nova/instances/39bccbf5-3a43-4e14-9efa-e9fee14476d6_del
  172. 2015-09-03 12:09:55.808 568 INFO nova.virt.libvirt.driver [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] [instance: 39bccbf5-3a43-4e14-9efa-e9fee14476d6] Deletion of /var/lib/nova/instances/39bccbf5-3a43-4e14-9efa-e9fee14476d6_del complete
  173. 2015-09-03 12:09:57.167 568 INFO nova.scheduler.client.report [req-c27d9332-9564-4308-b4de-121bd1be600e b707fcdc15344e64abee857b9af52191 2373830893d74d3caa1e89bcfc411b13 - - -] Compute_service record updated for ('node-5.test.domain.local', 'node-5.test.domain.local')
  174. 2015-09-03 12:10:21.233 568 INFO nova.compute.resource_tracker [req-ed7a053b-51eb-47f5-bbf0-162f3868557f - - - - -] Auditing locally available compute resources for node node-5.test.domain.local
  175. 2015-09-03 12:10:22.303 568 INFO nova.compute.resource_tracker [req-ed7a053b-51eb-47f5-bbf0-162f3868557f - - - - -] Total usable vcpus: 1, total allocated vcpus: 0
  176.  
  177. without 'config_drive' option instance created successfully
  178.  
  179. root@node-1:~# nova boot --image TestVM --flavor m1.micro --nic net-id=$(neutron net-list | awk '/net04 / {print $2}') test1
  180. +--------------------------------------+-------------------------------------------------+
  181. | Property | Value |
  182. +--------------------------------------+-------------------------------------------------+
  183. | OS-DCF:diskConfig | MANUAL |
  184. | OS-EXT-AZ:availability_zone | nova |
  185. | OS-EXT-SRV-ATTR:host | - |
  186. | OS-EXT-SRV-ATTR:hypervisor_hostname | - |
  187. | OS-EXT-SRV-ATTR:instance_name | instance-00000031 |
  188. | OS-EXT-STS:power_state | 0 |
  189. | OS-EXT-STS:task_state | scheduling |
  190. | OS-EXT-STS:vm_state | building |
  191. | OS-SRV-USG:launched_at | - |
  192. | OS-SRV-USG:terminated_at | - |
  193. | accessIPv4 | |
  194. | accessIPv6 | |
  195. | adminPass | p2zTtySmUJe4 |
  196. | config_drive | |
  197. | created | 2015-09-03T12:19:14Z |
  198. | flavor | m1.micro (37f04fa2-5fe8-4c7f-a668-77417dce5c58) |
  199. | hostId | |
  200. | id | 85ab454c-9264-4b59-941b-9be87e6040b5 |
  201. | image | TestVM (07012d71-fb4e-4db6-8488-a7999ad441c5) |
  202. | key_name | - |
  203. | metadata | {} |
  204. | name | test1 |
  205. | os-extended-volumes:volumes_attached | [] |
  206. | progress | 0 |
  207. | security_groups | default |
  208. | status | BUILD |
  209. | tenant_id | 2373830893d74d3caa1e89bcfc411b13 |
  210. | updated | 2015-09-03T12:19:15Z |
  211. | user_id | b707fcdc15344e64abee857b9af52191 |
  212. +--------------------------------------+-------------------------------------------------+
  213. root@node-1:~# nova list
  214. +--------------------------------------+-------+--------+------------+-------------+---------------------+
  215. | ID | Name | Status | Task State | Power State | Networks |
  216. +--------------------------------------+-------+--------+------------+-------------+---------------------+
  217. | 39bccbf5-3a43-4e14-9efa-e9fee14476d6 | test1 | ERROR | - | NOSTATE | net04=192.168.111.7 |
  218. | 85ab454c-9264-4b59-941b-9be87e6040b5 | test1 | ACTIVE | - | Running | net04=192.168.111.8 |
  219. +--------------------------------------+-------+--------+------------+-------------+---------------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement