omdb show region info for snapshots subvolume

Open
#7,161 0 comments 0 reactions 2 assignees View on GitHub

@jmpesp is already working on this.

Since Nov 25, 2024.

Assessment

This issue has not been assessed yet.

Description

We need a way to show the regions for a snapshot like we do the regions for a disk.

Consider:
``
EVT22200005 # omdb db disks info 79a9ca06-6f4b-4653-baff-a5f077183719 2> /dev/null
HOST_SERIAL DISK_NAME INSTANCE_NAME PROPOLIS_ZONE VOLUME_ID DISK_STATE

  •       threedisk -             -             6367efe8-6917-4ba1-a7db-c474e5bc1dbf detached   
    

HOST_SERIAL REGION ZONE PHYSICAL_DISK
unknown c1149891-3e95-4ca0-a306-551ee8e6bfb8 oxz_crucible_65e9e790-1bf4-499a-bb3c-7c3901cbd6b3 50b31bd9-59c9-4d3a-9d84-72cee7e67e5c
unknown aedbccdf-7b6f-4917-9118-aceffac7e884 oxz_crucible_81d509ff-20ad-4750-ad6c-e9376cc889ae 6ccf81dc-f311-4e85-af78-95235d4fcd8c
unknown 50830328-92f8-499e-bc0d-2704f1d38e78 oxz_crucible_bebec0c8-c4e3-4bb3-8611-fd14dc37a51d 2ba8f38c-3af2-47a6-882b-013872773a8f

VCR from volume ID 6367efe8-6917-4ba1-a7db-c474e5bc1dbf
ID BS SUB_VOLUMES READ_ONLY_PARENT
79a9ca06-6f4b-4653-baff-a5f077183719 512 1 true

SUB VOLUME 0
ID BS BPE EC GEN READ_ONLY
79a9ca06-6f4b-4653-baff-a5f077183719 512 131072 320 3 false
[fd00:1122:3344:101::13]:19011
[fd00:1122:3344:101::17]:19008
[fd00:1122:3344:101::18]:19006

READ ONLY PARENT:
... elided for space ...


knowing the HOST_SERIAL, REGION, ZONE, and PHYSICAL_DISK that make up disk is useful.  The same is true for a snapshot, and specifically we want the source info.  We do currently print the destination info.
Dominant language
Rust
Stars
572
Forks
97
Avg merge
2d 12h
Merged PRs (30d)
96

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from oxidecomputer/omicron

All issues in oxidecomputer/omicron

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.