Skip to content

Commit

Permalink
Update propolis and crucible deps (#5794)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnaecker authored May 20, 2024
1 parent e30978a commit c2f51e2
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 29 deletions.
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ cookie = "0.18"
criterion = { version = "0.5.1", features = [ "async_tokio" ] }
crossbeam = "0.8"
crossterm = { version = "0.27.0", features = ["event-stream"] }
crucible-agent-client = { git = "https://github.com/oxidecomputer/crucible", rev = "62cc2cfe64ca09c6876be7633355026fa65c8545" }
crucible-pantry-client = { git = "https://github.com/oxidecomputer/crucible", rev = "62cc2cfe64ca09c6876be7633355026fa65c8545" }
crucible-smf = { git = "https://github.com/oxidecomputer/crucible", rev = "62cc2cfe64ca09c6876be7633355026fa65c8545" }
crucible-agent-client = { git = "https://github.com/oxidecomputer/crucible", rev = "8c6d485110ecfae5409575246b986a145c386dc4" }
crucible-pantry-client = { git = "https://github.com/oxidecomputer/crucible", rev = "8c6d485110ecfae5409575246b986a145c386dc4" }
crucible-smf = { git = "https://github.com/oxidecomputer/crucible", rev = "8c6d485110ecfae5409575246b986a145c386dc4" }
csv = "1.3.0"
curve25519-dalek = "4"
datatest-stable = "0.2.9"
Expand Down Expand Up @@ -381,9 +381,9 @@ prettyplease = { version = "0.2.20", features = ["verbatim"] }
proc-macro2 = "1.0"
progenitor = { git = "https://github.com/oxidecomputer/progenitor", branch = "main" }
progenitor-client = { git = "https://github.com/oxidecomputer/progenitor", branch = "main" }
bhyve_api = { git = "https://github.com/oxidecomputer/propolis", rev = "27e2789d381c0fcc237fbe30cec2ec66bd750c12" }
propolis-client = { git = "https://github.com/oxidecomputer/propolis", rev = "27e2789d381c0fcc237fbe30cec2ec66bd750c12" }
propolis-mock-server = { git = "https://github.com/oxidecomputer/propolis", rev = "27e2789d381c0fcc237fbe30cec2ec66bd750c12" }
bhyve_api = { git = "https://github.com/oxidecomputer/propolis", rev = "6d7ed9a033babc054db9eff5b59dee978d2b0d76" }
propolis-client = { git = "https://github.com/oxidecomputer/propolis", rev = "6d7ed9a033babc054db9eff5b59dee978d2b0d76" }
propolis-mock-server = { git = "https://github.com/oxidecomputer/propolis", rev = "6d7ed9a033babc054db9eff5b59dee978d2b0d76" }
proptest = "1.4.0"
quote = "1.0"
rand = "0.8.5"
Expand Down
8 changes: 6 additions & 2 deletions nexus/src/app/sagas/common_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,14 @@ pub(crate) async fn ensure_region_in_dataset(
) -> Result<crucible_agent_client::types::Region, Error> {
let url = format!("http://{}", dataset.address());
let client = CrucibleAgentClient::new(&url);

let Ok(extent_count) = u32::try_from(region.extent_count()) else {
return Err(Error::internal_error(
"Extent count out of range for a u32",
));
};
let region_request = CreateRegion {
block_size: region.block_size().to_bytes(),
extent_count: region.extent_count(),
extent_count,
extent_size: region.blocks_per_extent(),
// TODO: Can we avoid casting from UUID to string?
// NOTE: This'll require updating the crucible agent client.
Expand Down
2 changes: 1 addition & 1 deletion nexus/src/app/sagas/disk_create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ async fn sdc_regions_ensure(
sub_volumes: vec![VolumeConstructionRequest::Region {
block_size,
blocks_per_extent,
extent_count: extent_count.try_into().unwrap(),
extent_count,
gen: 1,
opts: CrucibleOpts {
id: disk_id,
Expand Down
2 changes: 1 addition & 1 deletion nexus/src/app/sagas/snapshot_create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ async fn ssc_regions_ensure(
sub_volumes: vec![VolumeConstructionRequest::Region {
block_size,
blocks_per_extent,
extent_count: extent_count.try_into().unwrap(),
extent_count,
gen: 1,
opts: CrucibleOpts {
id: destination_volume_id,
Expand Down
12 changes: 6 additions & 6 deletions package-manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -490,10 +490,10 @@ only_for_targets.image = "standard"
# 3. Use source.type = "manual" instead of "prebuilt"
source.type = "prebuilt"
source.repo = "crucible"
source.commit = "62cc2cfe64ca09c6876be7633355026fa65c8545"
source.commit = "8c6d485110ecfae5409575246b986a145c386dc4"
# The SHA256 digest is automatically posted to:
# https://buildomat.eng.oxide.computer/public/file/oxidecomputer/crucible/image/<commit>/crucible.sha256.txt
source.sha256 = "5b9e3ce16c8b3558e2ce20567165268088bd1b40a518636daf658eee28dd5843"
source.sha256 = "a974c976babbbbe4d126fe324e28093b4f69b689e1cf607ce38323befcfa494e"
output.type = "zone"
output.intermediate_only = true

Expand All @@ -502,10 +502,10 @@ service_name = "crucible_pantry_prebuilt"
only_for_targets.image = "standard"
source.type = "prebuilt"
source.repo = "crucible"
source.commit = "62cc2cfe64ca09c6876be7633355026fa65c8545"
source.commit = "8c6d485110ecfae5409575246b986a145c386dc4"
# The SHA256 digest is automatically posted to:
# https://buildomat.eng.oxide.computer/public/file/oxidecomputer/crucible/image/<commit>/crucible-pantry.sha256.txt
source.sha256 = "4aaff4a683d44f7c4d52a102a6c0592ff6135e5255f3a3317b1a38b962abd745"
source.sha256 = "34418c60ecccade796e604997a11b1fa7f01c364996fa4b57131466e910700a8"
output.type = "zone"
output.intermediate_only = true

Expand All @@ -517,10 +517,10 @@ service_name = "propolis-server"
only_for_targets.image = "standard"
source.type = "prebuilt"
source.repo = "propolis"
source.commit = "0b71410d3a12045d34fa1c6c1d9ba1d8dd652564"
source.commit = "6d7ed9a033babc054db9eff5b59dee978d2b0d76"
# The SHA256 digest is automatically posted to:
# https://buildomat.eng.oxide.computer/public/file/oxidecomputer/propolis/image/<commit>/propolis-server.sha256.txt
source.sha256 = "b6494d26886f196c2d1f70633c8745f278e2413357cf38d1e6f473a22191c802"
source.sha256 = "f8f41b47bc00811fefe2ba75e0f6f8ab77765776c04021e0b31f09c3b21108a9"
output.type = "zone"

[package.mg-ddm-gz]
Expand Down

0 comments on commit c2f51e2

Please sign in to comment.