Skip to content

Commit a951a2b

Browse files
committed
Merge branch 'main' into do-more-mounting
2 parents a3d8313 + 0dad016 commit a951a2b

File tree

25 files changed

+686
-121
lines changed

25 files changed

+686
-121
lines changed

.github/buildomat/jobs/build-and-test-helios.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#: "!/var/tmp/omicron_tmp/rustc*",
1313
#: ]
1414
#: access_repos = [
15-
#: "oxidecomputer/dendrite",
15+
#: "oxidecomputer/dendrite"
1616
#: ]
1717
#:
1818
#: [[publish]]

Cargo.lock

Lines changed: 18 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,8 @@ macaddr = { version = "1.0.1", features = ["serde_std"] }
474474
maplit = "1.0.2"
475475
mockall = "0.13"
476476
newtype_derive = "0.1.6"
477-
mg-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "caafd889f31faacfaa51e02902990c220c20ef60" }
478-
ddm-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "caafd889f31faacfaa51e02902990c220c20ef60" }
477+
mg-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "5a0d6edd0ecc7f26225a5bf3849d8508956682d0" }
478+
ddm-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "5a0d6edd0ecc7f26225a5bf3849d8508956682d0" }
479479
multimap = "0.10.0"
480480
nexus-auth = { path = "nexus/auth" }
481481
nexus-client = { path = "clients/nexus-client" }

dev-tools/omdb/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ serde_json.workspace = true
5252
sled-agent-client.workspace = true
5353
slog.workspace = true
5454
slog-error-chain.workspace = true
55+
steno.workspace = true
5556
strum.workspace = true
5657
supports-color.workspace = true
5758
tabled.workspace = true
@@ -67,6 +68,7 @@ multimap.workspace = true
6768
indicatif.workspace = true
6869
petgraph.workspace = true
6970
oxnet.workspace = true
71+
owo-colors.workspace = true
7072

7173
[dev-dependencies]
7274
camino-tempfile.workspace = true

dev-tools/omdb/src/bin/omdb/db.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ use strum::IntoEnumIterator;
159159
use tabled::Tabled;
160160
use uuid::Uuid;
161161

162+
mod saga;
163+
162164
const NO_ACTIVE_PROPOLIS_MSG: &str = "<no active Propolis>";
163165
const NOT_ON_SLED_MSG: &str = "<not on any sled>";
164166

@@ -343,6 +345,8 @@ enum DbCommands {
343345
/// Query for information about region snapshot replacements, optionally
344346
/// manually triggering one.
345347
RegionSnapshotReplacement(RegionSnapshotReplacementArgs),
348+
/// Commands for querying and interacting with sagas
349+
Saga(saga::SagaArgs),
346350
/// Print information about sleds
347351
Sleds(SledsArgs),
348352
/// Print information about customer instances.
@@ -1064,6 +1068,9 @@ impl DbArgs {
10641068
)
10651069
.await
10661070
}
1071+
DbCommands::Saga(args) => {
1072+
args.exec(&omdb, &opctx, &datastore).await
1073+
}
10671074
DbCommands::Sleds(args) => {
10681075
cmd_db_sleds(&opctx, &datastore, &fetch_opts, args).await
10691076
}

0 commit comments

Comments
 (0)