Skip to content

[Nexthop] Fixup Distro Image service dependencies#999

Open
travisb-nexthop wants to merge 1 commit intofacebook:mainfrom
nexthop-ai:distro_image_service_deps
Open

[Nexthop] Fixup Distro Image service dependencies#999
travisb-nexthop wants to merge 1 commit intofacebook:mainfrom
nexthop-ai:distro_image_service_deps

Conversation

@travisb-nexthop
Copy link
Contributor

Pre-submission checklist

  • I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run

Summary

Avoid service startup succeeding through retries.

fboss_init uses weutil to produce fruid.json. weutil first requires that platform_manager is up so it can access the EEPROMs via the devmap.

Thus here we fix the dependency order and make platform_manager a hard dependency of fboss_init.

qsfp_service gets a similar treatment with fboss_init so it had fruid.json available at the first start.

Test Plan

See that the services start up reliably when booting Distro Image. Without this change, the FBOSS services and agents would occasionally fail to load when the retry timing did not line up.

Avoid succeeding through retries.

fboss_init uses weutil to produce fruid.json. weutil first requires
that platform_manager is up so it can access the EEPROMs via the
devmap.

Thus here we fix the dependency order and make platform_manager a hard
dependency of fboss_init.

qsfp_service gets a similar treatment with fboss_init so it had
fruid.json available at the first start.
@meta-cla meta-cla bot added the CLA Signed label Mar 12, 2026
@travisb-nexthop travisb-nexthop marked this pull request as ready for review March 12, 2026 21:00
@travisb-nexthop travisb-nexthop requested a review from a team as a code owner March 12, 2026 21:00
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Mar 16, 2026

@kevin645 has imported this pull request. If you are a Meta employee, you can view this in D96803155.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants