RPM 설치 시 구버전 관리 JAR 정리 및 스키마 정합성 검증 - #882
Open
dhslove wants to merge 2 commits into
Open
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.
변경 개요
Europa 관리 서버 RPM 설치 시 RPM이 소유하지 않는 구버전 CloudStack JAR을 격리하고, 최신 패키지의 스키마 리소스만 사용한 상태에서 Mold 서비스를 시작하도록 개선합니다.
문제 원인
/usr/share/cloudstack-management/lib에 수동 배포 후 남은 구버전cloud-engine-schemaJAR이 존재했습니다.shared_filesystem_view.network_mode등의 컬럼이 DB에 반영되지 않아 공유 파일시스템 조회가 실패했습니다.주요 변경
cloudstack-management-cleanup-jars를 추가해 RPM 비소유 1차 CloudStack JAR만 안전한 격리 디렉터리로 이동합니다.%posttrans에서 정리 작업을 Mold 재시작보다 먼저 수행합니다.cloud-engine-schemaJAR이 포함되지 않았는지 확인사용자 영향
shared_filesystem_view.network_mode컬럼 오류가 발생하지 않습니다.검증
git diff --check통과mold.service: active/enabled/client/: HTTP 200listSharedFileSystems: 정상 응답