차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
rhel_cloud_qcow_이미지_설정 [2021/12/29 04:20] – [패키지 설치 및 서비스 구동] koovrhel_cloud_qcow_이미지_설정 [2023/11/07 08:23] (현재) koov
줄 1: 줄 1:
- 
 <WRAP center round info 100%> <WRAP center round info 100%>
 해당 문서는 KVM 에 배포할 redhat qcow guest image 생성하는 방법을 작성한 문서 입니다. 해당 문서는 KVM 에 배포할 redhat qcow guest image 생성하는 방법을 작성한 문서 입니다.
줄 97: 줄 96:
 </code> </code>
 </WRAP> </WRAP>
 +
 +===== 오류 =====
 +
 +<WRAP prewrap>
 +<code bash>
 +[   0.0] Examining the guest ...
 +virt-customize: error: libguestfs error: could not create appliance through
 +libvirt.
 +
 +Try running qemu directly without libvirt using this environment variable:
 +export LIBGUESTFS_BACKEND=direct
 +
 +Original error from libvirt: Cannot access storage file
 +'/root/Rocky-8-GenericCloud-Base.latest.x86_64.qcow2' (as uid:107,
 +gid:107): Permission denied [code=38 int1=13]
 +
 +If reporting bugs, run virt-customize with debugging enabled and include
 +the complete output:
 +
 +  virt-customize -v -x [...]
 +</code>
 +</WRAP>
 +위의 경우 환경변수에 ''LIBGUESTFS_BACKEND'' 가 설정되어있지 않아 발생하는 오류이다.
 +에러메시지에 나온대로 ''export LIBGUESTFS_BACKEND=direct''를 설정하면 된다.
 +
  • rhel_cloud_qcow_이미지_설정.1640751616.txt.gz
  • 마지막으로 수정됨: 2021/12/29 04:20
  • 저자 koov