Skip to content

Commit fb43a14

Browse files
committed
Pull in updated Propolis with new VM timeseries, and expunge the old
- Pulls in oxidecomputer/propolis#724, which added sled-identifiers to the virtual machine timeseries. One part of #5267. - Updates requried Crucible dependency. - Expunge previous schema and data for the virtual machine timeseries, as the new schema is incompatible.
1 parent afbbddd commit fb43a14

12 files changed

+125
-89
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ cookie = "0.18"
289289
criterion = { version = "0.5.1", features = [ "async_tokio" ] }
290290
crossbeam = "0.8"
291291
crossterm = { version = "0.27.0", features = ["event-stream"] }
292-
crucible-agent-client = { git = "https://github.com/oxidecomputer/crucible", rev = "e10f8793f8414fdb9a165219f17e45fa014d088b" }
293-
crucible-pantry-client = { git = "https://github.com/oxidecomputer/crucible", rev = "e10f8793f8414fdb9a165219f17e45fa014d088b" }
294-
crucible-smf = { git = "https://github.com/oxidecomputer/crucible", rev = "e10f8793f8414fdb9a165219f17e45fa014d088b" }
292+
crucible-agent-client = { git = "https://github.com/oxidecomputer/crucible", rev = "e58ca3693cb9ce0438947beba10e97ee38a0966b" }
293+
crucible-pantry-client = { git = "https://github.com/oxidecomputer/crucible", rev = "e58ca3693cb9ce0438947beba10e97ee38a0966b" }
294+
crucible-smf = { git = "https://github.com/oxidecomputer/crucible", rev = "e58ca3693cb9ce0438947beba10e97ee38a0966b" }
295295
csv = "1.3.0"
296296
curve25519-dalek = "4"
297297
datatest-stable = "0.2.9"
@@ -445,9 +445,9 @@ prettyplease = { version = "0.2.20", features = ["verbatim"] }
445445
proc-macro2 = "1.0"
446446
progenitor = { git = "https://github.com/oxidecomputer/progenitor", branch = "main" }
447447
progenitor-client = { git = "https://github.com/oxidecomputer/progenitor", branch = "main" }
448-
bhyve_api = { git = "https://github.com/oxidecomputer/propolis", rev = "66d1ee7d4a5829dbbf02a152091ea051023b5b8b" }
449-
propolis-client = { git = "https://github.com/oxidecomputer/propolis", rev = "66d1ee7d4a5829dbbf02a152091ea051023b5b8b" }
450-
propolis-mock-server = { git = "https://github.com/oxidecomputer/propolis", rev = "66d1ee7d4a5829dbbf02a152091ea051023b5b8b" }
448+
bhyve_api = { git = "https://github.com/oxidecomputer/propolis", rev = "24a74d0c76b6a63961ecef76acb1516b6e66c5c9" }
449+
propolis-client = { git = "https://github.com/oxidecomputer/propolis", rev = "24a74d0c76b6a63961ecef76acb1516b6e66c5c9" }
450+
propolis-mock-server = { git = "https://github.com/oxidecomputer/propolis", rev = "24a74d0c76b6a63961ecef76acb1516b6e66c5c9" }
451451
proptest = "1.4.0"
452452
quote = "1.0"
453453
rand = "0.8.5"

docs/how-to-run.adoc

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -520,13 +520,11 @@ In this example we'll update the recovery silo so we can provision instances dir
520520

521521
[source, console]
522522
----
523-
$ oxide api /v1/system/silos/recovery/quotas --method PUT --input - <<EOF
524-
{
525-
"cpus": 9999999999,
526-
"memory": 999999999999999999,
527-
"storage": 999999999999999999
528-
}
529-
EOF
523+
$ oxide silo quotas update \
524+
--silo fa12b74d-30f8-4d5a-bc0e-4d229f13c6e5 \
525+
--cpus 9999999999 \
526+
--memory 999999999999999999 \
527+
--storage 999999999999999999
530528
531529
# example response
532530
{
@@ -544,12 +542,7 @@ An IP pool is needed to provide external connectivity to Instances. The address
544542
Here we will first create an ip pool for the recovery silo:
545543
[source,console]
546544
----
547-
$ oxide api /v1/system/ip-pools --method POST --input - <<EOF
548-
{
549-
"name": "default",
550-
"description": "default ip-pool"
551-
}
552-
EOF
545+
$ oxide ip-pool create --name "default" --description "default ip-pool"
553546
554547
# example response
555548
{
@@ -561,15 +554,10 @@ EOF
561554
}
562555
----
563556

564-
Now we will associate the pool with the recovery silo.
557+
Now we will associate (link) the pool with the recovery silo.
565558
[source,console]
566559
----
567-
$ oxide api /v1/system/ip-pools/default/silos --method POST --input - <<EOF
568-
{
569-
"silo": "recovery",
570-
"is_default": true
571-
}
572-
EOF
560+
$ oxide ip-pool silo link --pool default --is-default true --silo recovery
573561
574562
# example response
575563
{
@@ -583,12 +571,7 @@ Now we will add an address range to the recovery silo:
583571

584572
[source,console]
585573
----
586-
oxide api /v1/system/ip-pools/default/ranges/add --method POST --input - <<EOF
587-
{
588-
"first": "$IP_POOL_START",
589-
"last": "$IP_POOL_END"
590-
}
591-
EOF
574+
oxide ip-pool range add --pool default --first $IP_POOL_START --last $IP_POOL_END
592575
593576
# example response
594577
{
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
bfd_session:message_recieve_error
2+
instance_uuid:pv_panic_guest_handled
3+
instance_uuid:pv_panic_host_handled
4+
instance_uuid:reset
5+
virtual_machine:pv_panic_guest_handled
6+
virtual_machine:pv_panic_host_handled
7+
virtual_machine:reset
8+
virtual_machine:vcpu_usage
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
bfd_session:message_recieve_error
2+
instance_uuid:pv_panic_guest_handled
3+
instance_uuid:pv_panic_host_handled
4+
instance_uuid:reset
5+
virtual_machine:pv_panic_guest_handled
6+
virtual_machine:pv_panic_host_handled
7+
virtual_machine:reset
8+
virtual_machine:vcpu_usage

package-manifest.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -503,10 +503,10 @@ only_for_targets.image = "standard"
503503
# 3. Use source.type = "manual" instead of "prebuilt"
504504
source.type = "prebuilt"
505505
source.repo = "crucible"
506-
source.commit = "e10f8793f8414fdb9a165219f17e45fa014d088b"
506+
source.commit = "e58ca3693cb9ce0438947beba10e97ee38a0966b"
507507
# The SHA256 digest is automatically posted to:
508508
# https://buildomat.eng.oxide.computer/public/file/oxidecomputer/crucible/image/<commit>/crucible.sha256.txt
509-
source.sha256 = "e3f7ace2da974da6379485c6871ffc88ce7430c9ff519d5ac9dc04c55ce9f189"
509+
source.sha256 = "18dc942935af51ea03161498c44b56bb85b4a5d2499a5ff19ba87c0284e34742"
510510
output.type = "zone"
511511
output.intermediate_only = true
512512

@@ -515,10 +515,10 @@ service_name = "crucible_pantry_prebuilt"
515515
only_for_targets.image = "standard"
516516
source.type = "prebuilt"
517517
source.repo = "crucible"
518-
source.commit = "e10f8793f8414fdb9a165219f17e45fa014d088b"
518+
source.commit = "e58ca3693cb9ce0438947beba10e97ee38a0966b"
519519
# The SHA256 digest is automatically posted to:
520520
# https://buildomat.eng.oxide.computer/public/file/oxidecomputer/crucible/image/<commit>/crucible-pantry.sha256.txt
521-
source.sha256 = "a5505a51871e910735f449acb6887610a08244773e19d474f66cb00e533842d0"
521+
source.sha256 = "9067426bb77ce091116a034a19abb96ecd98cc8ac228a147bd3c3283e40d527d"
522522
output.type = "zone"
523523
output.intermediate_only = true
524524

@@ -532,7 +532,7 @@ service_name = "crucible_dtrace"
532532
only_for_targets.image = "standard"
533533
source.type = "prebuilt"
534534
source.repo = "crucible"
535-
source.commit = "e10f8793f8414fdb9a165219f17e45fa014d088b"
535+
source.commit = "e58ca3693cb9ce0438947beba10e97ee38a0966b"
536536
# The SHA256 digest is automatically posted to:
537537
# https://buildomat.eng.oxide.computer/public/file/oxidecomputer/crucible/image/<commit>/crucible-dtrace.sha256.txt
538538
source.sha256 = "29e79e0df79fc46b244745fac807b0e1817954c0a17b1923d725f257d31010e9"
@@ -546,10 +546,10 @@ service_name = "propolis-server"
546546
only_for_targets.image = "standard"
547547
source.type = "prebuilt"
548548
source.repo = "propolis"
549-
source.commit = "66d1ee7d4a5829dbbf02a152091ea051023b5b8b"
549+
source.commit = "24a74d0c76b6a63961ecef76acb1516b6e66c5c9"
550550
# The SHA256 digest is automatically posted to:
551551
# https://buildomat.eng.oxide.computer/public/file/oxidecomputer/propolis/image/<commit>/propolis-server.sha256.txt
552-
source.sha256 = "168d4f061245bae749926104a77d087d144ee4aea8cc6d2a49284ee26ad5ffe9"
552+
source.sha256 = "e716c1fa5c4ee402f8e3a63f667bbcda744f378305f91ff333bebafe5c20d60b"
553553
output.type = "zone"
554554

555555
[package.mg-ddm-gz]

sled-agent/src/http_entrypoints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ async fn inventory(
10231023
async fn sled_identifiers(
10241024
request_context: RequestContext<SledAgent>,
10251025
) -> Result<HttpResponseOk<SledIdentifiers>, HttpError> {
1026-
Ok(HttpResponseOk(request_context.context().sled_identifiers().await))
1026+
Ok(HttpResponseOk(request_context.context().sled_identifiers()))
10271027
}
10281028

10291029
/// Get the internal state of the local bootstore node

0 commit comments

Comments
 (0)