티스토리 뷰

VMWare 의 VM으로 OpenStack을 구성하는 경우 아래와 같은 메세지가 출력되는 경우가 있다.

아래 log는 libvirtd log상에 출력되는 메세지이다.


warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
warning: TCG doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]
warning: TCG doesn't support requested feature: CPUID.01H:ECX.x2apic [bit 21]
warning: TCG doesn't support requested feature: CPUID.01H:ECX.tsc-deadline [bit 24]
warning: TCG doesn't support requested feature: CPUID.01H:ECX.osxsave [bit 27]
warning: TCG doesn't support requested feature: CPUID.01H:ECX.avx [bit 28]
warning: TCG doesn't support requested feature: CPUID.01H:ECX.f16c [bit 29]
warning: TCG doesn't support requested feature: CPUID.01H:ECX.rdrand [bit 30]
warning: TCG doesn't support requested feature: CPUID.07H:EBX.tsc_adjust [bit 1]
warning: TCG doesn't support requested feature: CPUID.07H:EBX.erms [bit 9]


실제 위의 메시지와 함께 vm console을 연결하면 starting up 메세지에서 멈춰있다.

libvirtd와 연관된 kernel과의 문제로 보여지며 아래 설정을 변경하여 문제를 해결했다.


/etc/nova/nova.conf 내에 보면 nova가 vm 생성시 cpu model을 설정할수 있도록 되어 있다.

cpu_mode=custom

cpu_model=Opteron_G3


/usr/share/libvirt/cpu_map.xml 에 존재하는 cpu_model을 입력할수 있게 하는것으로 해당하는 모델에 맞는 feature가 지원되어야 한다.

위 설정을 변경 및 uncomment 해주고 compute node에 openstack-nova-compute service를 재시작하면 vm 생성시 문제 없이 동작한다.


혹 위설정 변경으로 안되는 경우에는 아래 설정을 변경하여 compute node reboot 혹은 openstack-nova-compute 서비스를 재시작한다.

/etc/nova/nova.conf

virt_type=qemu

cpu_mode=none

- https://ask.openstack.org/en/question/101928/instance-get-stuck-when-booting-grub/  


원인은 동일하지는 않지만 현상이 비슷하여 참고한 페이지이다.

https://lime-technology.com/forum/index.php?topic=48988.0


참고사이트

- https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/sect-libvirt-dom-xml-cpu-model-top.html 

'Cloud > Private Cloud' 카테고리의 다른 글

blk_update_request I/O error  (0) 2017.04.14
install vlc player on redhat linux  (0) 2017.04.06
error when tripleo overcloud deploying  (0) 2017.03.21
occur QEMU error when volume attach  (0) 2017.03.14
openstack undercloud install error  (0) 2017.03.06
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/03   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
글 보관함