Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly depend on fb_sysfs in fb_storage #240

Closed
wants to merge 1 commit into from

Conversation

russtaylor
Copy link
Contributor

@russtaylor russtaylor commented Jul 29, 2024

I spun up a new class of GCE VM which uses NVMe-based storage, but fb_storage failed, complaining about being unable to find fb_sysfs. After digging into it a bit, I noticed that fb_storage doesn't explicitly depend on fb_sysfs, despite using it in several places, like when configuring nvme-based storage.

I verified that simply adding depends 'fb_sysfs' was enough to resolve the error.

I spun up a new class of GCE VM which uses NVMe-based storage, but fb_storage failed, complaining about being unable to find fb_sysfs. After digging into it a bit, I noticed that fb_storage doesn't explicitly depend on `fb_sysfs`, despite using it in several places, [like when configuring nvme-based storage](https://github.com/facebook/chef-cookbooks/blob/c64381a2e0195855703f59a001a64a589ae1ac73/cookbooks/fb_storage/resources/format_devices.rb#L169).

I verified that simply adding `depends_on fb_sysfs` was enough to resolve the error.
@jaymzh
Copy link
Collaborator

jaymzh commented Jul 29, 2024

LGTM - I'll wait for someone internal to pull it internally.

@facebook-github-bot
Copy link
Contributor

@dafyddcrosby has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 27a816a.

@russtaylor russtaylor deleted the explicitly-depend-on-fb_sysfs branch July 30, 2024 22:05
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.

3 participants