RHOSP) openstack 에서 vm 기동 시 발생하는 action log 분석 해보기
rhosp 에서 vm 을 관리하는 컨포넌트는 nova이므로 vm 관련 로그는 nova 컨테이너를 통해서 확인이 가능하다. (rhosp에서는 컨테이너 로그를 로컬 디렉토리인 /var/log/containers/ 에도 같이 저장한다.)
[root@cn02 nova]# cat nova-compute.log |grep f243eaae
2023-05-11 22:17:02.046 2 INFO oslo.privsep.daemon [req-f243eaae-0d82-491b-8b78-843698ddb03c 9a2e2fabecf241789b88b2847366db1f b4fd09ed562842a19776a088c687c55d - default default] Running privsep helper: ['sudo', 'nova-rootwrap', '/etc/nova/rootwrap.conf', 'privsep-helper', '--config-file', '/usr/share/nova/nova-dist.conf', '--config-file', '/etc/nova/nova.conf', '--privsep_context', 'vif_plug_ovs.privsep.vif_plug', '--privsep_sock_path', '/tmp/tmpiiu57xea/privsep.sock']
2023-05-11 22:17:03.693 2 INFO oslo.privsep.daemon [req-f243eaae-0d82-491b-8b78-843698ddb03c 9a2e2fabecf241789b88b2847366db1f b4fd09ed562842a19776a088c687c55d - default default] Spawned new privsep daemon via rootwrap
2023-05-11 22:17:04.080 2 INFO os_vif [req-f243eaae-0d82-491b-8b78-843698ddb03c 9a2e2fabecf241789b88b2847366db1f b4fd09ed562842a19776a088c687c55d - default default] Successfully unplugged vif VIFOpenVSwitch(active=False,address=fa:16:3e:9f:bb:6f,bridge_name='br-int',has_traffic_filtering=True,id=4e23f3e3-aee2-4144-967a-e8179b31b91f,network=Network(ae759962-0b1f-450b-a40e-2fc480dcdc8a),plugin='ovs',port_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=False,vif_name='tap4e23f3e3-ae')
2023-05-11 22:17:04.130 2 WARNING nova.virt.libvirt.volume.mount [req-f243eaae-0d82-491b-8b78-843698ddb03c 9a2e2fabecf241789b88b2847366db1f b4fd09ed562842a19776a088c687c55d - default default] Request to remove attachment (volume-9ce4fc5b-5ea1-4de3-a911-398dbbe0aae8, 97283f05-df0f-427a-845e-69ba9e7d1700) from /var/lib/nova/mnt/40d55001e20c8b0c18fba9e3735b045e, but we don't think it's in use.
2023-05-11 22:17:04.136 2 INFO nova.virt.libvirt.host [req-f243eaae-0d82-491b-8b78-843698ddb03c 9a2e2fabecf241789b88b2847366db1f b4fd09ed562842a19776a088c687c55d - default default] UEFI support detected
2023-05-11 22:17:04.175 2 WARNING nova.virt.libvirt.driver [req-f243eaae-0d82-491b-8b78-843698ddb03c 9a2e2fabecf241789b88b2847366db1f b4fd09ed562842a19776a088c687c55d - default default] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.
2023-05-11 22:17:04.199 2 INFO oslo.privsep.daemon [req-f243eaae-0d82-491b-8b78-843698ddb03c 9a2e2fabecf241789b88b2847366db1f b4fd09ed562842a19776a088c687c55d - default default] Running privsep helper: ['sudo', 'nova-rootwrap', '/etc/nova/rootwrap.conf', 'privsep-helper', '--config-file', '/usr/share/nova/nova-dist.conf', '--config-file', '/etc/nova/nova.conf', '--privsep_context', 'nova.privsep.sys_admin_pctxt', '--privsep_sock_path', '/tmp/tmp0rgo3j20/privsep.sock']
2023-05-11 22:17:05.443 2 INFO oslo.privsep.daemon [req-f243eaae-0d82-491b-8b78-843698ddb03c 9a2e2fabecf241789b88b2847366db1f b4fd09ed562842a19776a088c687c55d - default default] Spawned new privsep daemon via rootwrap
2023-05-11 22:17:06.397 2 INFO os_vif [req-f243eaae-0d82-491b-8b78-843698ddb03c 9a2e2fabecf241789b88b2847366db1f b4fd09ed562842a19776a088c687c55d - default default] Successfully plugged vif VIFOpenVSwitch(active=False,address=fa:16:3e:9f:bb:6f,bridge_name='br-int',has_traffic_filtering=True,id=4e23f3e3-aee2-4144-967a-e8179b31b91f,network=Network(ae759962-0b1f-450b-a40e-2fc480dcdc8a),plugin='ovs',port_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=False,vif_name='tap4e23f3e3-ae')