Skip to content

feat: Add zone selection to Create Data Disk - #112

Merged
MZC-CSC merged 4 commits into
m-cmp:mainfrom
MZC-CSC:develop
Oct 21, 2026
Merged

MZC-CSC merged 4 commits into
m-cmp:mainfrom
MZC-CSC:develop

Conversation

@MZC-CSC

@MZC-CSC MZC-CSC commented Oct 21, 2026

Copy link
Copy Markdown
Member

What's Changed

Create Data Disk (Cloud Resources > Disks) did not send a zone. When the connection has no default zone (all Azure connections: regionZoneInfo.assignedZone is empty), the disk was created without a zone. Nodes created by mc-infra-manager are placed in a zone, so attaching that disk to a node failed (Disk ... cannot be attached to the VM because it is not in zone '1').

  • Create Data Disk now has a Zone field
    • The list comes from the selected connection's regionDetail.zones. The connection's regionZoneInfo.assignedZone is selected by default and marked (connection default)
    • If the region has zones but the connection has no default zone (Azure), Zone is required. Create shows Please select a zone. This connection has no default zone. and sends no request
    • In all other cases, leaving Zone empty sends the request without zone, same as before
  • The Disk list and detail panel show the disk zone (DataDiskInfo.zone)
  • In the Attach Data Disk dialog, each node option shows its zone. A warning appears when the disk zone differs from the node zone, or when the disk has no zone
Connection Default zone Zones Zone field
AWS, GCP, Alibaba, Tencent, IBM, NCP, NHN, KT set 1 or more default zone selected, can be changed
Azure regions with zones (e.g. azure-koreacentral) empty 1, 2, 3 required
Azure regions without zones (e.g. azure-koreasouth) empty none Not specified only

Only Azure regions with zones change behavior. For other connections, the request is the same unless the user picks a zone.

Related

  • Requires cb-tumblebug v0.13.3 or later (zone in model.DataDiskReq)

yh-noh and others added 4 commits October 16, 2026 15:37
…ct form ids

- nodeGroupSize/evaluationPeriod parseInt, operand parseFloat
- omit rootDiskSize when empty (tumblebug default 0 = CSP default)
- validate Operand / Root Disk Size before request
- read #policy_placementAlgo, #policy_command, #policy_username and send policy description
fix: Infra Scale Policy 생성 시 숫자 필드 타입 변환 및 폼 id 불일치 수정
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 이 없으면 안내
feat: Disks 화면 Create Data Disk 에 Zone 선택 추가
@MZC-CSC
MZC-CSC merged commit 2921697 into m-cmp:main Oct 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants