더북(TheBook)

19. 이번에는 컴퓨트 노드의 nova-compute.log 파일에는 어떤 로그들이 쌓이는지 확인해 보겠습니다. 메시지 내용을 전부 알 수는 없지만 이미지가 생성되었다는 Creating image, 인스턴스가 시작되었다는 VM Started, 인스턴스가 성공적으로 생성되었다는 Instance spawned successfully 메시지를 확인할 수 있습니다.

[root@compute ~]# tail -f /var/log/nova/nova-compute.log
2016-07-23 03:06:46.494 3294 INFO nova.virt.libvirt.driver [req-c627e6e9-75eb-
4711-a970-6a0bf17e3b59 8aedf79007d64d028cad6fdb49b66a9f 0609d5797b114c8583793
a4b77824692 - - -] [instance: 9b0ebd3a-b5bc-4f4b-a713-0180f56b551c] Creating
image
2016-07-23 03:06:48.010 3294 WARNING nova.virt.osinfo [req-c627e6e9-75eb-
4711-a970-6a0bf17e3b59 8aedf79007d64d028cad6fdb49b66a9f 0609d5797b114c8583
793a4b77824692 - - -] Cannot find OS information - Reason: (No configuration
information found for operating system Empty)
2016-07-23 03:06:48.790 3294 INFO nova.compute.manager [-] [instance: 9b0ebd3a-
b5bc-4f4b-a713-0180f56b551c] VM Started (Lifecycle Event)
2016-07-23 03:06:48.837 3294 INFO nova.compute.manager [req-338252ba-c585-4381-
a242-f59bb29fed63 - - - - -] [instance: 9b0ebd3a-b5bc-4f4b-a713-0180f56b551c] VM
Paused (Lifecycle Event)
2016-07-23 03:06:48.932 3294 INFO nova.compute.manager [req-338252ba-c585-4381-
a242-f59bb29fed63 - - - - -] [instance: 9b0ebd3a-b5bc-4f4b-a713-0180f56b551c]
During sync_power_state the instance has a pending task (spawning). Skip.
2016-07-23 03:06:52.741 3294 INFO nova.compute.manager [req-338252ba-c585-4381-
a242-f59bb29fed63 - - - - -] [instance: 9b0ebd3a-b5bc-4f4b-a713-0180f56b551c] VM
Resumed (Lifecycle Event)
2016-07-23 03:06:52.752 3294 INFO nova.virt.libvirt.driver [-] [instance:
9b0ebd3a-b5bc-4f4b-a713-0180f56b551c] Instance spawned successfully.

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.