Repository navigation
[Fix] Kolla nova_libvirt 컨테이너 점검 지원 - #26
Open
callme-waffle wants to merge 1 commit into
Open
callme-waffle wants to merge 1 commit into
callme-waffle wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
💡 설명
Kolla 환경에서 libvirt가
nova_libvirt컨테이너 내부에 있는데도 호스트의virsh만 실행하여 KVM default network 점검과 조치가 누락되는 문제를 수정합니다.Closes #18
✅ 작업 상세 내용
auto,host,kollalibvirt backend 선택 기능 추가auto모드에서 호스트 libvirt 연결 실패 시nova_libvirt컨테이너로 자동 전환exists=false로 오인하지 않고 명시적으로 실패 처리git diff --check검증📝 추가 설명(선택)
기본값은
kvm_libvirt_backend: auto이며 호스트virsh uri연결을 우선 확인합니다. 연결할 수 없으면 기본docker exec nova_libvirt virsh ...경로로 전환합니다. 환경에 따라kvm_libvirt_container_runtime과kvm_libvirt_container_name을 변경할 수 있습니다.기존
virsh net-info의 모든 오류를 무시하던 흐름을virsh net-list --all --name기반 조회로 변경하여, network 부재와 backend/권한/연결 오류를 구분합니다.로컬 환경에
ansible-playbook실행 파일이 없어 실제 Kolla 및 Ansible syntax 실행은 수행하지 못했습니다.📚 참고 자료(선택)