Skip to content

Commit c16e309

Browse files
merge main into multicast-e2e
2 parents a0eecb4 + ce163c3 commit c16e309

224 files changed

Lines changed: 5878 additions & 1880 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

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

Cargo.toml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ members = [
7676
"ipcc",
7777
"key-manager",
7878
"key-manager/types",
79+
"ledger",
7980
"live-tests",
8081
"live-tests/macros",
8182
"nexus",
@@ -253,6 +254,7 @@ default-members = [
253254
"ipcc",
254255
"key-manager",
255256
"key-manager/types",
257+
"ledger",
256258
"live-tests",
257259
"live-tests/macros",
258260
"nexus",
@@ -471,8 +473,8 @@ derive-where = "1.5.0"
471473
dev-tools-common = { path = "dev-tools/common" }
472474
dice-verifier = { git = "https://github.com/oxidecomputer/dice-util", branch = "main", default-features = false }
473475
# Having the i-implement-... feature here makes diesel go away from the workspace-hack
474-
diesel = { version = "2.2.12", features = ["i-implement-a-third-party-backend-and-opt-into-breaking-changes", "postgres", "r2d2", "chrono", "serde_json", "network-address", "uuid"] }
475-
diesel-dtrace = "0.4.2"
476+
diesel = { version = "2.3.7", features = ["i-implement-a-third-party-backend-and-opt-into-breaking-changes", "postgres", "r2d2", "chrono", "serde_json", "network-address", "uuid"] }
477+
diesel-dtrace = "0.5.0"
476478
digest = "0.10.7"
477479
dns-server = { path = "dns-server" }
478480
dns-server-api = { path = "dns-server-api" }
@@ -584,8 +586,8 @@ ntp-admin-api = { path = "ntp-admin/api" }
584586
ntp-admin-client = { path = "clients/ntp-admin-client" }
585587
ntp-admin-types = { path = "ntp-admin/types" }
586588
ntp-admin-types-versions = { path = "ntp-admin/types/versions" }
587-
mg-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "8f5527da3c53398c95c50b1af088637e7b6c5718" }
588-
ddm-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "8f5527da3c53398c95c50b1af088637e7b6c5718" }
589+
mg-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "b603c9f3dccefcf1d3e941c04505ff6bdd1826b6" }
590+
ddm-admin-client = { git = "https://github.com/oxidecomputer/maghemite", rev = "b603c9f3dccefcf1d3e941c04505ff6bdd1826b6" }
589591
multimap = "0.10.1"
590592
nexus-auth = { path = "nexus/auth" }
591593
nexus-background-task-interface = { path = "nexus/background-task-interface" }
@@ -619,7 +621,7 @@ nexus-test-utils-macros = { path = "nexus/test-utils-macros" }
619621
nexus-test-utils = { path = "nexus/test-utils" }
620622
nexus-types = { path = "nexus/types" }
621623
nexus-types-versions = { path = "nexus/types/versions" }
622-
nix = { version = "0.30", features = ["fs", "net"] }
624+
nix = { version = "0.31", features = ["fs", "net"] }
623625
nom = "7.1.3"
624626
nonempty = "0.12.0"
625627
num-integer = "0.1.46"
@@ -630,6 +632,7 @@ omicron-cockroach-admin = { path = "cockroach-admin" }
630632
omicron-cockroach-metrics = { path = "cockroach-metrics" }
631633
omicron-common = { path = "common" }
632634
omicron-dev-lib = { path = "dev-tools/omicron-dev-lib" }
635+
omicron-ledger = { path = "ledger" }
633636
omicron-gateway = { path = "gateway" }
634637
omicron-nexus = { path = "nexus" }
635638
omicron-ntp-admin = { path = "ntp-admin" }
@@ -718,7 +721,7 @@ rats-corim = { git = "https://github.com/oxidecomputer/rats-corim.git", rev = "f
718721
raw-cpuid = { git = "https://github.com/oxidecomputer/rust-cpuid.git", rev = "a4cf01df76f35430ff5d39dc2fe470bcb953503b" }
719722
rayon = "1.10"
720723
rcgen = "0.12.1"
721-
rdb-types = { git = "https://github.com/oxidecomputer/maghemite", rev = "8f5527da3c53398c95c50b1af088637e7b6c5718" }
724+
rdb-types = { git = "https://github.com/oxidecomputer/maghemite", rev = "b603c9f3dccefcf1d3e941c04505ff6bdd1826b6" }
722725
reconfigurator-cli = { path = "dev-tools/reconfigurator-cli" }
723726
reedline = "0.40.0"
724727
ref-cast = "1.0"

bootstore/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ciborium.workspace = true
1616
derive_more.workspace = true
1717
hex.workspace = true
1818
hkdf.workspace = true
19-
omicron-common.workspace = true
19+
omicron-ledger.workspace = true
2020
omicron-workspace-hack.workspace = true
2121
# vsss-rs requires rand 0.8
2222
rand08 = { workspace = true, features = ["getrandom"] }

bootstore/src/schemes/v0/peer.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,6 @@ pub enum NodeRequestError {
6363
},
6464
}
6565

66-
impl From<NodeRequestError> for omicron_common::api::external::Error {
67-
fn from(error: NodeRequestError) -> Self {
68-
omicron_common::api::external::Error::internal_error(
69-
&InlineErrorChain::new(&error).to_string(),
70-
)
71-
}
72-
}
73-
7466
/// A request sent to the `Node` task from the `NodeHandle`
7567
pub enum NodeApiRequest {
7668
/// Initialize a rack at the behest of RSS running on the same scrimlet as

bootstore/src/schemes/v0/storage.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//! Storage for the v0 bootstore scheme
66
//!
77
//! We write two pieces of data to M.2 devices in production via
8-
//! [`omicron_common::ledger::Ledger`]:
8+
//! [`omicron_ledger::Ledger`]:
99
//!
1010
//! 1. [`super::State`] for bootstore state itself
1111
//! 2. A network config blob required for pre-rack-unlock configuration
@@ -15,7 +15,7 @@ use crate::schemes::v0::SharePkgCommon;
1515

1616
use super::{Fsm, FsmConfig, State};
1717
use camino::Utf8PathBuf;
18-
use omicron_common::ledger::{Ledger, Ledgerable};
18+
use omicron_ledger::{Ledger, Ledgerable};
1919
use serde::{Deserialize, Serialize};
2020
use sled_hardware_types::Baseboard;
2121
use slog::{Logger, info, warn};

clients/ddm-admin-client/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ either.workspace = true
1212
oxnet.workspace = true
1313
progenitor-client.workspace = true
1414
reqwest = { workspace = true, features = ["json", "stream", "rustls"] }
15-
reqwest012 = { workspace = true }
1615
serde.workspace = true
1716
slog.workspace = true
1817
thiserror.workspace = true

0 commit comments

Comments
 (0)