Skip to content

Commit 068bf5d

Browse files
authored
Capture SP task dumps in support bundles (#8177)
Update the support bundle collector to capture task dumps from the SPs.
1 parent 3ddcae2 commit 068bf5d

File tree

5 files changed

+182
-19
lines changed

5 files changed

+182
-19
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2355,6 +2355,7 @@ fn print_task_support_bundle_collector(details: &serde_json::Value) {
23552355
if let Some(SupportBundleCollectionReport {
23562356
bundle,
23572357
listed_in_service_sleds,
2358+
listed_sps,
23582359
activated_in_db_ok,
23592360
}) = collection_report
23602361
{
@@ -2363,6 +2364,9 @@ fn print_task_support_bundle_collector(details: &serde_json::Value) {
23632364
println!(
23642365
" Bundle was able to list in-service sleds: {listed_in_service_sleds}"
23652366
);
2367+
println!(
2368+
" Bundle was able to list service processors: {listed_sps}"
2369+
);
23662370
println!(
23672371
" Bundle was activated in the database: {activated_in_db_ok}"
23682372
);

nexus/src/app/background/init.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ impl BackgroundTasksInitializer {
505505
task_impl: Box::new(
506506
support_bundle_collector::SupportBundleCollector::new(
507507
datastore.clone(),
508+
resolver.clone(),
508509
config.support_bundle_collector.disable,
509510
nexus_id,
510511
),

0 commit comments

Comments
 (0)