Skip to content

vm create wizard: block volume added in Storage step is silently dropped, not created #54

Closed

Description

@nghia-su
  • Steps to reproduce: verda vm create → interactive wizard → Spot/CPU/etc → at Storage step choose "Add new block volume", set name/size → when prompted again, choose "None (skip)" → confirm deploy.
  • Expected: the block volume should be created and attached, appear in the deployment summary and in verda volume list.
  • Actual: volume is missing from the summary, from the VM's storage list, and from verda volume list
verda --version
Version:      1.7.2
Platform:     darwin/arm64
SDK:          v1.4.2
Verdagostack: v1.4.2

$ verda vm create

▌▌▌░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   8%

  ↑/↓ navigate · type to filter · enter select · esc back
? Billing type Spot Instance


▌▌▌▌▌▌▌▌░░░░░░░░░░░░░░░░░░░░░░░░░░░  23%

  ↑/↓ navigate · type to filter · enter select · esc back
? Compute type CPU

✓ Loading instance types...

▌▌▌▌▌▌▌▌▌▌▌░░░░░░░░░░░░░░░░░░░░░░░░  31%

  ↑/↓ navigate · type to filter · enter select · esc back
? Instance type CPU.4V.16G — 4 cores, 16GB RAM  $0.002/vCPU/hr  $0.010/hr


▌▌▌▌▌▌▌▌▌▌▌▌▌░░░░░░░░░░░░░░░░░░░░░░  38%

  ↑/↓ navigate · type to filter · enter select · esc back
? Datacenter location FIN-01 (Finland 1)

✓ Loading OS images...

▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌░░░░░░░░░░░░░░░░░░░  46%

  ↑/↓ navigate · type to filter · enter select · esc back
? Operating system image Ubuntu 24.04


▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌░░░░░░░░░░░░░░░░  54%

  enter submit · esc cancel
? OS volume size (GiB) 50

? Storage + Add new block volume
? Volume name blockV
? Size in GiB 50
? Storage None (skip)
✓ Loading SSH keys...
? SSH keys to inject [redacted]
✓ Loading startup scripts...
? Startup script (optional) None (skip)

▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌░░░░░  85%

  enter submit · esc cancel
? Hostname shortly-primary-lemur-fin-01


▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌░░░  92%

  enter submit · esc cancel
? Description ubuntu-24-04-CPU-4V-16G


▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌ 100%


  Deployment Summary
  Spot Instance
  ──────────────────────────────────────────────────

  Instance
    CPU.4V.16G — 4 CPU, 16GB RAM             $0.0024/vCPU/hr  $0.0098/hr
    FIN-01

  Operating System
    ubuntu-24.04  50GB NVMe                  ($0.20/GB/mo)  $0.0137/hr

  SSH Keys  1 key(s)

  ──────────────────────────────────────────────────
  Compute total                            $0.0098/hr
  Storage total                            $0.0137/hr
  Total                                     $0.0235/hr
  ──────────────────────────────────────────────────

  y/n · enter confirm
? Deploy now? Yes

✓ Creating VM instance...

shortly-primary-lemur-fin-01  CPU.4V.16G  ● running

  Instance ID      a32a5908-3a72-4383-92f6-fac57fea835a
  Location         FIN-01
  Instance Type    CPU.4V.16G
  Image            ubuntu-24.04 (shortly-primary-lemur-fin-01-os)
  Contract         SPOT
  Price            $0.009/hr
  Compute          4 CPU, 16GB RAM
  IP Address       135.181.63.231

  Storage
    Name:      shortly-primary-lemur-fin-01-os
    ID:        230c21d0-8324-4bef-b057-4ef6d7d010fa
    Status:    attached (OS)
    Size:      50GB
    Type:      NVMe
    Location:  FIN-01

  ssh root@135.181.63.231

Activity

  1. hi-lei commented on Aug 9, 2026

    @hi-lei
    Collaborator

    Thanks for the detailed report — the reproduction steps made this easy to pin down.

    Confirmed: it's a real bug in the storage step of the vm create wizard. Queued volumes are held in local step state and only flushed when you pick Done, but the menu kept showing None (skip) at row 0 after you added a volume (right where the cursor rests) — hitting it silently discarded the queued volume instead of keeping it. Nothing was created, which is why the summary and verda volume list came up empty.

    Fix is up in #56: None (skip) is now only offered on the fresh storage menu; once volumes are queued the choices are add-more/Done, and Esc still backs out. Regression tests included.

    Thanks again for taking the time to write it up!

  2. added 2 commits that reference this issue on Aug 9, 2026
    3a3d4d2
    98c3c45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions