Repository navigation
feat: Disks 화면 Create Data Disk 에 Zone 선택 추가 - #317
Merged
Merged
Conversation
Create Data Disk 요청에 zone 이 없어, connection 에 기본 zone 이 없는 Azure 는
zone 없는(regional) disk 로 생성되고 zone 이 정해진 node 에 attach 되지 않았다
("Disk ... cannot be attached to the VM because it is not in zone '1'").
- Create Data Disk 모달에 Zone select 추가: 선택한 connection 의
regionDetail.zones 로 목록을 채우고 regionZoneInfo.assignedZone 을 기본 선택
- zone 은 있는데 connection 기본 zone 이 없으면(Azure) Zone 필수, 비우면 요청하지 않음
- 그 외에는 비워 두면 zone 필드 없이 기존과 동일하게 요청
- Disk 목록·상세에 Zone 표시
- Attach 팝업에서 node zone 표시, disk zone 과 다르거나 disk 에 zone 이 없으면 안내
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.
변경 요약
Cloud Resources > Disks 의 Create Data Disk 에 Zone 선택을 추가합니다. 지금은 요청에
zone이 없어서, connection 에 기본 zone 이 없는 Azure(azure-koreacentral등regionZoneInfo.assignedZone="")는 zone 없는(regional) disk 로 만들어집니다. tumblebug 이 만든 node 는 zone 이 정해져 있어(예: Zone 1) 이 disk 를 attach 하면 Azure 가 거부합니다(Disk ... cannot be attached to the VM because it is not in zone '1', PutNodeDataDisk 400). cb-tumblebugPostDataDisk(model.DataDiskReq)는zone필드를 받습니다.regionDetail.zones로 목록을 채우고,regionZoneInfo.assignedZone을 기본 선택((connection default)표시)Please select a zone. This connection has no default zone.경고 후 요청하지 않음zone필드 없이 기존과 동일하게 요청Zone컬럼/항목 추가(DataDiskInfo.zone)... The attach will fail. Select a node in the same zone., disk 에 zone 이 없으면This disk has no zone. Some CSPs (e.g. Azure) cannot attach it ...안내변경 파일:
front/assets/js/pages/settings/environment/cloudresources/disks.js,front/templates/pages/settings/environment/cloudresources/disks.html참고: connection 과 zone (stage connection 217개 확인)
assignedZone)regionDetail.zones)1, 2, 3azure-koreasouth)테스트 결과
gate.sh
Playwright 실브라우저 ( cb-tumblebug 0.13.6) — 7/7 PASS
1, zone 없는 disk =-)Select), zone 없는 Azure 리전·AWS 는 필수 아님, AWS 기본ap-northeast-2a선택zone없이 요청 (route mock)zone: "1", tumblebug 에zone="1"저장not in zone '1'로 실패)Azure(zone 있는 리전)에서 Disks 화면으로 disk 를 만들 때 Zone 선택이 필수가 됩니다. 다른 CSP 는 요청 내용이 바뀌지 않습니다.